103 assert(wireReadoutGeom);
104 return wireReadoutGeom->
PlanePtr(
id);
109 assert(wireReadoutGeom);
110 return wireReadoutGeom->
WirePtr(
id);
115 return wireReadoutGeom &&
getElementPtr(wireReadoutGeom,
id) !=
nullptr;
120 return wireReadoutGeom &&
getElementPtr(wireReadoutGeom,
id) !=
nullptr;
Geometry description of a TPC wireThe wire is a single straight segment on a wire plane...
GeometryCore const * fGeom
bool validElement(GeometryCore const *geom, CryostatID const &id)
CryostatGeo const * getElementPtr(GeometryCore const *geom, CryostatID const &id)
PlaneGeo const * PlanePtr(PlaneID const &planeid) const
Returns the specified plane.
virtual unsigned int NTPCsets(readout::CryostatID const &cryoid) const =0
Returns the total number of TPC sets in the specified cryostat.
PlaneID EndPlaneID() const
The data type to uniquely identify a Plane.
Class identifying a set of TPC sharing readout channels.
WireGeo const * WirePtr(WireID const &wireid) const
Returns the specified wire.
unsigned int Ncryostats() const
Returns the number of cryostats in the detector.
WireReadoutGeom const * fWireReadoutGeom
Access the description of the physical detector geometry.
static constexpr auto first()
unsigned int MaxPlanes() const
Returns the largest number of planes among all TPCs in this detector.
ReadoutIterationPolicy()=default
readout::ROPID EndROPID() const
static constexpr auto first()
Interface for a class providing readout channel mapping to geometry.
unsigned int MaxWires() const
Returns the total number of wires in the specified plane.
Geometry information for a single wire plane.The plane is represented in the geometry by a solid whic...
The data type to uniquely identify a TPC.
Description of the physical geometry of one entire detector.
CryostatID EndCryostatID() const
Class identifying a set of planes sharing readout channels.
virtual unsigned int NROPs(readout::TPCsetID const &tpcsetid) const =0
Returns the total number of ROP in the specified TPC set.
unsigned int NSiblingElements(PlaneID const &planeid) const
Returns the total number of planes in the specified TPC.
GeoID GetNextID(GeoID const &id, IterationPolicy const &policy)
Returns the ID next to the specified one.
readout::TPCsetID EndTPCsetID() const
Interface to geometry for wire readouts .
unsigned int NSiblings(PlaneID const &id) const
The data type to uniquely identify a cryostat.