Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:08

0001 #include "DataFormats/RecoCandidate/interface/RecoEcalCandidate.h"
0002 
0003 using namespace reco;
0004 
0005 RecoEcalCandidate::~RecoEcalCandidate() {}
0006 
0007 RecoEcalCandidate *RecoEcalCandidate::clone() const { return new RecoEcalCandidate(*this); }
0008 
0009 SuperClusterRef RecoEcalCandidate::superCluster() const { return superCluster_; }
0010 
0011 bool RecoEcalCandidate::overlap(const Candidate &c) const {
0012   const RecoCandidate *o = dynamic_cast<const RecoCandidate *>(&c);
0013   return (o != nullptr && checkOverlap(superCluster(), o->superCluster()));
0014 }