CMS 3D CMS Logo

RecoStandAloneMuonCandidate.cc
Go to the documentation of this file.
2 
3 using namespace reco;
4 
6 
8  return new RecoStandAloneMuonCandidate( * this );
9 }
10 
12  return standAloneMuonTrack_;
13 }
14 
16  const RecoCandidate * o = dynamic_cast<const RecoCandidate *>( & c );
17  return (o != nullptr &&
18  (checkOverlap(standAloneMuon(), o->track()) ||
21  );
22 }
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:69
virtual reco::TrackRef standAloneMuon() const
reference to a stand-alone muon Track
virtual reco::TrackRef track() const
reference to a Track
reco::TrackRef standAloneMuon() const override
reference to a track
fixed size matrix
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
virtual reco::TrackRef combinedMuon() const
reference to a stand-alone muon Track