CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoStandAloneMuonCandidate.cc
Go to the documentation of this file.
1 // $Id: RecoStandAloneMuonCandidate.cc,v 1.1 2007/12/14 12:39:00 llista Exp $
3 
4 using namespace reco;
5 
7 
9  return new RecoStandAloneMuonCandidate( * this );
10 }
11 
13  return standAloneMuonTrack_;
14 }
15 
17  const RecoCandidate * o = dynamic_cast<const RecoCandidate *>( & c );
18  return (o != 0 &&
19  (checkOverlap(standAloneMuon(), o->track()) ||
22  );
23 }
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:67
virtual bool overlap(const Candidate &) const
check overlap with another candidate
virtual reco::TrackRef standAloneMuon() const
reference to a stand-alone muon Track
virtual reco::TrackRef track() const
reference to a Track
virtual RecoStandAloneMuonCandidate * clone() const
returns a clone of the candidate
reco::TrackRef standAloneMuonTrack_
reference to a track
virtual reco::TrackRef standAloneMuon() const
reference to a track
virtual reco::TrackRef combinedMuon() const
reference to a stand-alone muon Track