Commit c7bb1c9 1 parent 5d15e02 commit c7bb1c9 Copy full SHA for c7bb1c9
File tree 1 file changed +1
-9
lines changed
k4FWCore/include/k4FWCore
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 11
11
12
12
#include < type_traits>
13
13
14
- namespace k4FWCore {
15
-
16
- static std::string metaDataHandleDescriptor (const std::string& collectionName, const std::string& key) {
17
- return collectionName + " __" + key;
18
- }
19
-
20
- } // namespace k4FWCore
21
-
22
14
template <typename T> class MetaDataHandle {
23
15
public:
24
16
MetaDataHandle ();
@@ -88,7 +80,7 @@ template <typename T> void MetaDataHandle<T>::put(T value) {
88
80
template <typename T> std::string MetaDataHandle<T>::fullDescriptor() {
89
81
std::string full_descriptor;
90
82
if (nullptr != m_dataHandle) {
91
- full_descriptor = k4FWCore::metaDataHandleDescriptor (m_dataHandle->objKey (), m_descriptor);
83
+ full_descriptor = podio::collMetadataParamName (m_dataHandle->objKey (), m_descriptor);
92
84
// remove the "/Event/" part of the collections' object key if in read mode
93
85
if (m_mode == Gaudi::DataHandle::Reader) {
94
86
full_descriptor.erase (0 , 7 );
You can’t perform that action at this time.
0 commit comments