CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RecoCaloTowerCandidate.cc
Go to the documentation of this file.
2 
3 using namespace reco;
4 
5 RecoCaloTowerCandidate::~RecoCaloTowerCandidate() {}
6 
8 
10 
12  const RecoCandidate *o = dynamic_cast<const RecoCandidate *>(&c);
13  return (o != nullptr && checkOverlap(caloTower(), o->caloTower()));
14 }
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:67
const edm::EventSetup & c
CaloTowerRef caloTower() const override
reference to a CaloTower
bool overlap(const Candidate &) const override
check overlap with another candidate
RecoCaloTowerCandidate()
default constructor
RecoCaloTowerCandidate * clone() const override
returns a clone of the candidate
virtual CaloTowerRef caloTower() const
reference to a CaloTower
CaloTowerRef caloTower_
reference to a CaloTower