CMS 3D CMS Logo

RecoChargedCandidate.cc
Go to the documentation of this file.
2 
3 using namespace reco;
4 
6 
8 
10 
12  const RecoCandidate *o = dynamic_cast<const RecoCandidate *>(&c);
13  return (o != nullptr && (checkOverlap(track(), o->track()) || checkOverlap(track(), o->standAloneMuon()) ||
14  checkOverlap(track(), o->combinedMuon())));
15 }
reco::RecoChargedCandidate::track
reco::TrackRef track() const override
reference to a track
Definition: RecoChargedCandidate.cc:9
reco::RecoCandidate::checkOverlap
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:67
reco::RecoChargedCandidate::~RecoChargedCandidate
~RecoChargedCandidate() override
destructor
Definition: RecoChargedCandidate.cc:5
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
edm::Ref< TrackCollection >
reco::RecoChargedCandidate::RecoChargedCandidate
RecoChargedCandidate()
default constructor
Definition: RecoChargedCandidate.h:18
reco::RecoChargedCandidate::overlap
bool overlap(const Candidate &) const override
check overlap with another candidate
Definition: RecoChargedCandidate.cc:11
reco::RecoChargedCandidate
Definition: RecoChargedCandidate.h:15
reco::RecoChargedCandidate::track_
reco::TrackRef track_
reference to a track
Definition: RecoChargedCandidate.h:40
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
reco::RecoCandidate
Definition: RecoCandidate.h:20
reco::Candidate
Definition: Candidate.h:27
RecoChargedCandidate.h
reco::RecoChargedCandidate::clone
RecoChargedCandidate * clone() const override
returns a clone of the candidate
Definition: RecoChargedCandidate.cc:7