CMS 3D CMS Logo

PileUpPFCandidate.cc
Go to the documentation of this file.
3 
4 using namespace reco;
5 
7 
8 
10  const VertexRef& vertexRef ) :
11  PFCandidate(candidatePtr), vertexRef_(vertexRef) {
12 }
13 
15  return new PileUpPFCandidate( * this );
16 }
17 
18 
20 
21 
22 std::ostream& reco::operator<<( std::ostream& out,
23  const PileUpPFCandidate& c ) {
24  if(!out) return out;
25 
26 
27  out<<"PileUpPFCandidate, "
28  <<c.sourceCandidatePtr(0).id()<<"/"
29  <<c.sourceCandidatePtr(0).key();
30 
31  return out;
32 }
~PileUpPFCandidate() override
destructor
const VertexRef & vertexRef() const
return reference to the associated vertex
key_type key() const
Definition: Ptr.h:185
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:71
PileUpPFCandidate()
default constructor
CandidatePtr sourceCandidatePtr(size_type i) const override
Definition: PFCandidate.h:131
PileUpPFCandidate * clone() const override
return a clone
ProductID id() const
Accessor for product ID.
Definition: Ptr.h:180
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:39
fixed size matrix
Particle reconstructed by the particle flow algorithm.