1 #ifndef CRT_TPCGEOUTIL_H_
2 #define 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)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Access the description of detector geometry.
bool InsideTPC(geo::Point_t point, const geo::TPCGeo &tpc, double buffer)
Description of geometry of one entire detector.
int DriftDirectionFromHits(const geo::GeometryCore *GeometryService, std::vector< art::Ptr< recob::Hit >> hits)
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