Definition at line 73 of file TripletFinder.cxx.
reco3d::IntersectionCache::IntersectionCache |
( |
geo::TPCID |
tpc | ) |
|
|
inline |
Definition at line 75 of file TripletFinder.cxx.
76 :
geom(art::ServiceHandle<geo::Geometry const>()->provider()),
fTPC(tpc)
const geo::GeometryCore * geom
Definition at line 98 of file TripletFinder.cxx.
std::vector< geo::WireID > ChannelToWire(raw::ChannelID_t const channel) const
Returns a list of wires connected to the specified TPC channel.
const geo::GeometryCore * geom
The data type to uniquely identify a TPC.
bool WireIDsIntersect(WireID const &wid1, WireID const &wid2, geo::Point_t &intersection) const
Computes the intersection between two wires.
Definition at line 80 of file TripletFinder.cxx.
82 const auto key = std::make_pair(
a, b);
84 auto it =
fMap.find(key);
85 if (it !=
fMap.end()) {
90 const bool res =
ISect(
a, b, pt);
91 fMap.insert({key, res});
std::map< std::pair< raw::ChannelID_t, raw::ChannelID_t >, geo::WireIDIntersection > fPtMap
std::map< std::pair< raw::ChannelID_t, raw::ChannelID_t >, bool > fMap
bool ISect(raw::ChannelID_t chanA, raw::ChannelID_t chanB, geo::WireIDIntersection &pt) const
The documentation for this class was generated from the following file: