fire v0.19.0
Framework for sImulation and Reconstruction of Events
Constants.h
Go to the documentation of this file.
1
6#ifndef FIRE_IO_CONSTANTS_H
7#define FIRE_IO_CONSTANTS_H
8
9#include <string>
10
11namespace fire::io {
12
16struct constants {
18 inline static const std::string EVENT_HEADER_NAME = "EventHeader";
20 inline static const std::string NUMBER_NAME = "number";
22 inline static const std::string EVENT_GROUP = "events";
24 inline static const std::string RUN_HEADER_NAME = "runs";
26 inline static const std::string TYPE_ATTR_NAME = "__type__";
28 inline static const std::string VERS_ATTR_NAME = "__version__";
30 inline static const std::string SIZE_NAME = "__size__";
31};
32
33}
34
35#endif
Geant4 does a GLOBAL definition of the keyword TRUE.
Definition: AbstractData.h:11
Structure constants vital to serialization method.
Definition: Constants.h:16
static const std::string SIZE_NAME
the name of the size dataset for variable types
Definition: Constants.h:30
static const std::string RUN_HEADER_NAME
the name of the group holding the run headers
Definition: Constants.h:24
static const std::string EVENT_GROUP
the name of the group in the file holding all event objects
Definition: Constants.h:22
static const std::string VERS_ATTR_NAME
the name of the fire version attribute
Definition: Constants.h:28
static const std::string EVENT_HEADER_NAME
the name of the event header data set
Definition: Constants.h:18
static const std::string NUMBER_NAME
the name of the variable in event and run headers corresponding to their ID
Definition: Constants.h:20
static const std::string TYPE_ATTR_NAME
the name of the HDF5 object attribute that holds the event object type
Definition: Constants.h:26