Skip to content

Commit

Permalink
Make sure to set the collections
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Feb 5, 2025
1 parent 61cbb2e commit 618122f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k4MarlinWrapper/src/components/Lcio2EDM4hep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ bool Lcio2EDM4hepTool::collectionExist(const std::string& collection_name) {
collections = m_podioDataSvc->getEventFrame().getAvailableCollections();
} else {
std::optional<std::map<uint32_t, std::string>> dummy = std::nullopt;
getAvailableCollectionsFromStore(this, dummy, true);
collections = getAvailableCollectionsFromStore(this, dummy, true);
}
if (std::find(collections.begin(), collections.end(), collection_name) != collections.end()) {
debug() << "Collection named " << collection_name << " already registered, skipping conversion." << endmsg;
Expand Down

0 comments on commit 618122f

Please sign in to comment.