CMS 3D CMS Logo

SeedCleanerBySharedInput.h

Go to the documentation of this file.
00001 #ifndef SeedCleanerBySharedInput_H
00002 #define SeedCleanerBySharedInput_H
00003 #include "RecoTracker/CkfPattern/interface/RedundantSeedCleaner.h"
00004 
00008 class SeedCleanerBySharedInput : public RedundantSeedCleaner  {
00009   public:
00011    virtual void add(const Trajectory *traj) { }
00012 
00014    virtual void init(const std::vector<Trajectory> *vect) { trajectories = vect; }
00015 
00016    virtual void done() { trajectories = 0; };
00017    
00019    virtual bool good(const TrajectorySeed *seed) ;
00020 
00021    
00022    SeedCleanerBySharedInput() : RedundantSeedCleaner(), trajectories(0) {}
00023   private:
00024    const std::vector<Trajectory> *trajectories; 
00025    
00026 };
00027 
00028 #endif

Generated on Tue Jun 9 17:45:19 2009 for CMSSW by  doxygen 1.5.4