1 #ifndef TTUTRACKINGALG_H 2 #define TTUTRACKINGALG_H 1 45 Seed(
int _seId,
int _stId,
int _tl)
76 m_seeds.push_back(sd);
82 m_none = std::make_unique<Seed>(0,0,0);
84 m_seeds.push_back(m_none.get());
89 m_tracklength = m_seeds.size();
96 int length() {
return m_tracklength;};
145 inline void print(
const std::vector<Seed*> & seeds )
147 std::vector<Seed*>::const_iterator itr;
148 for( itr = seeds.begin(); itr != seeds.end(); ++itr)
156 #endif // TTUTRACKINGALG_H
std::vector< std::unique_ptr< Seed > > m_initialseeds
void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig &) override
void findNeighbors(Seed *, std::vector< Seed * > &)
void print(const std::vector< Seed * > &seeds)
void ghostBuster(Track *)
TTUTrackingAlg()
Standard constructor.
void setMinTrkLength(int val)
std::vector< std::unique_ptr< Track > > m_tracks
bool operator==(const Seed &rhs)
void filter(Track *, std::vector< Seed * > &)
Seed(int _seId, int _stId, int _tl)
std::vector< Seed * > m_seeds
std::unique_ptr< Seed > m_none
int executeTracker(Track *, std::vector< Seed * > &)
~TTUTrackingAlg() override
Destructor.
bool process(const TTUInput &) override
bool operator()(T const &a, T const &b)
void runSeedBuster(const TTUInput &)
bool operator<(const Track &rhs)