diff --git a/k4FWCore/components/PodioLegacyOutput.cpp b/k4FWCore/components/PodioLegacyOutput.cpp index ba57b14f..2db36a2e 100644 --- a/k4FWCore/components/PodioLegacyOutput.cpp +++ b/k4FWCore/components/PodioLegacyOutput.cpp @@ -122,7 +122,7 @@ void PodioLegacyOutput::createBranches(const std::vectorgetCollectionIDs()->collectionID(collName).value(); // No check necessary, only registered collections possible auto coll = collNamePair.second; - const auto collType = std::string(coll->getValueTypeName()) + "Collection"; + const auto collType = coll->getTypeName(); collectionInfo->emplace_back(collID, std::move(collType), coll->isSubsetCollection()); //}