CMS 3D CMS Logo

ME0Muon.cc
Go to the documentation of this file.
1 
7 using namespace reco;
8 
10 
11 bool ME0Muon::overlap(const Candidate &c) const {
12  const RecoCandidate *o = dynamic_cast<const RecoCandidate *>(&c);
13  return (o != nullptr && (checkOverlap(track(), o->track())));
14 }
reco::ME0Muon::ME0Muon
ME0Muon()
Definition: ME0Muon.cc:9
reco::RecoCandidate::checkOverlap
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:67
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
reco::ME0Muon::track
TrackRef track() const override
reference to a Track
Definition: ME0Muon.h:35
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
reco::RecoCandidate
Definition: RecoCandidate.h:20
ME0Muon.h
reco::Candidate
Definition: Candidate.h:27
reco::ME0Muon::overlap
bool overlap(const Candidate &) const override
check overlap with another candidate
Definition: ME0Muon.cc:11