From 337b21abf8586e5b27b23dc7d04ac90a908d5d19 Mon Sep 17 00:00:00 2001 From: Benedikt Hegner Date: Wed, 17 May 2023 23:06:07 +0200 Subject: [PATCH] pick up right collType for UserDataCollections --- k4FWCore/components/PodioLegacyOutput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); //}