18 #include "messagefacility/MessageLogger/MessageLogger.h"
26 mf::LogTrace(
"IonAndScint") <<
"IonizationAndScintillation/ISTPC Initialize.\n"
27 <<
"Initializing the geometry of the detector.";
30 auto log = mf::LogTrace(
"IonAndScint") <<
"IonAndScint: active volume boundaries from "
31 << fActiveVolumes.size() <<
" volumes:";
33 log <<
"\n - C:" << iCryo <<
": " << box.Min() <<
" -- " << box.Max() <<
" cm";
50 std::vector<geo::BoxBoundedGeo>
53 std::vector<geo::BoxBoundedGeo> activeVolumes;
65 activeVolumes.push_back(std::move(box));
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.
IteratorBox< cryostat_iterator,&GeometryCore::begin_cryostat,&GeometryCore::end_cryostat > IterateCryostats() const
Enables ranged-for loops on all cryostats of the detector.
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.
bool isScintInActiveVolume(geo::Point_t const &ScintPoint)
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
std::vector< geo::BoxBoundedGeo > fActiveVolumes