#include <CRTTrackMatchAlg.h>
Classes | |
struct | Config |
Public Member Functions | |
CRTTrackMatchAlg (const Config &config) | |
CRTTrackMatchAlg (const Config &config, geo::GeometryCore const *GeometryService) | |
CRTTrackMatchAlg (const fhicl::ParameterSet &pset) | |
~CRTTrackMatchAlg () | |
void | reconfigure (const Config &config) |
std::pair< TVector3, TVector3 > | TpcIntersection (const geo::TPCGeo &tpcGeo, sbn::crt::CRTTrack track) |
bool | CrossesTPC (sbn::crt::CRTTrack track) |
bool | CrossesAPA (sbn::crt::CRTTrack track) |
double | T0FromCRTTracks (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTTrack > crtTracks, const art::Event &event) |
double | T0FromCRTTracks (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< art::Ptr< recob::Hit >> hits, std::vector< sbn::crt::CRTTrack > crtTracks) |
int | GetMatchedCRTTrackId (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTTrack > crtTracks, const art::Event &event) |
int | GetMatchedCRTTrackId (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< art::Ptr< recob::Hit >> hits, std::vector< sbn::crt::CRTTrack > crtTracks) |
std::pair< int, double > | GetMatchedCRTTrackIdAndScore (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTTrack > crtTracks, const art::Event &event) |
std::pair< int, double > | GetMatchedCRTTrackIdAndScore (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< art::Ptr< recob::Hit >> hits, std::vector< sbn::crt::CRTTrack > crtTracks) |
std::vector< sbn::crt::CRTTrack > | AllPossibleCRTTracks (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTTrack > crtTracks, const art::Event &event) |
std::vector< sbn::crt::CRTTrack > | AllPossibleCRTTracks (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< art::Ptr< recob::Hit >> hits, std::vector< sbn::crt::CRTTrack > crtTracks) |
std::pair< sbn::crt::CRTTrack, double > | ClosestCRTTrackByAngle (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTTrack > crtTracks, const art::Event &event, double minDCA=0.) |
std::pair< sbn::crt::CRTTrack, double > | ClosestCRTTrackByAngle (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< art::Ptr< recob::Hit >> hits, std::vector< sbn::crt::CRTTrack > crtTracks, double minDCA=0.) |
std::pair< sbn::crt::CRTTrack, double > | ClosestCRTTrackByDCA (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTTrack > crtTracks, const art::Event &event, double minAngle=0.) |
std::pair< sbn::crt::CRTTrack, double > | ClosestCRTTrackByDCA (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< art::Ptr< recob::Hit >> hits, std::vector< sbn::crt::CRTTrack > crtTracks, double minAngle=0.) |
std::pair< sbn::crt::CRTTrack, double > | ClosestCRTTrackByScore (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< sbn::crt::CRTTrack > crtTracks, const art::Event &event) |
std::pair< sbn::crt::CRTTrack, double > | ClosestCRTTrackByScore (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< art::Ptr< recob::Hit >> hits, std::vector< sbn::crt::CRTTrack > crtTracks) |
double | AngleBetweenTracks (recob::Track tpcTrack, sbn::crt::CRTTrack crtTrack) |
double | AveDCABetweenTracks (recob::Track tpcTrack, sbn::crt::CRTTrack crtTrack, double shift) |
double | AveDCABetweenTracks (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, sbn::crt::CRTTrack crtTrack, const art::Event &event) |
double | AveDCABetweenTracks (detinfo::DetectorPropertiesData const &detProp, recob::Track tpcTrack, std::vector< art::Ptr< recob::Hit >> hits, sbn::crt::CRTTrack crtTrack) |
Private Attributes | |
geo::GeometryCore const * | fGeometryService |
CRTBackTracker | fCrtBackTrack |
double | fMaxAngleDiff |
double | fMaxDistance |
double | fMaxScore |
std::string | fSelectionMetric |
art::InputTag | fTPCTrackLabel |
Definition at line 61 of file CRTTrackMatchAlg.h.
sbnd::CRTTrackMatchAlg::CRTTrackMatchAlg | ( | const Config & | config | ) |
Definition at line 5 of file CRTTrackMatchAlg.cc.
sbnd::CRTTrackMatchAlg::CRTTrackMatchAlg | ( | const Config & | config, |
geo::GeometryCore const * | GeometryService | ||
) |
Definition at line 8 of file CRTTrackMatchAlg.cc.
|
inline |
Definition at line 98 of file CRTTrackMatchAlg.h.
sbnd::CRTTrackMatchAlg::~CRTTrackMatchAlg | ( | ) |
Definition at line 23 of file CRTTrackMatchAlg.cc.
std::vector< sbn::crt::CRTTrack > sbnd::CRTTrackMatchAlg::AllPossibleCRTTracks | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTTrack > | crtTracks, | ||
const art::Event & | event | ||
) |
Definition at line 166 of file CRTTrackMatchAlg.cc.
std::vector< sbn::crt::CRTTrack > sbnd::CRTTrackMatchAlg::AllPossibleCRTTracks | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTTrack > | crtTracks | ||
) |
Definition at line 176 of file CRTTrackMatchAlg.cc.
double sbnd::CRTTrackMatchAlg::AngleBetweenTracks | ( | recob::Track | tpcTrack, |
sbn::crt::CRTTrack | crtTrack | ||
) |
Definition at line 347 of file CRTTrackMatchAlg.cc.
double sbnd::CRTTrackMatchAlg::AveDCABetweenTracks | ( | recob::Track | tpcTrack, |
sbn::crt::CRTTrack | crtTrack, | ||
double | shift | ||
) |
Definition at line 364 of file CRTTrackMatchAlg.cc.
double sbnd::CRTTrackMatchAlg::AveDCABetweenTracks | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
sbn::crt::CRTTrack | crtTrack, | ||
const art::Event & | event | ||
) |
Definition at line 390 of file CRTTrackMatchAlg.cc.
double sbnd::CRTTrackMatchAlg::AveDCABetweenTracks | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
sbn::crt::CRTTrack | crtTrack | ||
) |
Definition at line 400 of file CRTTrackMatchAlg.cc.
std::pair< sbn::crt::CRTTrack, double > sbnd::CRTTrackMatchAlg::ClosestCRTTrackByAngle | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTTrack > | crtTracks, | ||
const art::Event & | event, | ||
double | minDCA = 0. |
||
) |
Definition at line 217 of file CRTTrackMatchAlg.cc.
std::pair< sbn::crt::CRTTrack, double > sbnd::CRTTrackMatchAlg::ClosestCRTTrackByAngle | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTTrack > | crtTracks, | ||
double | minDCA = 0. |
||
) |
Definition at line 226 of file CRTTrackMatchAlg.cc.
std::pair< sbn::crt::CRTTrack, double > sbnd::CRTTrackMatchAlg::ClosestCRTTrackByDCA | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTTrack > | crtTracks, | ||
const art::Event & | event, | ||
double | minAngle = 0. |
||
) |
Definition at line 259 of file CRTTrackMatchAlg.cc.
std::pair< sbn::crt::CRTTrack, double > sbnd::CRTTrackMatchAlg::ClosestCRTTrackByDCA | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTTrack > | crtTracks, | ||
double | minAngle = 0. |
||
) |
Definition at line 268 of file CRTTrackMatchAlg.cc.
std::pair< sbn::crt::CRTTrack, double > sbnd::CRTTrackMatchAlg::ClosestCRTTrackByScore | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTTrack > | crtTracks, | ||
const art::Event & | event | ||
) |
Definition at line 304 of file CRTTrackMatchAlg.cc.
std::pair< sbn::crt::CRTTrack, double > sbnd::CRTTrackMatchAlg::ClosestCRTTrackByScore | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTTrack > | crtTracks | ||
) |
Definition at line 313 of file CRTTrackMatchAlg.cc.
bool sbnd::CRTTrackMatchAlg::CrossesAPA | ( | sbn::crt::CRTTrack | track | ) |
bool sbnd::CRTTrackMatchAlg::CrossesTPC | ( | sbn::crt::CRTTrack | track | ) |
Definition at line 70 of file CRTTrackMatchAlg.cc.
int sbnd::CRTTrackMatchAlg::GetMatchedCRTTrackId | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTTrack > | crtTracks, | ||
const art::Event & | event | ||
) |
Definition at line 115 of file CRTTrackMatchAlg.cc.
int sbnd::CRTTrackMatchAlg::GetMatchedCRTTrackId | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTTrack > | crtTracks | ||
) |
Definition at line 122 of file CRTTrackMatchAlg.cc.
std::pair< int, double > sbnd::CRTTrackMatchAlg::GetMatchedCRTTrackIdAndScore | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTTrack > | crtTracks, | ||
const art::Event & | event | ||
) |
Definition at line 128 of file CRTTrackMatchAlg.cc.
std::pair< int, double > sbnd::CRTTrackMatchAlg::GetMatchedCRTTrackIdAndScore | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTTrack > | crtTracks | ||
) |
Definition at line 137 of file CRTTrackMatchAlg.cc.
void sbnd::CRTTrackMatchAlg::reconfigure | ( | const Config & | config | ) |
Definition at line 28 of file CRTTrackMatchAlg.cc.
double sbnd::CRTTrackMatchAlg::T0FromCRTTracks | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< sbn::crt::CRTTrack > | crtTracks, | ||
const art::Event & | event | ||
) |
Definition at line 84 of file CRTTrackMatchAlg.cc.
double sbnd::CRTTrackMatchAlg::T0FromCRTTracks | ( | detinfo::DetectorPropertiesData const & | detProp, |
recob::Track | tpcTrack, | ||
std::vector< art::Ptr< recob::Hit >> | hits, | ||
std::vector< sbn::crt::CRTTrack > | crtTracks | ||
) |
Definition at line 92 of file CRTTrackMatchAlg.cc.
std::pair< TVector3, TVector3 > sbnd::CRTTrackMatchAlg::TpcIntersection | ( | const geo::TPCGeo & | tpcGeo, |
sbn::crt::CRTTrack | track | ||
) |
Definition at line 43 of file CRTTrackMatchAlg.cc.
|
private |
Definition at line 192 of file CRTTrackMatchAlg.h.
|
private |
Definition at line 190 of file CRTTrackMatchAlg.h.
|
private |
Definition at line 194 of file CRTTrackMatchAlg.h.
|
private |
Definition at line 195 of file CRTTrackMatchAlg.h.
|
private |
Definition at line 196 of file CRTTrackMatchAlg.h.
|
private |
Definition at line 197 of file CRTTrackMatchAlg.h.
|
private |
Definition at line 199 of file CRTTrackMatchAlg.h.