All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
reco3d Namespace Reference

Classes

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

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  }
process_name gaushit a
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  }
process_name gaushit a