LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
reco3d Namespace Reference

Classes

struct  ChannelDoublet
 
struct  HitOrChan
 
class  HitsICARUS
 
class  HitsStandard
 
struct  HitTriplet
 
class  IHitReader
 IHitReader interface class definiton. More...
 
struct  InductionWireWithXPos
 
class  IntersectionCache
 
class  PlotSpacePoints
 
class  SpacePointSolver
 
class  TripletFinder
 
struct  XYZ
 

Functions

bool LessThanXHit (const ChannelDoublet &a, const ChannelDoublet &b)
 
bool SameXHit (const ChannelDoublet &a, const ChannelDoublet &b)
 

Function Documentation

bool reco3d::LessThanXHit ( const ChannelDoublet a,
const ChannelDoublet b 
)

Definition at line 131 of file TripletFinder.cxx.

References reco3d::ChannelDoublet::a, reco3d::HitOrChan::chan, and reco3d::HitOrChan::hit.

Referenced by reco3d::TripletFinder::Triplets().

132  {
133  // Make sure the bad hits get sorted too
134  if (a.a.hit == 0 && b.a.hit == 0) return a.a.chan < b.a.chan;
135  // But mostly just order the real hits (in some arbitrary order)
136  return a.a.hit < b.a.hit;
137  }
bool reco3d::SameXHit ( const ChannelDoublet a,
const ChannelDoublet b 
)

Definition at line 139 of file TripletFinder.cxx.

References reco3d::ChannelDoublet::a, reco3d::HitOrChan::chan, and reco3d::HitOrChan::hit.

Referenced by reco3d::TripletFinder::Triplets().

140  {
141  if (a.a.hit == 0 && b.a.hit == 0) return a.a.chan == b.a.chan;
142  return a.a.hit == b.a.hit;
143  }