Classes | Functions
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 138 of file TripletFinder.cxx.

139  {
140  // Make sure the bad hits get sorted too
141  if (a.a.hit == 0 && b.a.hit == 0) return a.a.chan < b.a.chan;
142  // But mostly just order the real hits (in some arbitrary order)
143  return a.a.hit < b.a.hit;
144  }
const double a
static bool * b
Definition: config.cpp:1043
bool reco3d::SameXHit ( const ChannelDoublet a,
const ChannelDoublet b 
)

Definition at line 147 of file TripletFinder.cxx.

148  {
149  if (a.a.hit == 0 && b.a.hit == 0) return a.a.chan == b.a.chan;
150  return a.a.hit == b.a.hit;
151  }
const double a
static bool * b
Definition: config.cpp:1043