1 #ifndef TPCGEOALG_H_SEEN
2 #define TPCGEOALG_H_SEEN
14 #include "art/Framework/Principal/Event.h"
15 #include "art/Framework/Core/ModuleMacros.h"
16 #include "fhiclcpp/ParameterSet.h"
17 #include "art/Framework/Principal/Handle.h"
18 #include "canvas/Persistency/Common/Ptr.h"
19 #include "canvas/Persistency/Common/PtrVector.h"
20 #include "art/Framework/Services/Registry/ServiceHandle.h"
21 #include "messagefacility/MessageLogger/MessageLogger.h"
27 #include "nusimdata/SimulationBase/MCParticle.h"
56 double maxXCut,
double maxYCut,
double maxZCut);
71 bool InVolume(
const simb::MCParticle& particle);
79 bool CrossesApa(
const simb::MCParticle& particle);
81 std::pair<TVector3, TVector3>
CrossingPoints(
const simb::MCParticle& particle);
82 double TpcLength(
const simb::MCParticle& particle);
Utilities related to art service access.
bool InsideTPC(geo::Point_t point, const geo::TPCGeo &tpc, double buffer=0.)
Declaration of signal hit object.
Geometry information for a single TPC.
std::pair< TVector3, TVector3 > CrossingPoints(const simb::MCParticle &particle)
bool EntersVolume(const simb::MCParticle &particle)
int DriftDirectionFromHits(std::vector< art::Ptr< recob::Hit >> hits)
double TpcLength(const simb::MCParticle &particle)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Access the description of detector geometry.
bool IsContained(const simb::MCParticle &particle)
double MinDistToWall(geo::Point_t point) const
bool CrossesVolume(const simb::MCParticle &particle)
int DetectedInTPC(std::vector< art::Ptr< recob::Hit >> hits)
bool InFiducial(geo::Point_t point, double fiducial)
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.
std::pair< double, double > XLimitsFromHits(std::vector< art::Ptr< recob::Hit >> hits)
art framework interface to geometry description
bool InVolume(const simb::MCParticle &particle)
geo::GeometryCore const * fGeometryService
bool CrossesApa(const simb::MCParticle &particle)