CMS 3D CMS Logo

MuonCandidate.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackingTools_MuonCandidate_H
2 #define RecoMuon_TrackingTools_MuonCandidate_H
3 
12 #include <vector>
13 
14 
15 class MuonCandidate {
16 
17  public:
18 
19  typedef std::vector<Trajectory*> TrajectoryContainer;
20  typedef std::vector<MuonCandidate*> CandidateContainer;
21 
22  public:
23 
26  const reco::TrackRef& muon,
27  const reco::TrackRef& tracker,
28  Trajectory* trackerTraj) :
29  theTrajectory(traj), theMuonTrack(muon), theTrackerTrack(tracker), theTrackerTrajectory(trackerTraj) {}
30 
32  const reco::TrackRef& muon,
33  const reco::TrackRef& tracker) :
35 
37  virtual ~MuonCandidate() { }
38 
40  Trajectory* trajectory() const { return theTrajectory; }
41 
43  const reco::TrackRef muonTrack() const { return theMuonTrack; }
44 
46  const reco::TrackRef trackerTrack() const { return theTrackerTrack; }
47 
50 
51  private:
52 
57 
58 };
59 #endif
const reco::TrackRef muonTrack() const
return muon track
Definition: MuonCandidate.h:43
std::vector< Trajectory * > TrajectoryContainer
Definition: MuonCandidate.h:19
Trajectory * theTrajectory
Definition: MuonCandidate.h:53
#define nullptr
reco::TrackRef theTrackerTrack
Definition: MuonCandidate.h:55
const reco::TrackRef trackerTrack() const
return tracker track
Definition: MuonCandidate.h:46
Trajectory * trackerTrajectory() const
return tracker trajectory
Definition: MuonCandidate.h:49
reco::TrackRef theMuonTrack
Definition: MuonCandidate.h:54
std::vector< MuonCandidate * > CandidateContainer
Definition: MuonCandidate.h:20
MuonCandidate(Trajectory *traj, const reco::TrackRef &muon, const reco::TrackRef &tracker, Trajectory *trackerTraj)
constructor
Definition: MuonCandidate.h:25
MuonCandidate(Trajectory *traj, const reco::TrackRef &muon, const reco::TrackRef &tracker)
Definition: MuonCandidate.h:31
Trajectory * trajectory() const
return trajectory
Definition: MuonCandidate.h:40
Trajectory * theTrackerTrajectory
Definition: MuonCandidate.h:56
virtual ~MuonCandidate()
destructor
Definition: MuonCandidate.h:37