#include <GeometryGeoIDTestAlg.h>
Definition at line 22 of file GeometryGeoIDTestAlg.h.
void geo::GeometryGeoIDTestAlg::CryostatGeoIDTest |
( |
| ) |
const |
Definition at line 38 of file GeometryGeoIDTestAlg.cxx.
46 BOOST_TEST(ID == *iCryo);
50 BOOST_TEST(&cryostat == &cryostatFromID);
GeometryCore const * geom
pointer to the geometry description
Geometry information for a single cryostat.
CryostatGeo const & Cryostat(geo::CryostatID const &cryoid) const
Returns the specified cryostat.
IteratorBox< cryostat_iterator,&GeometryCore::begin_cryostat,&GeometryCore::end_cryostat > IterateCryostats() const
Enables ranged-for loops on all cryostats of the detector.
cryostat_id_iterator begin_cryostat_id() const
Returns an iterator pointing to the first cryostat ID.
The data type to uniquely identify a cryostat.
void geo::GeometryGeoIDTestAlg::PlaneGeoIDTest |
( |
| ) |
const |
Definition at line 84 of file GeometryGeoIDTestAlg.cxx.
92 BOOST_TEST(ID == *iPlane);
95 auto const& planeFromID =
geom->
Plane(ID);
96 BOOST_TEST(&plane == &planeFromID);
GeometryCore const * geom
pointer to the geometry description
PlaneGeo const & Plane(unsigned int const p, unsigned int const tpc=0, unsigned int const cstat=0) const
Returns the specified wire.
IteratorBox< plane_iterator,&GeometryCore::begin_plane,&GeometryCore::end_plane > IteratePlanes() const
Enables ranged-for loops on all planes of the detector.
The data type to uniquely identify a Plane.
Geometry information for a single wire plane.The plane is represented in the geometry by a solid whic...
plane_id_iterator begin_plane_id() const
Returns an iterator pointing to the first plane ID in the detector.
unsigned int geo::GeometryGeoIDTestAlg::Run |
( |
| ) |
const |
Executes the test.
Definition at line 24 of file GeometryGeoIDTestAlg.cxx.
void CryostatGeoIDTest() const
void PlaneGeoIDTest() const
void TPCGeoIDTest() const
void WireGeoIDTest() const
Algorithm set up.
Definition at line 29 of file GeometryGeoIDTestAlg.h.
GeometryCore const * geom
pointer to the geometry description
void geo::GeometryGeoIDTestAlg::TPCGeoIDTest |
( |
| ) |
const |
Definition at line 61 of file GeometryGeoIDTestAlg.cxx.
69 BOOST_TEST(ID == *iTPC);
72 auto const& TPCFromID =
geom->
TPC(ID);
73 BOOST_TEST(&tpc == &TPCFromID);
GeometryCore const * geom
pointer to the geometry description
TPC_id_iterator begin_TPC_id() const
Returns an iterator pointing to the first TPC ID in the detector.
Geometry information for a single TPC.
IteratorBox< TPC_iterator,&GeometryCore::begin_TPC,&GeometryCore::end_TPC > IterateTPCs() const
Enables ranged-for loops on all TPCs of the detector.
The data type to uniquely identify a TPC.
TPCGeo const & TPC(unsigned int const tpc=0, unsigned int const cstat=0) const
Returns the specified TPC.
void geo::GeometryGeoIDTestAlg::WireGeoIDTest |
( |
| ) |
const |
Definition at line 107 of file GeometryGeoIDTestAlg.cxx.
Geometry description of a TPC wireThe wire is a single straight segment on a wire plane...
GeometryCore const * geom
pointer to the geometry description
IteratorBox< wire_iterator,&GeometryCore::begin_wire,&GeometryCore::end_wire > IterateWires() const
Enables ranged-for loops on all wires of the detector.
wire_id_iterator begin_wire_id() const
Returns an iterator pointing to the first wire ID in the detector.
GeometryCore const* geo::GeometryGeoIDTestAlg::geom = nullptr |
|
protected |
The documentation for this class was generated from the following files: