CMS 3D CMS Logo

CaloRecHitCandidate.cc
Go to the documentation of this file.
2 
3 using namespace reco;
4 
6 
8 
10  const CaloRecHitCandidate *o = dynamic_cast<const CaloRecHitCandidate *>(&c);
11  if (o == nullptr)
12  return false;
13  if (caloRecHit().isNull())
14  return false;
15  if (o->caloRecHit().isNull())
16  return false;
17  return (caloRecHit() != o->caloRecHit());
18 }
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
reco::CaloRecHitCandidate::~CaloRecHitCandidate
~CaloRecHitCandidate() override
destructor
Definition: CaloRecHitCandidate.cc:5
reco::CaloRecHitCandidate::overlap
bool overlap(const Candidate &) const override
check overlap with another candidate
Definition: CaloRecHitCandidate.cc:9
CaloRecHitCandidate.h
reco::CaloRecHitCandidate
Definition: CaloRecHitCandidate.h:17
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
reco::Candidate
Definition: Candidate.h:27
reco::CaloRecHitCandidate::caloRecHit
CaloRecHitRef caloRecHit() const
reference to a CaloRecHit
Definition: CaloRecHitCandidate.h:35
reco::CaloRecHitCandidate::clone
CaloRecHitCandidate * clone() const override
returns a clone of the candidate
Definition: CaloRecHitCandidate.cc:7
reco::CaloRecHitCandidate::CaloRecHitCandidate
CaloRecHitCandidate()
default constructor
Definition: CaloRecHitCandidate.h:21