1 #ifndef IC_CRT_TPCGEOUTIL_H
2 #define IC_CRT_TPCGEOUTIL_H
4 #include "art/Framework/Principal/Event.h"
5 #include "art/Framework/Core/ModuleMacros.h"
6 #include "fhiclcpp/ParameterSet.h"
7 #include "art/Framework/Principal/Handle.h"
8 #include "canvas/Persistency/Common/Ptr.h"
9 #include "canvas/Persistency/Common/PtrVector.h"
10 #include "art/Framework/Services/Registry/ServiceHandle.h"
11 #include "messagefacility/MessageLogger/MessageLogger.h"
16 #include "nusimdata/SimulationBase/MCParticle.h"
23 namespace TPCGeoUtil {
std::pair< double, double > XLimitsFromHits(const geo::GeometryCore *GeometryService, std::vector< art::Ptr< recob::Hit >> hits)
Declaration of signal hit object.
Geometry information for a single TPC.
int DetectedInTPC(std::vector< art::Ptr< recob::Hit >> hits)
int DriftDirectionFromHits(const geo::GeometryCore *GeometryService, std::vector< art::Ptr< recob::Hit >> hits)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Access the description of detector geometry.
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.
bool InsideTPC(geo::Point_t point, const geo::TPCGeo &tpc, double buffer)
art framework interface to geometry description