|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #define DECLARE_STRING_ACCESSOR( TYPE ) \
13 case FileMetaData_v1::TYPE: \
15 static const SG::AuxElement::Accessor< std::string > acc( #TYPE ); \
20 #define DECLARE_UINT_ACCESSOR( TYPE ) \
21 case FileMetaData_v1::TYPE: \
23 static const SG::AuxElement::Accessor< uint32_t > acc( #TYPE ); \
28 #define DECLARE_FLOAT_ACCESSOR( TYPE ) \
29 case FileMetaData_v1::TYPE: \
31 static const SG::AuxElement::Accessor< float > acc( #TYPE ); \
36 #define DECLARE_CHAR_ACCESSOR( TYPE ) \
37 case FileMetaData_v1::TYPE: \
39 const static SG::AuxElement::Accessor< char > acc( #TYPE ); \
63 std::cerr <<
"xAOD::FileMetaData_v1 ERROR No string accessor for "
64 <<
"type: " <<
type << std::endl;
80 std::cerr <<
"xAOD::FileMetaData_v1 ERROR No uint32_t accessor for "
81 <<
"type: " <<
type << std::endl;
98 std::cerr <<
"xAOD::FileMetaData_v1 ERROR No float accessor for "
99 <<
"type: " <<
type << std::endl;
115 std::cerr <<
"xAOD::FileMetaData_v1 ERROR No char accessor for "
116 <<
"type: " <<
type << std::endl;
const SG::AuxElement::Accessor< char > * metaDataTypeCharAccessorV1(FileMetaData_v1::MetaDataType type)
Helper function for getting an accessor for a pre-defined property.
Helper class to provide type-safe access to aux data.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
const SG::AuxElement::Accessor< uint32_t > * metaDataTypeUIntAccessorV1(FileMetaData_v1::MetaDataType type)
Helper function for getting an accessor for a pre-defined property.
const SG::AuxElement::Accessor< std::string > * metaDataTypeStringAccessorV1(FileMetaData_v1::MetaDataType type)
Helper function for getting an accessor for a pre-defined property.
const SG::AuxElement::Accessor< float > * metaDataTypeFloatAccessorV1(FileMetaData_v1::MetaDataType type)
Helper function for getting an accessor for a pre-defined property.