#include <FileMetaData_v1.h>
Public Types | |
enum | MetaDataType { productionRelease = 0, amiTag = 1, AODFixVersion = 2, AODCalibVersion = 3, dataType = 4, geometryVersion = 5, conditionsTag = 6, beamEnergy = 7, beamType = 8, mcProcID = 9, simFlavour = 10, END = 11 } |
Pre-defined metadata value types. More... | |
Public Member Functions | |
FileMetaData_v1 () | |
Default constructor. | |
bool | value (MetaDataType type, std::string &val) const |
Get a pre-defined string value out of the object. | |
bool | value (const std::string &type, std::string &val) const |
Get a generic string value out of the object. | |
bool | setValue (MetaDataType type, const std::string &val) |
Set a pre-defined string value on the object. | |
bool | setValue (const std::string &type, const std::string &val) |
Set a generic string value on the object. | |
bool | value (MetaDataType type, float &val) const |
Get a pre-defined float value out of the object. | |
bool | value (const std::string &type, float &val) const |
Get a generic float value out of the object. | |
bool | setValue (MetaDataType type, float val) |
Set a pre-defined float value on the object. | |
bool | setValue (const std::string &type, float val) |
Set a generic float value on the object. | |
Comparison operators | |
bool | operator== (const FileMetaData_v1 &rhs) |
Operator testing the equality of two objects. | |
bool | operator!= (const FileMetaData_v1 &rhs) |
Operator testing the inequality of two objects. |
Class holding file-level metadata about an xAOD file
Each xAOD file is expected to hold exactly one object of this type to describe much of the simple metadata about the file. So, metadata that might change event-by-event in the file is not stored in such objects.
Attila | Krasznahorkay <Attila.Krasznahorkay@cern.ch> |
Pre-defined metadata value types.