DataFormats
RecoCandidate
src
RecoCaloTowerCandidate.cc
Go to the documentation of this file.
1
#include "
DataFormats/RecoCandidate/interface/RecoCaloTowerCandidate.h
"
2
3
using namespace
reco
;
4
5
RecoCaloTowerCandidate::~RecoCaloTowerCandidate
() {}
6
7
RecoCaloTowerCandidate
*
RecoCaloTowerCandidate::clone
()
const
{
return
new
RecoCaloTowerCandidate
(*
this
); }
8
9
CaloTowerRef
RecoCaloTowerCandidate::caloTower
()
const
{
return
caloTower_
; }
10
11
bool
RecoCaloTowerCandidate::overlap
(
const
Candidate
&
c
)
const
{
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:42
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
reco::RecoCandidate
Definition:
RecoCandidate.h:20
reco::Candidate
Definition:
Candidate.h:27
reco::RecoCaloTowerCandidate::RecoCaloTowerCandidate
RecoCaloTowerCandidate()
default constructor
Definition:
RecoCaloTowerCandidate.h:18
RecoCaloTowerCandidate.h
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:46
Generated for CMSSW Reference Manual by
1.8.16