3 #ifndef RECO3D_TRIPLETFINDER_H 4 #define RECO3D_TRIPLETFINDER_H 12 class DetectorPropertiesData;
57 const std::vector<raw::ChannelID_t>& xbad,
58 const std::vector<raw::ChannelID_t>& ubad,
59 const std::vector<raw::ChannelID_t>& vbad,
61 double distThreshDrift,
64 std::vector<HitTriplet> Triplets();
66 std::vector<HitTriplet> TripletsTwoView();
74 std::map<
geo::TPCID, std::vector<HitOrChan>>& out);
76 void FillBadMap(
const std::vector<raw::ChannelID_t>& bads,
77 std::map<
geo::TPCID, std::vector<raw::ChannelID_t>>& out);
79 bool CloseDrift(
double xa,
double xb)
const;
82 std::vector<ChannelDoublet> DoubletsXU(
geo::TPCID tpc);
83 std::vector<ChannelDoublet> DoubletsXV(
geo::TPCID tpc);
85 std::vector<ChannelDoublet> DoubletHelper(
geo::TPCID tpc,
86 const std::vector<HitOrChan>& ahits,
87 const std::vector<HitOrChan>& bhits,
88 const std::vector<raw::ChannelID_t>& bbads)
const;
94 std::map<geo::TPCID, std::vector<HitOrChan>>
fX_by_tpc;
95 std::map<geo::TPCID, std::vector<HitOrChan>>
fU_by_tpc;
96 std::map<geo::TPCID, std::vector<HitOrChan>>
fV_by_tpc;
geo::WireIDIntersection pt
Reconstruction base classes.
Declaration of signal hit object.
ChannelDoublet(HitOrChan a_, HitOrChan b_, geo::WireIDIntersection p)
std::map< geo::TPCID, std::vector< HitOrChan > > fX_by_tpc
HitOrChan(const recob::Hit *h, double x)
std::map< geo::TPCID, std::vector< HitOrChan > > fV_by_tpc
std::map< geo::TPCID, std::vector< raw::ChannelID_t > > fXbad_by_tpc
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
HitOrChan(raw::ChannelID_t c)
std::map< geo::TPCID, std::vector< HitOrChan > > fU_by_tpc
const geo::GeometryCore * geom
General LArSoft Utilities.
The data type to uniquely identify a TPC.
Description of geometry of one entire detector.
Definition of data types for geometry description.
Detector simulation of raw signals on wires.
2D representation of charge deposited in the TDC/wire plane
unsigned int ChannelID_t
Type representing the ID of a readout channel.
std::map< geo::TPCID, std::vector< raw::ChannelID_t > > fUbad_by_tpc
Namespace collecting geometry-related classes utilities.
std::map< geo::TPCID, std::vector< raw::ChannelID_t > > fVbad_by_tpc