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 
23 
25  MuonTrajectoryCleaner(bool reportGhosts) : reportGhosts_(reportGhosts) {}
26 
29 
30  // Operations
31 
33  void clean(TrajectoryContainer& muonTrajectories,
34  edm::Event& evt,
35  const edm::Handle<edm::View<TrajectorySeed> >& seeds); //used by reference...
36 
38  void clean(CandidateContainer& muonTrajectories); //used by reference...
39 
40 protected:
41 private:
43 };
44 #endif
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)
virtual ~MuonTrajectoryCleaner()
Destructor.
MuonCandidate::CandidateContainer CandidateContainer
MuonCandidate::TrajectoryContainer TrajectoryContainer
std::vector< std::unique_ptr< MuonCandidate > > CandidateContainer
Definition: MuonCandidate.h:18
MuonTrajectoryCleaner()
Constructor.
std::vector< std::unique_ptr< Trajectory > > TrajectoryContainer
Definition: MuonCandidate.h:17