CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/TrackingTools/TrajectoryCleaning/interface/TrajectoryCleanerMerger.h

Go to the documentation of this file.
00001 #ifndef TrajectoryCleaning_TrajectoryCleanerMerger_h
00002 #define TrajectoryCleaning_TrajectoryCleanerMerger_h
00003 
00004 #include "TrackingTools/TrajectoryCleaning/interface/TrajectoryCleaner.h"
00005 
00006 class TrajectoryCleanerMerger : public TrajectoryCleaner {
00007 
00008  public:
00009   TrajectoryCleanerMerger(const edm::ParameterSet & iConfig){};
00010   virtual ~TrajectoryCleanerMerger(){};
00011 
00012   using TrajectoryCleaner::clean;
00013   virtual void clean( TrajectoryPointerContainer&) const; 
00014 
00015   void clean(TrajectoryContainer& trajs)const ;
00016 
00017  private:
00018   void reOrderMeasurements(Trajectory& traj) const;
00019   bool sameSeed (const TrajectorySeed & s1, const TrajectorySeed & s2) const;
00020   int getLayer(const DetId & id) const;
00021 };
00022 
00023 #endif