#include <TPCGeoAlg.h>
Public Member Functions | |
TPCGeoAlg () | |
~TPCGeoAlg () | |
double | MinX () const |
double | MinY () const |
double | MinZ () const |
double | MaxX () const |
double | MaxY () const |
double | MaxZ () const |
double | CpaWidth () const |
bool | InFiducial (geo::Point_t point, double fiducial) |
bool | InFiducial (geo::Point_t point, double fiducial, double fiducialTop) |
bool | InFiducial (geo::Point_t point, double minXCut, double minYCut, double minZCut, double maxXCut, double maxYCut, double maxZCut) |
bool | InsideTPC (geo::Point_t point, const geo::TPCGeo &tpc, double buffer=0.) |
int | DetectedInTPC (std::vector< art::Ptr< recob::Hit >> hits) |
int | DriftDirectionFromHits (std::vector< art::Ptr< recob::Hit >> hits) |
std::pair< double, double > | XLimitsFromHits (std::vector< art::Ptr< recob::Hit >> hits) |
double | MinDistToWall (geo::Point_t point) |
bool | InVolume (const simb::MCParticle &particle) |
bool | IsContained (const simb::MCParticle &particle) |
bool | EntersVolume (const simb::MCParticle &particle) |
bool | CrossesVolume (const simb::MCParticle &particle) |
bool | CrossesApa (const simb::MCParticle &particle) |
std::pair< TVector3, TVector3 > | CrossingPoints (const simb::MCParticle &particle) |
double | TpcLength (const simb::MCParticle &particle) |
Private Attributes | |
double | fMinX |
double | fMinY |
double | fMinZ |
double | fMaxX |
double | fMaxY |
double | fMaxZ |
double | fCpaWidth |
geo::GeometryCore const * | fGeometryService |
Definition at line 35 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.h.
sbnd::TPCGeoAlg::TPCGeoAlg | ( | ) |
Definition at line 6 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
sbnd::TPCGeoAlg::~TPCGeoAlg | ( | ) |
Definition at line 36 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
double sbnd::TPCGeoAlg::CpaWidth | ( | ) | const |
Definition at line 66 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
bool sbnd::TPCGeoAlg::CrossesApa | ( | const simb::MCParticle & | particle | ) |
Definition at line 236 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
bool sbnd::TPCGeoAlg::CrossesVolume | ( | const simb::MCParticle & | particle | ) |
Definition at line 216 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
std::pair< TVector3, TVector3 > sbnd::TPCGeoAlg::CrossingPoints | ( | const simb::MCParticle & | particle | ) |
Definition at line 255 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
int sbnd::TPCGeoAlg::DetectedInTPC | ( | std::vector< art::Ptr< recob::Hit >> | hits | ) |
Definition at line 100 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
int sbnd::TPCGeoAlg::DriftDirectionFromHits | ( | std::vector< art::Ptr< recob::Hit >> | hits | ) |
Definition at line 111 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
bool sbnd::TPCGeoAlg::EntersVolume | ( | const simb::MCParticle & | particle | ) |
Definition at line 196 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
bool sbnd::TPCGeoAlg::InFiducial | ( | geo::Point_t | point, |
double | fiducial | ||
) |
Definition at line 72 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
bool sbnd::TPCGeoAlg::InFiducial | ( | geo::Point_t | point, |
double | fiducial, | ||
double | fiducialTop | ||
) |
Definition at line 76 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
bool sbnd::TPCGeoAlg::InFiducial | ( | geo::Point_t | point, |
double | minXCut, | ||
double | minYCut, | ||
double | minZCut, | ||
double | maxXCut, | ||
double | maxYCut, | ||
double | maxZCut | ||
) |
Definition at line 80 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
bool sbnd::TPCGeoAlg::InsideTPC | ( | geo::Point_t | point, |
const geo::TPCGeo & | tpc, | ||
double | buffer = 0. |
||
) |
Definition at line 141 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
bool sbnd::TPCGeoAlg::InVolume | ( | const simb::MCParticle & | particle | ) |
Definition at line 168 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
bool sbnd::TPCGeoAlg::IsContained | ( | const simb::MCParticle & | particle | ) |
Definition at line 182 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
double sbnd::TPCGeoAlg::MaxX | ( | ) | const |
Definition at line 54 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
double sbnd::TPCGeoAlg::MaxY | ( | ) | const |
Definition at line 58 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
double sbnd::TPCGeoAlg::MaxZ | ( | ) | const |
Definition at line 62 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
double sbnd::TPCGeoAlg::MinDistToWall | ( | geo::Point_t | point | ) |
Definition at line 149 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
double sbnd::TPCGeoAlg::MinX | ( | ) | const |
Definition at line 42 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
double sbnd::TPCGeoAlg::MinY | ( | ) | const |
Definition at line 46 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
double sbnd::TPCGeoAlg::MinZ | ( | ) | const |
Definition at line 50 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
double sbnd::TPCGeoAlg::TpcLength | ( | const simb::MCParticle & | particle | ) |
Definition at line 274 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
std::pair< double, double > sbnd::TPCGeoAlg::XLimitsFromHits | ( | std::vector< art::Ptr< recob::Hit >> | hits | ) |
Definition at line 127 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.cc.
|
private |
Definition at line 91 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.h.
|
private |
Definition at line 93 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.h.
|
private |
Definition at line 88 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.h.
|
private |
Definition at line 89 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.h.
|
private |
Definition at line 90 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.h.
|
private |
Definition at line 85 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.h.
|
private |
Definition at line 86 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.h.
|
private |
Definition at line 87 of file sbndcode/sbndcode/Geometry/GeometryWrappers/TPCGeoAlg.h.