DataFormats
ParticleFlowCandidate
src
IsolatedPFCandidate.cc
Go to the documentation of this file.
1
#include "
DataFormats/ParticleFlowCandidate/interface/IsolatedPFCandidate.h
"
2
3
#include <iostream>
4
5
using namespace
reco
;
6
using namespace
std
;
7
8
IsolatedPFCandidate::IsolatedPFCandidate
() :
PFCandidate
(), isolation_(-1) {}
9
10
IsolatedPFCandidate::IsolatedPFCandidate
(
const
PFCandidatePtr
& candidatePtr,
double
isolation
)
11
:
PFCandidate
(candidatePtr), isolation_(
isolation
) {}
12
13
IsolatedPFCandidate
*
IsolatedPFCandidate::clone
()
const
{
return
new
IsolatedPFCandidate
(*
this
); }
14
15
IsolatedPFCandidate::~IsolatedPFCandidate
() {}
16
17
std::ostream&
reco::operator<<
(std::ostream&
out
,
const
IsolatedPFCandidate
&
c
) {
18
if
(!
out
)
19
return
out
;
20
21
const
PFCandidate
& mother =
c
;
22
out
<<
"IsolatedPFCandidate, isolation = "
<<
c
.isolation() <<
" "
<< mother;
23
return
out
;
24
}
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
reco::IsolatedPFCandidate::~IsolatedPFCandidate
~IsolatedPFCandidate() override
destructor
Definition:
IsolatedPFCandidate.cc:15
reco::IsolatedPFCandidate::clone
IsolatedPFCandidate * clone() const override
return a clone
Definition:
IsolatedPFCandidate.cc:13
reco::IsolatedPFCandidate
Particle reconstructed by the particle flow algorithm.
Definition:
IsolatedPFCandidate.h:16
reco::operator<<
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition:
BeamSpot.cc:66
edm::Ptr< PFCandidate >
IsolatedPFCandidate.h
std
Definition:
JetResolutionObject.h:76
reco::PFCandidate
Particle reconstructed by the particle flow algorithm.
Definition:
PFCandidate.h:41
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:46
reco::IsolatedPFCandidate::IsolatedPFCandidate
IsolatedPFCandidate()
default constructor
Definition:
IsolatedPFCandidate.cc:8
isolation
double isolation
Definition:
AssociatedVariableMaxCutCandRefSelector.cc:25
Generated for CMSSW Reference Manual by
1.8.16