|
39 | 39 | // store that can be found in Writer.cpp in k4FWCore with some modifications |
40 | 40 | // that are specific to the usage of this function in the converters, like |
41 | 41 | // returning also a map from collection ID to collection name |
42 | | -std::vector<std::string> getAvailableCollectionsFromStore(const AlgTool* thisClass, |
43 | | - std::optional<std::map<uint32_t, std::string>>& idToName, |
44 | | - bool returnFrameCollections) { |
| 42 | +std::vector<std::string> getAvailableCollectionsFromStore(const AlgTool* thisClass, bool returnFrameCollections) { |
45 | 43 | std::vector<std::string> collectionNames; |
46 | 44 |
|
47 | 45 | SmartIF<IDataManagerSvc> mgr; |
@@ -98,19 +96,6 @@ std::vector<std::string> getAvailableCollectionsFromStore(const AlgTool* thisCla |
98 | 96 | auto name = pReg->name().substr(1, pReg->name().size() - 1); |
99 | 97 | thisClass->verbose() << "Adding '" << name << "' as collection name obtained from TES" << endmsg; |
100 | 98 | collectionNames.push_back(name); |
101 | | - if (idToName) { |
102 | | - if (functionalWrapper) { |
103 | | - thisClass->verbose() << fmt::format("Retrieving id for '{}': {:0>8x}", name, |
104 | | - functionalWrapper->getData()->getID()) |
105 | | - << endmsg; |
106 | | - idToName->emplace(functionalWrapper->getData()->getID(), std::move(name)); |
107 | | - } else { |
108 | | - thisClass->verbose() << fmt::format("Retrieving id for '{}': {:0>8x}", name, |
109 | | - algorithmWrapper->collectionBase()->getID()) |
110 | | - << endmsg; |
111 | | - idToName->emplace(algorithmWrapper->collectionBase()->getID(), std::move(name)); |
112 | | - } |
113 | | - } |
114 | 99 | } |
115 | 100 | return collectionNames; |
116 | 101 | } |
|
0 commit comments