22 mf::LogTrace(
"IonAndScint") <<
"IonizationAndScintillation/ISTPC Initialize.\n" 23 <<
"Initializing the geometry of the detector.";
26 auto log =
mf::LogTrace(
"IonAndScint") <<
"IonAndScint: active volume boundaries from " 29 log <<
"\n - C:" << iCryo <<
": " << box.Min() <<
" -- " << box.Max() <<
" cm";
39 if (box.ContainsPosition(ScintPoint)) {
return true; }
47 std::vector<geo::BoxBoundedGeo> activeVolumes;
59 activeVolumes.push_back(std::move(box));
details::range_type< T > Iterate() const
Initializes the specified ID with the ID of the first cryostat.
static std::vector< geo::BoxBoundedGeo > extractActiveLArVolume(geo::GeometryCore const &geom)
Utilities related to art service access.
Encapsulate the construction of a single cyostat.
Definition of util::enumerate().
Geometry information for a single TPC.
ISTPC(geo::GeometryCore const &geom)
Geometry information for a single cryostat.
unsigned int Ncryostats() const
Returns the number of cryostats in the detector.
auto enumerate(Iterables &&...iterables)
Range-for loop helper tracking the number of iteration.
Access the description of detector geometry.
Test of util::counter and support utilities.
Description of geometry of one entire detector.
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
A base class aware of world box coordinatesAn object describing a simple shape can inherit from this ...
void ExtendToInclude(Coord_t x, Coord_t y, Coord_t z)
Extends the current box to also include the specified point.
MaybeLogger_< ELseverityLevel::ELsev_success, true > LogTrace
bool isScintInActiveVolume(geo::Point_t const &ScintPoint)
std::vector< geo::BoxBoundedGeo > fActiveVolumes