CMS 3D CMS Logo

RecoStandAloneMuonCandidate.h
Go to the documentation of this file.
1 #ifndef RecoCandidate_RecoStandAloneMuonCandidate_h
2 #define RecoCandidate_RecoStandAloneMuonCandidate_h
3 
12 
13 namespace reco {
14 
16  public:
20  RecoStandAloneMuonCandidate( Charge q , const LorentzVector & p4, const Point & vtx = Point( 0, 0, 0 ),
21  int pdgId = 0, int status = 0 ) :
22  RecoCandidate( q, p4, vtx, pdgId, status ) { }
24  RecoStandAloneMuonCandidate( Charge q , const PolarLorentzVector & p4, const Point & vtx = Point( 0, 0, 0 ),
25  int pdgId = 0, int status = 0 ) :
26  RecoCandidate( q, p4, vtx, pdgId, status ) { }
30  RecoStandAloneMuonCandidate * clone() const override;
34  reco::TrackRef standAloneMuon() const override;
35 
36  private:
38  bool overlap( const Candidate & ) const override;
41  };
42 
43 }
44 
45 #endif
int pdgId() const final
PDG identifier.
int Charge
electric charge type
Definition: Candidate.h:35
RecoStandAloneMuonCandidate(Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0)
constructor from values
RecoStandAloneMuonCandidate(Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0)
constructor from values
reco::TrackRef standAloneMuon() const override
reference to a track
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
void setTrack(const reco::TrackRef &r)
set reference to track
fixed size matrix
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:55
int status() const final
status word
reco::TrackRef standAloneMuonTrack_
reference to a track
bool overlap(const Candidate &) const override
check overlap with another candidate
RecoStandAloneMuonCandidate * clone() const override
returns a clone of the candidate
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:27
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:39