Skip to content

Incomplete metadata from `PodioOutput`

Calling

podio::EventStore::get<edm4hep::MCParticleCollection>("MCParticles");

using output of an algorithm where MCParticles is one of the collections that was just passed from input to output, fails with the claim that the collection MCParticles is not found. This same algorithm also produces a new collection DRICHPID, and the following call is successful:

podio::EventStore::get<eicd::CherenkovParticleIDCollection>("DRICHPID");

Despite these differences, both collections are in the store, according to podio::EventStore::getCollectionIDTable()->print();. The underlying issue is likely incomplete metadata, in particular the CollectionTypeInfo branch.