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