Description of the current configuration of detector geometry. More...
#include <GeometryConfigurationInfo.h>
Public Types | |
using | DataVersion_t = unsigned int |
Type used for the version of data. More... | |
Public Member Functions | |
bool | isDataValid () const noexcept |
Protocol: whether the data content is valid. More... | |
Public Attributes | |
DataVersion_t | dataVersion = InvalidDataVersion |
Version of the data in this object (0 is invalid version). More... | |
std::string | geometryServiceConfiguration |
geo::Geometry service configuration, as FHiCL table. More... | |
std::string | detectorName |
Static Public Attributes | |
static constexpr DataVersion_t | InvalidDataVersion = 0U |
Value denoting an invalid data version. More... | |
Description of the current configuration of detector geometry.
This data class contains enough information to determine if the detector geometry configuration it describes is compatible with another one.
The version of the data is explicitly included, so that the software can determine which is the most complete test possible when the version of the input is older than the current one.
The information in this object should be as compact as possible to avoid bloating the data files it is stored into. Currently, three categories of information are included:
Geometry
service as a string;sumdata::GeometryConfigurationInfo
objects is not part of the object definition and it is delegated to the appropriate algorithms.1
)geo::Geometry::DetectorName()
)geo::Geometry
service as a FHiCL string Definition at line 58 of file GeometryConfigurationInfo.h.
using sumdata::GeometryConfigurationInfo::DataVersion_t = unsigned int |
Type used for the version of data.
Definition at line 60 of file GeometryConfigurationInfo.h.
|
inlinenoexcept |
Protocol: whether the data content is valid.
Definition at line 77 of file GeometryConfigurationInfo.h.
DataVersion_t sumdata::GeometryConfigurationInfo::dataVersion = InvalidDataVersion |
Version of the data in this object (0
is invalid version).
Definition at line 67 of file GeometryConfigurationInfo.h.
std::string sumdata::GeometryConfigurationInfo::detectorName |
Definition at line 73 of file GeometryConfigurationInfo.h.
std::string sumdata::GeometryConfigurationInfo::geometryServiceConfiguration |
geo::Geometry
service configuration, as FHiCL table.
Name of the geometry (geo::GeometryCore::DetectorName()
).
Definition at line 70 of file GeometryConfigurationInfo.h.
|
static |
Value denoting an invalid data version.
Definition at line 63 of file GeometryConfigurationInfo.h.