Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
DataFormats
RecoCandidate
src
CaloRecHitCandidate.cc
Go to the documentation of this file.
1
#include "
DataFormats/RecoCandidate/interface/CaloRecHitCandidate.h
"
2
3
using namespace
reco
;
4
5
CaloRecHitCandidate::~CaloRecHitCandidate() {}
6
7
CaloRecHitCandidate
*
CaloRecHitCandidate::clone
()
const
{
return
new
CaloRecHitCandidate
(*
this
); }
8
9
bool
CaloRecHitCandidate::overlap
(
const
Candidate
&
c
)
const
{
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::CaloRecHitCandidate::overlap
bool overlap(const Candidate &) const override
check overlap with another candidate
Definition:
CaloRecHitCandidate.cc:9
reco::CaloRecHitCandidate::caloRecHit
CaloRecHitRef caloRecHit() const
reference to a CaloRecHit
Definition:
CaloRecHitCandidate.h:35
c
const edm::EventSetup & c
Definition:
SiStripLAProfileBooker.cc:66
reco::CaloRecHitCandidate::clone
CaloRecHitCandidate * clone() const override
returns a clone of the candidate
Definition:
CaloRecHitCandidate.cc:7
reco::Candidate
Definition:
Candidate.h:27
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:111
CaloRecHitCandidate.h
reco::CaloRecHitCandidate
Definition:
CaloRecHitCandidate.h:17
edm::RefToBase::isNull
bool isNull() const
Checks for null.
Definition:
RefToBase.h:295
reco::CaloRecHitCandidate::CaloRecHitCandidate
CaloRecHitCandidate()
default constructor
Definition:
CaloRecHitCandidate.h:21
class-composition.o
tuple o
Definition:
class-composition.py:65
Generated for CMSSW Reference Manual by
1.8.5