CMS 3D CMS Logo

MuonTrajectoryCleaner.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackingTools_MuonTrajectoryCleaner_H
2 #define RecoMuon_TrackingTools_MuonTrajectoryCleaner_H
3 
13 #include <vector>
14 
15 //class Event;
17  public:
20 
21 
24 
26  MuonTrajectoryCleaner(bool reportGhosts) : reportGhosts_(reportGhosts) {}
27 
29  virtual ~MuonTrajectoryCleaner() {};
30 
31  // Operations
32 
34  void clean(TrajectoryContainer &muonTrajectories, edm::Event& evt, const edm::Handle<edm::View<TrajectorySeed> >& seeds); //used by reference...
35 
37  void clean(CandidateContainer &muonTrajectories); //used by reference...
38 
39 protected:
40 
41 private:
43 
44 };
45 #endif
46 
void clean(TrajectoryContainer &muonTrajectories, edm::Event &evt, const edm::Handle< edm::View< TrajectorySeed > > &seeds)
Clean the trajectories container, erasing the (worst) clone trajectory.
MuonTrajectoryCleaner(bool reportGhosts)
Constructor for L2 muons (enable reportGhosts)
std::vector< Trajectory * > TrajectoryContainer
Definition: MuonCandidate.h:19
virtual ~MuonTrajectoryCleaner()
Destructor.
MuonCandidate::CandidateContainer CandidateContainer
std::vector< MuonCandidate * > CandidateContainer
Definition: MuonCandidate.h:20
MuonCandidate::TrajectoryContainer TrajectoryContainer
MuonTrajectoryCleaner()
Constructor.