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.
Container with one element per readout plane.
Class identifying a set of TPC sharing readout channels.
Container with one element per geometry TPC.
Containers to hold one datum per TPC or plane.
geo::GeoIDdataContainer< T, readout::TPCsetIDmapper<>> BaseContainer_t
typename BaseContainer_t::value_type value_type
Class identifying a set of planes sharing readout channels.
geo::GeoIDdataContainer< T, readout::ROPIDmapper<>> BaseContainer_t
Base class.
TPCsetDataContainer()=default
Default constructor: empty container.
ROPDataContainer()=default
Default constructor: empty container.
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.