CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/TrackingTools/TrajectoryCleaning/interface/TrajectoryCleanerBySharedSeeds.h

Go to the documentation of this file.
00001 #ifndef TrajectoryCleaning_TrajectoryCleanerBySharedSeeds_h
00002 #define TrajectoryCleaning_TrajectoryCleanerBySharedSeeds_h
00003 
00004 #include "TrackingTools/TrajectoryCleaning/interface/TrajectoryCleaner.h"
00005 
00006 
00007 
00008 class TrajectoryCleanerBySharedSeeds : public TrajectoryCleaner
00009 {
00010 public:
00011   typedef std::vector<Trajectory*> TrajectoryPointerContainer;
00012 
00013   TrajectoryCleanerBySharedSeeds(const edm::ParameterSet & iConfig){};
00014   virtual ~TrajectoryCleanerBySharedSeeds(){};
00015 
00016   using TrajectoryCleaner::clean;
00017   virtual void clean(TrajectoryPointerContainer&) const; 
00018   void clean                  (std::vector<Trajectory> & trajs) const; 
00019 
00020 private:
00021   bool sameSeed(const TrajectorySeed & s1, const TrajectorySeed & s2) const;
00022 };
00023 
00024 #endif