1 #ifndef TTUTRACKINGALG_H 2 #define TTUTRACKINGALG_H 1 47 Seed(
int _seId,
int _stId,
int _tl) {
70 m_seeds.push_back(sd);
76 m_none = std::make_unique<Seed>(0, 0, 0);
78 m_seeds.push_back(m_none.get());
86 int length() {
return m_tracklength; };
132 return ((*a).m_sectorId == (*b).m_sectorId) && ((*a).m_stationId == (*b).m_stationId);
144 inline void print(
const std::vector<Seed*>& seeds) {
145 std::vector<Seed*>::const_iterator itr;
146 for (itr = seeds.begin(); itr != seeds.end(); ++itr)
153 #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)