CMS 3D CMS Logo

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