1 #ifndef TPCGEOALG_H_SEEN
2 #define TPCGEOALG_H_SEEN
13 #include "art/Framework/Principal/Event.h"
14 #include "art/Framework/Core/ModuleMacros.h"
15 #include "fhiclcpp/ParameterSet.h"
16 #include "art/Framework/Principal/Handle.h"
17 #include "canvas/Persistency/Common/Ptr.h"
18 #include "canvas/Persistency/Common/PtrVector.h"
19 #include "art/Framework/Services/Registry/ServiceHandle.h"
20 #include "messagefacility/MessageLogger/MessageLogger.h"
26 #include "nusimdata/SimulationBase/MCParticle.h"
55 double maxXCut,
double maxYCut,
double maxZCut);
70 bool InVolume(
const simb::MCParticle& particle);
78 bool CrossesApa(
const simb::MCParticle& particle);
80 std::pair<TVector3, TVector3>
CrossingPoints(
const simb::MCParticle& particle);
81 double TpcLength(
const simb::MCParticle& particle);
bool CrossesVolume(const simb::MCParticle &particle)
Utilities related to art service access.
bool IsContained(const simb::MCParticle &particle)
Declaration of signal hit object.
Geometry information for a single TPC.
bool InsideTPC(geo::Point_t point, const geo::TPCGeo &tpc, double buffer=0.)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Access the description of detector geometry.
bool InVolume(const simb::MCParticle &particle)
bool CrossesApa(const simb::MCParticle &particle)
double TpcLength(const simb::MCParticle &particle)
bool EntersVolume(const simb::MCParticle &particle)
Description of geometry of one entire detector.
int DetectedInTPC(std::vector< art::Ptr< recob::Hit >> hits)
geo::GeometryCore const * fGeometryService
std::pair< double, double > XLimitsFromHits(std::vector< art::Ptr< recob::Hit >> hits)
int DriftDirectionFromHits(std::vector< art::Ptr< recob::Hit >> hits)
double MinDistToWall(geo::Point_t point)
stream1 can override from command line with o or output services user sbnd
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
art framework interface to geometry description
std::pair< TVector3, TVector3 > CrossingPoints(const simb::MCParticle &particle)
bool InFiducial(geo::Point_t point, double fiducial)