#include <TTUTrackingAlg.h>
Public Member Functions | |
void | add (Seed *sd) |
void | addnone () |
int | length () |
bool | operator< (const Track &rhs) |
Track () | |
Track (const Track &trk) | |
void | updateTrkLength () |
~Track () | |
Public Attributes | |
std::vector< Seed * > | m_seeds |
Private Attributes | |
int | m_tracklength |
Definition at line 74 of file TTUTrackingAlg.h.
TTUTrackingAlg::Track::Track | ( | ) | [inline] |
TTUTrackingAlg::Track::~Track | ( | ) | [inline] |
Definition at line 79 of file TTUTrackingAlg.h.
References m_seeds, and m_tracklength.
{ if ( m_tracklength < 0 ) delete m_seeds[0]; m_seeds.clear(); };
TTUTrackingAlg::Track::Track | ( | const Track & | trk | ) | [inline] |
Definition at line 84 of file TTUTrackingAlg.h.
References m_seeds, and m_tracklength.
{ m_seeds = trk.m_seeds; m_tracklength = trk.m_tracklength; };
void TTUTrackingAlg::Track::add | ( | Seed * | sd | ) | [inline] |
Definition at line 90 of file TTUTrackingAlg.h.
References m_seeds, and m_tracklength.
Referenced by TTUTrackingAlg::executeTracker(), and TTUTrackingAlg::process().
{ m_seeds.push_back(sd); ++m_tracklength; };
void TTUTrackingAlg::Track::addnone | ( | ) | [inline] |
Definition at line 95 of file TTUTrackingAlg.h.
References m_seeds, and m_tracklength.
Referenced by TTUTrackingAlg::process().
{ Seed *_sd = new Seed(0,0,0); m_seeds.push_back(_sd); m_tracklength = -1; };
int TTUTrackingAlg::Track::length | ( | ) | [inline] |
Definition at line 109 of file TTUTrackingAlg.h.
{ return m_tracklength;};
bool TTUTrackingAlg::Track::operator< | ( | const Track & | rhs | ) | [inline] |
Definition at line 105 of file TTUTrackingAlg.h.
References m_tracklength.
{ return m_tracklength < rhs.m_tracklength; };
void TTUTrackingAlg::Track::updateTrkLength | ( | ) | [inline] |
Definition at line 101 of file TTUTrackingAlg.h.
References m_seeds, and m_tracklength.
Referenced by TTUTrackingAlg::ghostBuster().
{ m_tracklength = m_seeds.size(); };
std::vector<Seed*> TTUTrackingAlg::Track::m_seeds |
Definition at line 109 of file TTUTrackingAlg.h.
Referenced by add(), addnone(), TTUTrackingAlg::filter(), TTUTrackingAlg::ghostBuster(), Track(), updateTrkLength(), and ~Track().
int TTUTrackingAlg::Track::m_tracklength [private] |
Definition at line 115 of file TTUTrackingAlg.h.
Referenced by add(), addnone(), operator<(), Track(), updateTrkLength(), and ~Track().