CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SeedCleanerByHitPosition.h
Go to the documentation of this file.
1 #ifndef SeedCleanerByHitPosition_H
2 #define SeedCleanerByHitPosition_H
4 
6  public:
8  virtual void add(const Trajectory *traj) { }
9 
11  virtual void init(const std::vector<Trajectory> *vect) { trajectories = vect; }
12 
13  virtual void done() ;
14 
16  virtual bool good(const TrajectorySeed *seed) ;
17 
18 
19  SeedCleanerByHitPosition() : RedundantSeedCleaner(), trajectories(0) /*,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
virtual void add(const Trajectory *traj)
virtual void init(const std::vector< Trajectory > *vect)
Provides the cleaner a pointer to the vector where trajectories are stored, in case it does not want ...
virtual bool good(const TrajectorySeed *seed)
Returns true if the seed is not overlapping with another trajectory.
virtual void done()
Tells the cleaner that the seeds are finished, and so it can clear any cache it has.
const std::vector< Trajectory > * trajectories