CMS 3D CMS Logo

RecoEcalCandidate.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(superCluster(), o->superCluster()));
14 }
reco::RecoCandidate::checkOverlap
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:67
reco::RecoEcalCandidate::~RecoEcalCandidate
~RecoEcalCandidate() override
destructor
Definition: RecoEcalCandidate.cc:5
reco::RecoEcalCandidate::superCluster
reco::SuperClusterRef superCluster() const override
reference to a superCluster
Definition: RecoEcalCandidate.cc:9
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
edm::Ref< SuperClusterCollection >
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
reco::RecoCandidate
Definition: RecoCandidate.h:20
reco::Candidate
Definition: Candidate.h:27
RecoEcalCandidate.h
reco::RecoEcalCandidate::clone
RecoEcalCandidate * clone() const override
returns a clone of the candidate
Definition: RecoEcalCandidate.cc:7
reco::RecoEcalCandidate::superCluster_
reco::SuperClusterRef superCluster_
reference to a superCluster
Definition: RecoEcalCandidate.h:40
reco::RecoEcalCandidate::RecoEcalCandidate
RecoEcalCandidate()
default constructor
Definition: RecoEcalCandidate.h:18
reco::RecoEcalCandidate::overlap
bool overlap(const Candidate &) const override
check overlap with another candidate
Definition: RecoEcalCandidate.cc:11
reco::RecoEcalCandidate
Definition: RecoEcalCandidate.h:15