CMS 3D CMS Logo

SeedCleanerByHitPosition.h
Go to the documentation of this file.
1 #ifndef SeedCleanerByHitPosition_H
2 #define SeedCleanerByHitPosition_H
4 
6  public:
8  void add(const Trajectory *traj) override { }
9 
11  void init(const std::vector<Trajectory> *vect) override { trajectories = vect; }
12 
13  void done() override ;
14 
16  bool good(const TrajectorySeed *seed) override ;
17 
18 
19  SeedCleanerByHitPosition() : RedundantSeedCleaner(), trajectories(nullptr) /*,comps_(0), tracks_(0), calls_(0)*/ {}
20  private:
21  const std::vector<Trajectory> *trajectories;
22  //uint64_t comps_, tracks_, calls_;
23 
24 };
25 
26 #endif
void add(const Trajectory *traj) override
void done() override
Tells the cleaner that the seeds are finished, and so it can clear any cache it has.
#define nullptr
bool good(const TrajectorySeed *seed) override
Returns true if the seed is not overlapping with another trajectory.
const std::vector< Trajectory > * trajectories
void init(const std::vector< Trajectory > *vect) override
Provides the cleaner a pointer to the vector where trajectories are stored, in case it does not want ...