70 {
71 ATH_MSG_DEBUG(
"Copying \"" << key <<
"\" from InputMetaDataStore");
72
75 return StatusCode::SUCCESS;
76 }
77
78
81
82
83
84#ifdef XAOD_STANDALONE
88#else
91 if (!output) return StatusCode::FAILURE;
92#endif
93
96
97 const std::set<std::string>
ignore {
"runNumbers",
"lumiBlocks" };
98 if( !
input->compareWith(*output, ignore) )
100
101 return StatusCode::SUCCESS;
102 }
103
105 auto output = std::make_unique< xAOD::FileMetaData >();
106 auto outputAux = std::make_unique< xAOD::FileMetaDataAuxInfo >();
107 output->setStore(outputAux.get());
108
109
111
112
113#ifdef XAOD_STANDALONE
115 outputMetaStore()->record< xAOD::FileMetaData >(
116 std::move(output), key));
117
119 outputMetaStore()->record< xAOD::FileMetaDataAuxInfo >(
120 std::move(outputAux), key + "Aux."));
121#else
124 std::move(output), key));
125
128 std::move(outputAux), key + "Aux."));
129#endif
130
131 ATH_MSG_INFO(
"Copied \"" << key <<
"\" to MetaDataStore");
132
133
134 return StatusCode::SUCCESS;
135 }
#define ATH_MSG_WARNING(x)
bool contains(const std::string &s, const std::string ®x)
does a string contain the substring
retrieve(aClass, aKey=None)
FileMetaDataAuxInfo_v1 FileMetaDataAuxInfo
Declare the latest version of the class.