DataFormats
ParticleFlowCandidate
src
PileUpPFCandidate.cc
Go to the documentation of this file.
1
#include "
DataFormats/ParticleFlowCandidate/interface/PileUpPFCandidate.h
"
2
#include "
DataFormats/Candidate/interface/CandidateFwd.h
"
3
4
using namespace
reco
;
5
6
PileUpPFCandidate::PileUpPFCandidate
() :
PFCandidate
() {}
7
8
PileUpPFCandidate::PileUpPFCandidate
(
const
PFCandidatePtr
& candidatePtr,
const
VertexRef
& vertexRef)
9
:
PFCandidate
(candidatePtr), vertexRef_(vertexRef) {}
10
11
PileUpPFCandidate
*
PileUpPFCandidate::clone
()
const
{
return
new
PileUpPFCandidate
(*
this
); }
12
13
PileUpPFCandidate::~PileUpPFCandidate
() {}
14
15
std::ostream&
reco::operator<<
(std::ostream&
out
,
const
PileUpPFCandidate
&
c
) {
16
if
(!
out
)
17
return
out
;
18
19
out
<<
"PileUpPFCandidate, "
<<
c
.sourceCandidatePtr(0).id() <<
"/"
<<
c
.sourceCandidatePtr(0).key();
20
21
return
out
;
22
}
reco::PileUpPFCandidate::~PileUpPFCandidate
~PileUpPFCandidate() override
destructor
Definition:
PileUpPFCandidate.cc:13
edm::Ref< VertexCollection >
PileUpPFCandidate.h
reco::PileUpPFCandidate::clone
PileUpPFCandidate * clone() const override
return a clone
Definition:
PileUpPFCandidate.cc:11
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:56
reco::operator<<
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition:
BeamSpot.cc:66
reco::PileUpPFCandidate::PileUpPFCandidate
PileUpPFCandidate()
default constructor
Definition:
PileUpPFCandidate.cc:6
edm::Ptr< PFCandidate >
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
reco::PFCandidate
Particle reconstructed by the particle flow algorithm.
Definition:
PFCandidate.h:41
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
CandidateFwd.h
reco::PileUpPFCandidate
Particle reconstructed by the particle flow algorithm.
Definition:
PileUpPFCandidate.h:17
Generated for CMSSW Reference Manual by
1.8.14