CMS 3D CMS Logo

RecoEcalCandidate.cc
Go to the documentation of this file.
2 
3 using namespace reco;
4 
6 
8  return new RecoEcalCandidate( * this );
9 }
10 
12  return superCluster_;
13 }
14 
15 bool RecoEcalCandidate::overlap( const Candidate & c ) const {
16  const RecoCandidate * o = dynamic_cast<const RecoCandidate *>( & c );
17  return ( o != nullptr &&
19  );
20 }
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:69
RecoEcalCandidate()
default constructor
~RecoEcalCandidate() override
destructor
RecoEcalCandidate * clone() const override
returns a clone of the candidate
reco::SuperClusterRef superCluster() const override
reference to a superCluster
reco::SuperClusterRef superCluster_
reference to a superCluster
fixed size matrix
bool overlap(const Candidate &) const override
check overlap with another candidate
virtual reco::SuperClusterRef superCluster() const
reference to a SuperCluster