CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RedundantSeedCleaner.h
Go to the documentation of this file.
1 #ifndef RedundantSeedCleaner_H
2 #define RedundantSeedCleaner_H
5 #include <vector>
6 
8  public:
11  virtual void add(const Trajectory *traj) = 0;
12 
14  virtual void init(const std::vector<Trajectory> *vect) = 0;
15 
17  virtual bool good(const TrajectorySeed *seed) = 0;
18 
20  virtual void done() = 0;
21 };
22 #endif
virtual void done()=0
Tells the cleaner that the seeds are finished, and so it can clear any cache it has.
virtual void add(const Trajectory *traj)=0
Informs the cleaner that a new trajectory has been made, in case the cleaner keeps a local collection...
virtual bool good(const TrajectorySeed *seed)=0
Returns true if the seed is not overlapping with another trajectory.
virtual void init(const std::vector< Trajectory > *vect)=0
Provides the cleaner a pointer to the vector where trajectories are stored, in case it does not want ...