#include <CRTT0MatchAlg.h>
Public Member Functions | |
CRTT0MatchAlg (const fhicl::ParameterSet &pset) | |
CRTT0MatchAlg () | |
void | reconfigure (const fhicl::ParameterSet &pset) |
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, uint64_t trigger_timestamp) |
std::vector< std::pair < sbn::crt::CRTHit, double > > | ClosestCRTHit (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTHit > crtHits, const art::Event &event, uint64_t trigger_timestamp) |
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, uint64_t trigger_timestamp) |
matchCand | GetClosestCRTHit (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::pair< double, double > t0MinMax, std::vector< sbn::crt::CRTHit > crtHits, int driftDirection, uint64_t &trigger_timestamp) |
std::vector< matchCand > | GetClosestCRTHit (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTHit > crtHits, const art::Event &event, uint64_t trigger_timestamp) |
matchCand | GetClosestCRTHit (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< art::Ptr< recob::Hit >> hits, std::vector< sbn::crt::CRTHit > crtHits, uint64_t trigger_timestamp) |
std::vector< double > | T0FromCRTHits (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTHit > crtHits, const art::Event &event, uint64_t trigger_timestamp) |
double | T0FromCRTHits (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< art::Ptr< recob::Hit >> hits, std::vector< sbn::crt::CRTHit > crtHits, uint64_t &trigger_timestamp) |
std::vector< std::pair< double, double > > | T0AndDCAFromCRTHits (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTHit > crtHits, const art::Event &event, uint64_t trigger_timestamp) |
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, uint64_t &trigger_timestamp) |
double | SimpleDCA (sbn::crt::CRTHit hit, TVector3 start, TVector3 direction) |
double | DistToCrtHit (sbn::crt::CRTHit hit, TVector3 start, TVector3 end) |
double | LineSegmentDistance (TVector3 start1, TVector3 end1, TVector3 start2, TVector3 end2) |
std::pair< TVector3, TVector3 > | CubeIntersection (TVector3 min, TVector3 max, TVector3 start, TVector3 end) |
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 |
std::vector< art::InputTag > | fTPCTrackLabel |
Definition at line 74 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
explicit |
Definition at line 7 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
|
default |
std::pair< sbn::crt::CRTHit, double > icarus::CRTT0MatchAlg::ClosestCRTHit | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::pair< double, double > | t0MinMax, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
int | driftDirection, | ||
uint64_t | trigger_timestamp | ||
) |
Definition at line 322 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::vector< std::pair< sbn::crt::CRTHit, double > > icarus::CRTT0MatchAlg::ClosestCRTHit | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
const art::Event & | event, | ||
uint64_t | trigger_timestamp | ||
) |
Definition at line 280 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< sbn::crt::CRTHit, double > icarus::CRTT0MatchAlg::ClosestCRTHit | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
uint64_t | trigger_timestamp | ||
) |
Definition at line 307 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< TVector3, TVector3 > icarus::CRTT0MatchAlg::CubeIntersection | ( | TVector3 | min, |
TVector3 | max, | ||
TVector3 | start, | ||
TVector3 | end | ||
) |
Definition at line 724 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
double icarus::CRTT0MatchAlg::DistOfClosestApproach | ( | detinfo::DetectorPropertiesData const & | detProp, |
TVector3 | trackPos, | ||
TVector3 | trackDir, | ||
sbn::crt::CRTHit | crtHit, | ||
int | driftDirection, | ||
double | t0 | ||
) |
Definition at line 91 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
double icarus::CRTT0MatchAlg::DistToCrtHit | ( | sbn::crt::CRTHit | hit, |
TVector3 | start, | ||
TVector3 | end | ||
) |
Definition at line 631 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
matchCand icarus::CRTT0MatchAlg::GetClosestCRTHit | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::pair< double, double > | t0MinMax, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
int | driftDirection, | ||
uint64_t & | trigger_timestamp | ||
) |
Definition at line 383 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::vector< matchCand > icarus::CRTT0MatchAlg::GetClosestCRTHit | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
const art::Event & | event, | ||
uint64_t | trigger_timestamp | ||
) |
Definition at line 353 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
matchCand icarus::CRTT0MatchAlg::GetClosestCRTHit | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
uint64_t | trigger_timestamp | ||
) |
Definition at line 332 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
double icarus::CRTT0MatchAlg::LineSegmentDistance | ( | TVector3 | start1, |
TVector3 | end1, | ||
TVector3 | start2, | ||
TVector3 | end2 | ||
) |
Definition at line 669 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
void icarus::CRTT0MatchAlg::reconfigure | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 16 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
double icarus::CRTT0MatchAlg::SimpleDCA | ( | sbn::crt::CRTHit | hit, |
TVector3 | start, | ||
TVector3 | direction | ||
) |
Definition at line 620 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::vector< std::pair< double, double > > icarus::CRTT0MatchAlg::T0AndDCAFromCRTHits | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
const art::Event & | event, | ||
uint64_t | trigger_timestamp | ||
) |
Definition at line 578 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< double, double > icarus::CRTT0MatchAlg::T0AndDCAFromCRTHits | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
uint64_t & | trigger_timestamp | ||
) |
Definition at line 603 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::vector< double > icarus::CRTT0MatchAlg::T0FromCRTHits | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
const art::Event & | event, | ||
uint64_t | trigger_timestamp | ||
) |
Definition at line 531 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
double icarus::CRTT0MatchAlg::T0FromCRTHits | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTHit > | crtHits, | ||
uint64_t & | trigger_timestamp | ||
) |
Definition at line 556 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< TVector3, TVector3 > icarus::CRTT0MatchAlg::TrackDirection | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | track, | ||
double | frac, | ||
double | CRTtime, | ||
int | driftDirection | ||
) |
Definition at line 176 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< TVector3, TVector3 > icarus::CRTT0MatchAlg::TrackDirectionAverage | ( | recob::Track | track, |
double | frac | ||
) |
Definition at line 143 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< TVector3, TVector3 > icarus::CRTT0MatchAlg::TrackDirectionAverageFromPoints | ( | recob::Track | track, |
double | frac | ||
) |
Definition at line 256 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
std::pair< double, double > icarus::CRTT0MatchAlg::TrackT0Range | ( | detinfo::DetectorPropertiesData const & | detProp, |
double | startX, | ||
double | endX, | ||
int | driftDirection, | ||
std::pair< double, double > | xLimits | ||
) |
Definition at line 54 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.cc.
|
private |
Definition at line 169 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 168 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 166 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 163 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 170 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 158 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 172 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 161 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 171 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 159 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 167 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 165 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 174 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 162 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.
|
private |
Definition at line 164 of file icaruscode/icaruscode/CRT/CRTUtils/CRTT0MatchAlg.h.