CMS 3D CMS Logo

Public Member Functions | Private Attributes | Friends

reco::PileUpPFCandidate Class Reference

Particle reconstructed by the particle flow algorithm. More...

#include <PileUpPFCandidate.h>

Inheritance diagram for reco::PileUpPFCandidate:
reco::PFCandidate reco::CompositeCandidate reco::LeafCandidate reco::Candidate

List of all members.

Public Member Functions

virtual PileUpPFCandidateclone () const
 return a clone
 PileUpPFCandidate ()
 default constructor
 PileUpPFCandidate (const PFCandidatePtr &candidatePtr, const VertexRef &vertexRef)
const VertexRefvertexRef () const
 return reference to the associated vertex
virtual ~PileUpPFCandidate ()
 destructor

Private Attributes

VertexRef vertexRef_

Friends

std::ostream & operator<< (std::ostream &out, const PileUpPFCandidate &c)

Detailed Description

Particle reconstructed by the particle flow algorithm.

Author:
Colin Bernet
Date:
February 2007

Definition at line 17 of file PileUpPFCandidate.h.


Constructor & Destructor Documentation

PileUpPFCandidate::PileUpPFCandidate ( )

default constructor

Definition at line 6 of file PileUpPFCandidate.cc.

Referenced by clone().

: PFCandidate() {}
PileUpPFCandidate::PileUpPFCandidate ( const PFCandidatePtr candidatePtr,
const VertexRef vertexRef 
)

Definition at line 9 of file PileUpPFCandidate.cc.

                                                                   : 
  PFCandidate(candidatePtr), vertexRef_(vertexRef) {
}
PileUpPFCandidate::~PileUpPFCandidate ( ) [virtual]

destructor

Definition at line 19 of file PileUpPFCandidate.cc.

{}

Member Function Documentation

PileUpPFCandidate * PileUpPFCandidate::clone ( void  ) const [virtual]

return a clone

Reimplemented from reco::PFCandidate.

Definition at line 14 of file PileUpPFCandidate.cc.

References PileUpPFCandidate().

                                                   {
  return new PileUpPFCandidate( * this );
}
const VertexRef& reco::PileUpPFCandidate::vertexRef ( ) const [inline]

return reference to the associated vertex

Definition at line 34 of file PileUpPFCandidate.h.

References vertexRef_.

{return vertexRef_;}

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const PileUpPFCandidate c 
) [friend]

Member Data Documentation

Definition at line 42 of file PileUpPFCandidate.h.

Referenced by vertexRef().