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::SuperClusterRef superCluster() const override
reference to a superCluster
RecoEcalCandidate()
default constructor
~RecoEcalCandidate() override
destructor
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:67
reco::SuperClusterRef superCluster_
reference to a superCluster
fixed size matrix
bool overlap(const Candidate &) const override
check overlap with another candidate
RecoEcalCandidate * clone() const override
returns a clone of the candidate