11 #ifndef LARCOREALG_GEOMETRY_READOUTDATACONTAINERS_H 12 #define LARCOREALG_GEOMETRY_READOUTDATACONTAINERS_H 106 (
unsigned int nCryo,
unsigned int nTPCsets,
value_type const& defValue)
127 void resize(
unsigned int nCryo,
unsigned int nTPCsets)
147 void resize(
unsigned int nCryo,
unsigned int nTPCsets,
T const& defValue)
195 template <
typename T>
226 (
unsigned int nCryo,
unsigned int nTPCsets,
unsigned int nROPs)
247 unsigned int nCryo,
unsigned int nTPCsets,
unsigned int nROPs,
272 void resize(
unsigned int nCryo,
unsigned int nTPCsets,
unsigned int nROPs)
291 unsigned int nCryo,
unsigned int nTPCsets,
unsigned int nROPs,
328 #endif // LARCOREALG_GEOMETRY_READOUTDATACONTAINERS_H Container with one element per readout TPC set.
Classes identifying readout-related concepts.
bool hasCryostat(readout::CryostatID const &cryoid) const
Returns whether this container hosts data for the specified cryostat.
Container with one element per readout plane.
ROPDataContainer(unsigned int nCryo, unsigned int nTPCsets, unsigned int nROPs, T const &defValue)
Prepares the container with copies of the specified default value.
Class identifying a set of TPC sharing readout channels.
void resize(unsigned int nCryo, unsigned int nTPCsets)
Prepares the container with default-constructed data.
Container with one element per geometry TPC.
void resize(unsigned int nCryo, unsigned int nTPCsets, T const &defValue)
Prepares the container initializing all its data.
void resize(unsigned int nCryo, unsigned int nTPCsets, unsigned int nROPs)
Prepares the container with default-constructed data.
Containers to hold one datum per TPC or plane.
geo::GeoIDdataContainer< T, readout::TPCsetIDmapper<>> BaseContainer_t
void resize(unsigned int nCryo, unsigned int nTPCsets, unsigned int nROPs, T const &defValue)
Prepares the container initializing all its data.
Class identifying a set of planes sharing readout channels.
bool hasTPCset(readout::TPCsetID const &tpcsetid) const
Returns whether this container hosts data for the specified TPC set.
bool hasROP(readout::ROPID const &ropid) const
Returns whether this container hosts data for the specified readout plane.
TPCsetDataContainer()=default
Default constructor: empty container.
bool hasCryostat(readout::CryostatID const &cryoid) const
Returns whether this container hosts data for the specified cryostat.
bool hasTPCset(readout::TPCsetID const &tpcsetid) const
Returns whether this container hosts data for the specified TPC set.
TPCsetDataContainer(unsigned int nCryo, unsigned int nTPCsets)
Prepares the container with default-constructed data.
Mapping between geometry/readout ID and flat index.
typename Container_t::value_type value_type
void resize(std::initializer_list< unsigned int > dims)
Prepares the container with default-constructed data.
bool hasElement(GeoID const &id) const
Returns whether this container hosts data for the specified ID.
The data type to uniquely identify a cryostat.