18 fMinX = config.FiducialCuts().MinX();
19 fMinY = config.FiducialCuts().MinY();
20 fMinZ = config.FiducialCuts().MinZ();
21 fMaxX = config.FiducialCuts().MaxX();
22 fMaxY = config.FiducialCuts().MaxY();
23 fMaxZ = config.FiducialCuts().MaxZ();
30 double Min_X = std::min_element(tstart, tend, [](
auto &lhs,
auto &rhs) {
return lhs.MinX() < rhs.MinX(); })->MinX();
31 double Min_Y = std::min_element(tstart, tend, [](
auto &lhs,
auto &rhs) {
return lhs.MinY() < rhs.MinY(); })->MinY();
32 double Min_Z = std::min_element(tstart, tend, [](
auto &lhs,
auto &rhs) {
return lhs.MinZ() < rhs.MinZ(); })->MinZ();
34 double Max_X = std::max_element(tstart, tend, [](
auto &lhs,
auto &rhs) {
return lhs.MaxX() < rhs.MaxX(); })->MaxX();
35 double Max_Y = std::max_element(tstart, tend, [](
auto &lhs,
auto &rhs) {
return lhs.MaxY() < rhs.MaxY(); })->MaxY();
36 double Max_Z = std::max_element(tstart, tend, [](
auto &lhs,
auto &rhs) {
return lhs.MaxZ() < rhs.MaxZ(); })->MaxZ();
const geo::GeometryCore * GetGeometryProvider() const
TPC_iterator begin_TPC() const
Returns an iterator pointing to the first TPC in the detector.
IteratorBox< cryostat_iterator,&GeometryCore::begin_cryostat,&GeometryCore::end_cryostat > IterateCryostats() const
Enables ranged-for loops on all cryostats of the detector.
std::vector< geo::BoxBoundedGeo > fFiducialVolumes
Forward iterator browsing all geometry elements in the detector.
TPC_iterator end_TPC() const
Returns an iterator pointing after the last TPC in the detector.