Classes | Enumerations | Functions | Variables
dt Namespace Reference

Classes

class  Cand
 Calculation and representation of a straight line passing through several "segment" windows. More...
 
class  Chain
 Collection of overlapping Cands forming a 2D track. More...
 
class  Channel
 Representation of the state of a single detector channel. More...
 
class  Chunk
 Sequence of contiguous hits and dead cells all on the same plane. More...
 
class  DiscreteTracker
 Job module performing "discrete" track reconstruction. More...
 
struct  Segment
 Window the line must pass through from (z,y0)-(z,y1) More...
 
struct  SpliceDesc
 
struct  SubSeg
 Just the upstream or downstream part, just coordinates. More...
 
class  View
 Representation of the channels in one view. More...
 
class  ViewMerger
 Match 2D tracks into 3D tracks. More...
 

Enumerations

enum  Direction { kUpstream, kDownstream }
 

Functions

bool compareByLength (const Chain &a, const Chain &b)
 
bool compareByStart (const Chain &a, const Chain &b)
 
bool compareByEnd (const Chain &a, const Chain &b)
 
bool CompareByLength (const rb::Track &a, const rb::Track &b)
 
std::ostream & operator<< (std::ostream &os, const Segment &seg)
 
Direction OtherDir (Direction d)
 
bool CompareByLengthVM (const rb::Track &a, const rb::Track &b)
 

Variables

const double kCornerR = .94
 

Enumeration Type Documentation

Enumerator
kUpstream 
kDownstream 

Definition at line 5 of file Types.h.

Function Documentation

bool dt::compareByEnd ( const Chain a,
const Chain b 
)

Definition at line 361 of file Chain.cxx.

References dt::Chain::LastPlane().

362  {
363  return a.LastPlane() < b.LastPlane();
364  }
const double a
const hit & b
Definition: hits.cxx:21
bool dt::compareByLength ( const Chain a,
const Chain b 
)

Definition at line 349 of file Chain.cxx.

References dt::Chain::ExtentPlane().

350  {
351  return a.ExtentPlane() < b.ExtentPlane();
352  }
const double a
const hit & b
Definition: hits.cxx:21
bool dt::CompareByLength ( const rb::Track a,
const rb::Track b 
)

Definition at line 918 of file DiscreteTracker_module.cc.

References rb::Track::TotalLength().

Referenced by dt::DiscreteTracker::FindVertex().

919  {
920  return a.TotalLength() < b.TotalLength();
921  }
virtual double TotalLength() const
Length (cm) of all the track segments.
Definition: Track.cxx:213
bool dt::CompareByLengthVM ( const rb::Track a,
const rb::Track b 
)

Definition at line 870 of file ViewMerger_module.cc.

References rb::Track::TotalLength().

Referenced by dt::ViewMerger::FindVertex().

871  {
872  return a.TotalLength() < b.TotalLength();
873  }
virtual double TotalLength() const
Length (cm) of all the track segments.
Definition: Track.cxx:213
bool dt::compareByStart ( const Chain a,
const Chain b 
)

Definition at line 355 of file Chain.cxx.

References dt::Chain::FirstPlane().

356  {
357  return a.FirstPlane() < b.FirstPlane();
358  }
const double a
const hit & b
Definition: hits.cxx:21
std::ostream & dt::operator<< ( std::ostream &  os,
const Segment seg 
)

Definition at line 27 of file Segment.cxx.

References dt::Segment::cellHi, dt::Segment::cellLo, allTimeWatchdog::endl, dt::Segment::left, and dt::Segment::plane.

28  {
29  os << "Seg at " << seg. plane << " from " << seg.cellLo
30  << " to " << seg.cellHi << ". Left? " << seg.left << std::endl;
31  return os;
32  }
Direction dt::OtherDir ( Direction  d)
inline

Definition at line 7 of file Types.h.

References kUpstream.

Referenced by dt::DiscreteTracker::CheckAndFixSparseChain(), and dt::DiscreteTracker::SpliceChains().

8  {
9  return (d == kUpstream) ? kDownstream : kUpstream;
10  }
Float_t d
Definition: plot.C:236

Variable Documentation

const double dt::kCornerR = .94

Definition at line 18 of file Chunk.cxx.