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;};
150 return ((*a).m_sectorId == (*b).m_sectorId ) && ((*a).m_stationId == (*b).m_stationId );
157 return ((*a).m_sectorId <= (*b).m_sectorId );
164 return ((*a).m_stationId <= (*b).m_stationId );
171 inline void print(
const std::vector<Seed*> & seeds )
173 std::vector<Seed*>::const_iterator itr;
174 for( itr = seeds.begin(); itr != seeds.end(); ++itr)
182 #endif // TTUTRACKINGALG_H bool operator()(const Seed *a, const Seed *b)
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)
bool operator()(const Seed *a, const Seed *b)
bool operator()(const Seed *a, const Seed *b)