CMS 3D CMS Logo

RecoCaloTowerCandidate.cc
Go to the documentation of this file.
2 
3 using namespace reco;
4 
6 
8 
10 
12  const RecoCandidate *o = dynamic_cast<const RecoCandidate *>(&c);
13  return (o != nullptr && checkOverlap(caloTower(), o->caloTower()));
14 }
reco::RecoCaloTowerCandidate::caloTower_
CaloTowerRef caloTower_
reference to a CaloTower
Definition: RecoCaloTowerCandidate.h:38
reco::RecoCandidate::checkOverlap
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:67
reco::RecoCaloTowerCandidate
Definition: RecoCaloTowerCandidate.h:15
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
edm::Ref< CaloTowerCollection >
reco::RecoCaloTowerCandidate::caloTower
CaloTowerRef caloTower() const override
reference to a CaloTower
Definition: RecoCaloTowerCandidate.cc:9
reco::RecoCaloTowerCandidate::clone
RecoCaloTowerCandidate * clone() const override
returns a clone of the candidate
Definition: RecoCaloTowerCandidate.cc:7
reco::RecoCaloTowerCandidate::overlap
bool overlap(const Candidate &) const override
check overlap with another candidate
Definition: RecoCaloTowerCandidate.cc:11
reco::RecoCaloTowerCandidate::~RecoCaloTowerCandidate
~RecoCaloTowerCandidate() override
destructor
Definition: RecoCaloTowerCandidate.cc:5
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
reco::RecoCandidate
Definition: RecoCandidate.h:20
reco::Candidate
Definition: Candidate.h:27
reco::RecoCaloTowerCandidate::RecoCaloTowerCandidate
RecoCaloTowerCandidate()
default constructor
Definition: RecoCaloTowerCandidate.h:18
RecoCaloTowerCandidate.h