![]() |
LArSoft
v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "GeometryIterationPolicy.h"
Public Member Functions | |
GeometryIterationPolicy ()=default | |
GeometryIterationPolicy (GeometryCore const *geom) | |
unsigned int | NSiblings (CryostatID const &id) const |
unsigned int | NSiblings (TPCID const &id) const |
template<typename GeoID > | |
GeoID | GetEndID () const |
template<typename GeoID , typename ContextID > | |
GeoID | GetEndID (ContextID const &id) const |
template<> | |
CryostatID | GetEndID () const |
Initializes the specified ID with the invalid ID after the last cryostat. More... | |
template<> | |
TPCID | GetEndID () const |
template<> | |
TPCID | GetEndID (CryostatID const &id) const |
Protected Member Functions | |
CryostatID | EndCryostatID () const |
TPCID | EndTPCID () const |
TPCID | EndTPCID (CryostatID const &id) const |
Protected Attributes | |
GeometryCore const * | fGeom {nullptr} |
Definition at line 9 of file GeometryIterationPolicy.h.
|
default |
|
explicit |
Definition at line 6 of file GeometryIterationPolicy.cxx.
|
protected |
Definition at line 19 of file GeometryIterationPolicy.cxx.
References fGeom, and geo::GeometryCore::Ncryostats().
Referenced by geo::details::ReadoutIterationPolicy::EndTPCsetID(), and GetEndID().
|
protected |
Definition at line 25 of file GeometryIterationPolicy.cxx.
References fGeom, geo::TPCID::first(), geo::GeometryCore::MaxTPCs(), and geo::GeometryCore::Ncryostats().
Referenced by geo::details::ReadoutIterationPolicy::EndPlaneID(), and GetEndID().
|
protected |
Definition at line 32 of file GeometryIterationPolicy.cxx.
References geo::details::GetNextID().
GeoID geo::details::GeometryIterationPolicy::GetEndID | ( | ) | const |
GeoID geo::details::GeometryIterationPolicy::GetEndID | ( | ContextID const & | id | ) | const |
|
inline |
Initializes the specified ID with the invalid ID after the last cryostat.
Definition at line 33 of file GeometryIterationPolicy.h.
References EndCryostatID().
|
inline |
Definition at line 40 of file GeometryIterationPolicy.h.
References EndTPCID().
|
inline |
Definition at line 46 of file GeometryIterationPolicy.h.
References EndTPCID(), geo::details::getElementPtr(), and geo::details::validElement().
unsigned int geo::details::GeometryIterationPolicy::NSiblings | ( | CryostatID const & | id | ) | const |
Definition at line 8 of file GeometryIterationPolicy.cxx.
References fGeom, and geo::GeometryCore::NSiblingElements().
unsigned int geo::details::GeometryIterationPolicy::NSiblings | ( | TPCID const & | id | ) | const |
Definition at line 13 of file GeometryIterationPolicy.cxx.
References fGeom, and geo::GeometryCore::NSiblingElements().
|
protected |
Definition at line 28 of file GeometryIterationPolicy.h.
Referenced by EndCryostatID(), EndTPCID(), and NSiblings().