20 namespace rb{
class CellHit;
class Track;}
35 std::vector<rb::Track> ToDebugTracks()
const;
36 void Add(
const Cand& c);
38 void AddFront(
const Cand& c);
39 unsigned int FirstPlane()
const;
40 unsigned int LastPlane()
const;
41 unsigned int ExtremalPlane(
Direction dir)
const;
42 unsigned int ExtremalHitPlane(
Direction dir)
const;
43 unsigned int ExtentPlane()
const {
return LastPlane()-FirstPlane();}
44 unsigned int NCands()
const {
return fCands.size();}
52 const Chunk& FirstChunk()
const;
53 const Chunk& LastChunk()
const;
54 const Segment& FirstSeg()
const;
62 std::vector<Chunk> AllChunks()
const;
63 int NHitPlanes()
const;
74 fCands.insert(fCands.end(), c.
fCands.begin(), c.
fCands.end());
76 fCands.insert(fCands.begin(), c.
fCands.begin(), c.
fCands.end());
bool compareByLength(const Chain &a, const Chain &b)
void Add(const Chain &c, Direction dir)
bool compareByStart(const Chain &a, const Chain &b)
Sequence of contiguous hits and dead cells all on the same plane.
const Segment & ExtremalSeg(Direction dir) const
std::map< int, std::vector< Chunk > > ChunkMap
A rb::Prong with full reconstructed trajectory.
Calculation and representation of a straight line passing through several "segment" windows...
Perform a "2 point" Hough transform on a collection of hits.
unsigned int ExtentPlane() const
const Cand & FirstCand() const
Window the line must pass through from (z,y0)-(z,y1)
const Cand & ExtremalCand(Direction dir) const
const Cand & LastCand() const
unsigned int NCands() const
Encapsulate the geometry of one entire detector (near, far, ndos)
bool compareByEnd(const Chain &a, const Chain &b)