#include <TripletFinder.h>
Public Member Functions | |
TripletFinder (const detinfo::DetectorPropertiesData &detProp, const std::vector< art::Ptr< recob::Hit >> &xhits, const std::vector< art::Ptr< recob::Hit >> &uhits, const std::vector< art::Ptr< recob::Hit >> &vhits, const std::vector< raw::ChannelID_t > &xbad, const std::vector< raw::ChannelID_t > &ubad, const std::vector< raw::ChannelID_t > &vbad, double distThresh, double distThreshDrift, double xhitOffset) | |
std::vector< HitTriplet > | Triplets () |
std::vector< HitTriplet > | TripletsTwoView () |
Only search for XU intersections. More... | |
Protected Member Functions | |
void | FillHitMap (const detinfo::DetectorPropertiesData &clockData, const std::vector< art::Ptr< recob::Hit >> &hits, std::map< geo::TPCID, std::vector< HitOrChan >> &out) |
Helper for constructor. More... | |
void | FillBadMap (const std::vector< raw::ChannelID_t > &bads, std::map< geo::TPCID, std::vector< raw::ChannelID_t >> &out) |
Helper for constructor. More... | |
bool | CloseDrift (double xa, double xb) const |
bool | CloseSpace (geo::WireIDIntersection ra, geo::WireIDIntersection rb) const |
std::vector< ChannelDoublet > | DoubletsXU (geo::TPCID tpc) |
std::vector< ChannelDoublet > | DoubletsXV (geo::TPCID tpc) |
std::vector< ChannelDoublet > | DoubletHelper (geo::TPCID tpc, const std::vector< HitOrChan > &ahits, const std::vector< HitOrChan > &bhits, const std::vector< raw::ChannelID_t > &bbads) const |
Protected Attributes | |
const geo::GeometryCore * | geom |
double | fDistThresh |
double | fDistThreshDrift |
double | fXHitOffset |
std::map< geo::TPCID, std::vector< HitOrChan > > | fX_by_tpc |
std::map< geo::TPCID, std::vector< HitOrChan > > | fU_by_tpc |
std::map< geo::TPCID, std::vector< HitOrChan > > | fV_by_tpc |
std::map< geo::TPCID, std::vector< raw::ChannelID_t > > | fXbad_by_tpc |
std::map< geo::TPCID, std::vector< raw::ChannelID_t > > | fUbad_by_tpc |
std::map< geo::TPCID, std::vector< raw::ChannelID_t > > | fVbad_by_tpc |
Definition at line 51 of file TripletFinder.h.
reco3d::TripletFinder::TripletFinder | ( | const detinfo::DetectorPropertiesData & | detProp, |
const std::vector< art::Ptr< recob::Hit >> & | xhits, | ||
const std::vector< art::Ptr< recob::Hit >> & | uhits, | ||
const std::vector< art::Ptr< recob::Hit >> & | vhits, | ||
const std::vector< raw::ChannelID_t > & | xbad, | ||
const std::vector< raw::ChannelID_t > & | ubad, | ||
const std::vector< raw::ChannelID_t > & | vbad, | ||
double | distThresh, | ||
double | distThreshDrift, | ||
double | xhitOffset | ||
) |
Definition at line 13 of file TripletFinder.cxx.
|
protected |
Definition at line 122 of file TripletFinder.cxx.
|
protected |
Definition at line 129 of file TripletFinder.cxx.
|
protected |
Definition at line 302 of file TripletFinder.cxx.
|
protected |
Definition at line 272 of file TripletFinder.cxx.
|
protected |
Definition at line 287 of file TripletFinder.cxx.
|
protected |
Helper for constructor.
Definition at line 62 of file TripletFinder.cxx.
|
protected |
Helper for constructor.
Definition at line 39 of file TripletFinder.cxx.
std::vector< HitTriplet > reco3d::TripletFinder::Triplets | ( | ) |
Definition at line 155 of file TripletFinder.cxx.
std::vector< HitTriplet > reco3d::TripletFinder::TripletsTwoView | ( | ) |
Only search for XU intersections.
Definition at line 238 of file TripletFinder.cxx.
|
protected |
Definition at line 90 of file TripletFinder.h.
|
protected |
Definition at line 91 of file TripletFinder.h.
|
protected |
Definition at line 95 of file TripletFinder.h.
|
protected |
Definition at line 100 of file TripletFinder.h.
|
protected |
Definition at line 96 of file TripletFinder.h.
|
protected |
Definition at line 101 of file TripletFinder.h.
|
protected |
Definition at line 94 of file TripletFinder.h.
|
protected |
Definition at line 99 of file TripletFinder.h.
|
protected |
Definition at line 92 of file TripletFinder.h.
|
protected |
Definition at line 69 of file TripletFinder.h.