 |
ATLAS Offline Software
|
Go to the documentation of this file.
49 m_outputMetaStore(
"StoreGateSvc/MetaDataStore",
n) {
59 declareProperty(
"Prefix",
m_prefix =
"");
80 return StatusCode::SUCCESS;
88 return StatusCode::SUCCESS;
94 return StatusCode::SUCCESS;
97 #define SET_VALUES_IMP( TYPE, MAP ) \
98 for (auto const &ent : MAP) { \
99 SG::Accessor< TYPE > acc( m_prefix + ent.first ); \
100 acc( *fm ) = ent.second; \
105 ATH_MSG_DEBUG(
"BPhysMetaDataBase::saveMetaDataBPhys() -- begin");
111 "xAOD::FileMetaData already in output: "
113 <<
" -- BPhys metadata will NOT be saved!");
116 auto fm = std::make_unique< xAOD::FileMetaData >();
117 auto fmAux = std::make_unique< xAOD::FileMetaDataAuxInfo >();
118 fm->setStore( fmAux.get() );
142 mdFolderKey+
"Aux." ) );
145 return StatusCode::SUCCESS;
147 #undef SET_VALUES_IMP
191 const std::vector<int>&
val) {
197 const std::vector<long>&
val) {
203 const std::vector<double>&
val) {
209 const std::vector<bool>&
val) {
215 const std::vector<std::string>&
val) {
221 std::string
str(
"[");
222 for (
unsigned int i=0;
i<
v.size(); ++
i) {
224 if (
i <
v.size()-1 )
str +=
",";
231 std::string
str(
"[");
232 for (
unsigned int i=0;
i<
v.size(); ++
i) {
234 if (
i <
v.size()-1 )
str +=
",";
241 std::string
str(
"[");
242 for (
unsigned int i=0;
i<
v.size(); ++
i) {
244 if (
i <
v.size()-1 )
str +=
",";
251 std::string
str(
"[");
252 for (
unsigned int i=0;
i<
v.size(); ++
i) {
254 if (
i <
v.size()-1 )
str +=
",";
261 std::string
str(
"[");
262 for (
unsigned int i=0;
i<
v.size(); ++
i) {
266 if (
i <
v.size()-1 )
str +=
",";
Helper class to provide type-safe access to aux data.
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
std::string to_string(const DetectorType &type)
Helper class to provide type-safe access to aux data.
#define ATH_MSG_WARNING(x)