#include <CRTT0MatchAlg.h>
Classes | |
struct | Config |
Public Member Functions | |
CRTT0MatchAlg (const Config &config) | |
CRTT0MatchAlg (const Config &config, geo::GeometryCore const *GeometryService, spacecharge::SpaceCharge const *SCE) | |
CRTT0MatchAlg (const fhicl::ParameterSet &pset) | |
void | reconfigure (const Config &config) |
std::pair< double, double > | TrackT0Range (detinfo::DetectorPropertiesData const &detProp, double startX, double endX, int driftDirection, std::pair< double, double > xLimits) |
double | DistOfClosestApproach (detinfo::DetectorPropertiesData const &detProp, TVector3 trackPos, TVector3 trackDir, sbn::crt::CRTHit crtHit, int driftDirection, double t0) |
std::pair< TVector3, TVector3 > | TrackDirectionAverage (recob::Track track, double frac) |
std::pair< TVector3, TVector3 > | TrackDirection (detinfo::DetectorPropertiesData const &detProp, recob::Track track, double frac, double CRTtime, int driftDirection) |
std::pair< TVector3, TVector3 > | TrackDirectionAverageFromPoints (recob::Track track, double frac) |
std::pair< sbn::crt::CRTHit, double > | ClosestCRTHit (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::pair< double, double > t0MinMax, std::vector< sbn::crt::CRTHit > crtHits, int driftDirection) |
std::pair< sbn::crt::CRTHit, double > | ClosestCRTHit (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTHit > crtHits, const art::Event &event) |
std::pair< sbn::crt::CRTHit, double > | ClosestCRTHit (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< art::Ptr< recob::Hit >> hits, std::vector< sbn::crt::CRTHit > crtHits) |
matchCand | GetClosestCRTHit (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::pair< double, double > t0MinMax, std::vector< sbn::crt::CRTHit > crtHits, int driftDirection) |
matchCand | GetClosestCRTHit (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTHit > crtHits, const art::Event &event) |
matchCand | GetClosestCRTHit (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< art::Ptr< recob::Hit >> hits, std::vector< sbn::crt::CRTHit > crtHits) |
double | T0FromCRTHits (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTHit > crtHits, const art::Event &event) |
double | T0FromCRTHits (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< art::Ptr< recob::Hit >> hits, std::vector< sbn::crt::CRTHit > crtHits) |
std::pair< double, double > | T0AndDCAFromCRTHits (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTHit > crtHits, const art::Event &event) |
std::pair< double, double > | T0AndDCAFromCRTHits (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< art::Ptr< recob::Hit >> hits, std::vector< sbn::crt::CRTHit > crtHits) |
Private Attributes | |
geo::GeometryCore const * | fGeometryService |
spacecharge::SpaceCharge const * | fSCE |
double | fMinTrackLength |
double | fTrackDirectionFrac |
double | fDistanceLimit |
int | fTSMode |
double | fTimeCorrection |
int | fDirMethod |
bool | fSCEposCorr |
bool | fDCAuseBox |
bool | fDCAoverLength |
double | fDoverLLimit |
double | fPEcut |
double | fMaxUncert |
art::InputTag | fTPCTrackLabel |
Definition at line 75 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
sbnd::CRTT0MatchAlg::CRTT0MatchAlg | ( | const Config & | config | ) |
Definition at line 5 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
sbnd::CRTT0MatchAlg::CRTT0MatchAlg | ( | const Config & | config, |
geo::GeometryCore const * | GeometryService, | ||
spacecharge::SpaceCharge const * | SCE | ||
) |
Definition at line 8 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
|
inline |
Definition at line 172 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
std::pair< sbn::crt::CRTHit, double > sbnd::CRTT0MatchAlg::ClosestCRTHit | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::pair< double, double > | t0MinMax, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
int | driftDirection | ||
) |
Definition at line 246 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< sbn::crt::CRTHit, double > sbnd::CRTT0MatchAlg::ClosestCRTHit | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
const art::Event & | event | ||
) |
Definition at line 223 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< sbn::crt::CRTHit, double > sbnd::CRTT0MatchAlg::ClosestCRTHit | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTHit > | crtHits | ||
) |
Definition at line 232 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
double sbnd::CRTT0MatchAlg::DistOfClosestApproach | ( | detinfo::DetectorPropertiesData const & | detProp, |
TVector3 | trackPos, | ||
TVector3 | trackDir, | ||
sbn::crt::CRTHit | crtHit, | ||
int | driftDirection, | ||
double | t0 | ||
) |
Definition at line 82 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
matchCand sbnd::CRTT0MatchAlg::GetClosestCRTHit | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::pair< double, double > | t0MinMax, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
int | driftDirection | ||
) |
Definition at line 277 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
matchCand sbnd::CRTT0MatchAlg::GetClosestCRTHit | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
const art::Event & | event | ||
) |
Definition at line 268 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
matchCand sbnd::CRTT0MatchAlg::GetClosestCRTHit | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTHit > | crtHits | ||
) |
Definition at line 254 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
void sbnd::CRTT0MatchAlg::reconfigure | ( | const Config & | config | ) |
Definition at line 20 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< double, double > sbnd::CRTT0MatchAlg::T0AndDCAFromCRTHits | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
const art::Event & | event | ||
) |
Definition at line 431 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< double, double > sbnd::CRTT0MatchAlg::T0AndDCAFromCRTHits | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTHit > | crtHits | ||
) |
Definition at line 439 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
double sbnd::CRTT0MatchAlg::T0FromCRTHits | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
const art::Event & | event | ||
) |
Definition at line 402 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
double sbnd::CRTT0MatchAlg::T0FromCRTHits | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTHit > | crtHits | ||
) |
Definition at line 410 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< TVector3, TVector3 > sbnd::CRTT0MatchAlg::TrackDirection | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | track, | ||
double | frac, | ||
double | CRTtime, | ||
int | driftDirection | ||
) |
Definition at line 148 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< TVector3, TVector3 > sbnd::CRTT0MatchAlg::TrackDirectionAverage | ( | recob::Track | track, |
double | frac | ||
) |
Definition at line 115 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< TVector3, TVector3 > sbnd::CRTT0MatchAlg::TrackDirectionAverageFromPoints | ( | recob::Track | track, |
double | frac | ||
) |
Definition at line 199 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< double, double > sbnd::CRTT0MatchAlg::TrackT0Range | ( | detinfo::DetectorPropertiesData const & | detProp, |
double | startX, | ||
double | endX, | ||
int | driftDirection, | ||
std::pair< double, double > | xLimits | ||
) |
Definition at line 54 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.cc.
|
private |
Definition at line 241 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 240 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 238 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 235 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 242 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 230 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 244 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 233 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 243 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 231 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 239 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 237 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 247 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 234 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 236 of file sbndcode/sbndcode/CRT/CRTUtils/CRTT0MatchAlg.h.