Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:39:55

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