DataFormats
RecoCandidate
src
RecoEcalCandidate.cc
Go to the documentation of this file.
1
#include "
DataFormats/RecoCandidate/interface/RecoEcalCandidate.h
"
2
3
using namespace
reco
;
4
5
RecoEcalCandidate::~RecoEcalCandidate
() {}
6
7
RecoEcalCandidate
*
RecoEcalCandidate::clone
()
const
{
return
new
RecoEcalCandidate
(*
this
); }
8
9
SuperClusterRef
RecoEcalCandidate::superCluster
()
const
{
return
superCluster_
; }
10
11
bool
RecoEcalCandidate::overlap
(
const
Candidate
&
c
)
const
{
12
const
RecoCandidate
*
o
= dynamic_cast<const RecoCandidate *>(&
c
);
13
return
(
o
!=
nullptr
&&
checkOverlap
(
superCluster
(),
o
->superCluster()));
14
}
reco::RecoCandidate::checkOverlap
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition:
RecoCandidate.h:67
reco::RecoEcalCandidate::~RecoEcalCandidate
~RecoEcalCandidate() override
destructor
Definition:
RecoEcalCandidate.cc:5
reco::RecoEcalCandidate::superCluster
reco::SuperClusterRef superCluster() const override
reference to a superCluster
Definition:
RecoEcalCandidate.cc:9
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:36
edm::Ref< SuperClusterCollection >
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
reco::RecoCandidate
Definition:
RecoCandidate.h:20
reco::Candidate
Definition:
Candidate.h:27
RecoEcalCandidate.h
reco::RecoEcalCandidate::clone
RecoEcalCandidate * clone() const override
returns a clone of the candidate
Definition:
RecoEcalCandidate.cc:7
reco::RecoEcalCandidate::superCluster_
reco::SuperClusterRef superCluster_
reference to a superCluster
Definition:
RecoEcalCandidate.h:40
reco::RecoEcalCandidate::RecoEcalCandidate
RecoEcalCandidate()
default constructor
Definition:
RecoEcalCandidate.h:18
reco::RecoEcalCandidate::overlap
bool overlap(const Candidate &) const override
check overlap with another candidate
Definition:
RecoEcalCandidate.cc:11
reco::RecoEcalCandidate
Definition:
RecoEcalCandidate.h:15
Generated for CMSSW Reference Manual by
1.8.16