bool validElement(GeometryCore const *geom, CryostatID const &id)
CryostatGeo const * getElementPtr(GeometryCore const *geom, CryostatID const &id)
unsigned int NSiblings(CryostatID const &id) const
CryostatGeo const * GetElementPtr(CryostatID const &cryoid) const
Returns the specified cryostat.
Geometry information for a single TPC.
Geometry information for a single cryostat.
unsigned int Ncryostats() const
Returns the number of cryostats in the detector.
Access the description of the physical detector geometry.
GeometryIterationPolicy()=default
static constexpr auto first()
unsigned int NSiblingElements(CryostatID const &) const
Returns the number of cryostats in the detector.
The data type to uniquely identify a TPC.
Description of the physical geometry of one entire detector.
CryostatID EndCryostatID() const
GeoID GetNextID(GeoID const &id, IterationPolicy const &policy)
Returns the ID next to the specified one.
unsigned int MaxTPCs() const
Returns the largest number of TPCs a cryostat in the detector has.
GeometryCore const * fGeom
The data type to uniquely identify a cryostat.