#include <DataFormats/ParticleFlowCandidate/interface/PileUpPFCandidate.h>
Public Member Functions | |
virtual PileUpPFCandidate * | clone () const |
return a clone | |
PileUpPFCandidate (const PFCandidatePtr &candidatePtr, const VertexRef &vertexRef) | |
PileUpPFCandidate () | |
default constructor | |
const VertexRef & | vertexRef () const |
return reference to the associated vertex | |
virtual | ~PileUpPFCandidate () |
destructor | |
Private Attributes | |
VertexRef | vertexRef_ |
Friends | |
std::ostream & | operator<< (std::ostream &out, const PileUpPFCandidate &c) |
Definition at line 17 of file PileUpPFCandidate.h.
PileUpPFCandidate::PileUpPFCandidate | ( | ) |
default constructor
Definition at line 6 of file PileUpPFCandidate.cc.
Referenced by clone().
00006 : PFCandidate() {}
PileUpPFCandidate::PileUpPFCandidate | ( | const PFCandidatePtr & | candidatePtr, | |
const VertexRef & | vertexRef | |||
) |
Definition at line 9 of file PileUpPFCandidate.cc.
00010 : 00011 PFCandidate(candidatePtr), vertexRef_(vertexRef) { 00012 }
PileUpPFCandidate::~PileUpPFCandidate | ( | ) | [inline, virtual] |
PileUpPFCandidate * PileUpPFCandidate::clone | ( | void | ) | const [virtual] |
return a clone
Reimplemented from reco::PFCandidate.
Definition at line 14 of file PileUpPFCandidate.cc.
References PileUpPFCandidate().
00014 { 00015 return new PileUpPFCandidate( * this ); 00016 }
const VertexRef& reco::PileUpPFCandidate::vertexRef | ( | ) | const [inline] |
return reference to the associated vertex
Definition at line 34 of file PileUpPFCandidate.h.
References vertexRef_.
00034 {return vertexRef_;}
std::ostream& operator<< | ( | std::ostream & | out, | |
const PileUpPFCandidate & | c | |||
) | [friend] |
Definition at line 22 of file PileUpPFCandidate.cc.
00023 { 00024 if(!out) return out; 00025 00026 00027 out<<"PileUpPFCandidate, " 00028 <<c.sourceCandidatePtr(0).id()<<"/" 00029 <<c.sourceCandidatePtr(0).key(); 00030 00031 return out; 00032 }
VertexRef reco::PileUpPFCandidate::vertexRef_ [private] |