|
ATLAS Offline Software
|
Go to the documentation of this file.
49 m_outputMetaStore(
"StoreGateSvc/MetaDataStore",
n) {
51 declareInterface<DerivationFramework::IAugmentationTool>(
this);
81 return StatusCode::SUCCESS;
89 return StatusCode::SUCCESS;
95 return StatusCode::SUCCESS;
98 #define SET_VALUES_IMP( TYPE, MAP ) \
99 for (auto const &ent : MAP) { \
100 SG::Accessor< TYPE > acc( m_prefix + ent.first ); \
101 acc( *fm ) = ent.second; \
106 ATH_MSG_DEBUG(
"BPhysMetaDataBase::saveMetaDataBPhys() -- begin");
112 "xAOD::FileMetaData already in output: "
114 <<
" -- BPhys metadata will NOT be saved!");
117 auto fm = std::make_unique< xAOD::FileMetaData >();
118 auto fmAux = std::make_unique< xAOD::FileMetaDataAuxInfo >();
119 fm->setStore( fmAux.get() );
143 mdFolderKey+
"Aux." ) );
146 return StatusCode::SUCCESS;
148 #undef SET_VALUES_IMP
192 const std::vector<int>&
val) {
198 const std::vector<long>&
val) {
204 const std::vector<double>&
val) {
210 const std::vector<bool>&
val) {
216 const std::vector<std::string>&
val) {
222 std::string
str(
"[");
223 for (
unsigned int i=0;
i<
v.size(); ++
i) {
225 if (
i <
v.size()-1 )
str +=
",";
232 std::string
str(
"[");
233 for (
unsigned int i=0;
i<
v.size(); ++
i) {
235 if (
i <
v.size()-1 )
str +=
",";
242 std::string
str(
"[");
243 for (
unsigned int i=0;
i<
v.size(); ++
i) {
245 if (
i <
v.size()-1 )
str +=
",";
252 std::string
str(
"[");
253 for (
unsigned int i=0;
i<
v.size(); ++
i) {
255 if (
i <
v.size()-1 )
str +=
",";
262 std::string
str(
"[");
263 for (
unsigned int i=0;
i<
v.size(); ++
i) {
267 if (
i <
v.size()-1 )
str +=
",";
Helper class to provide type-safe access to aux data.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
::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)