CMS 3D CMS Logo

reco::PileUpPFCandidate Class Reference

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

#include <DataFormats/ParticleFlowCandidate/interface/PileUpPFCandidate.h>

Inheritance diagram for reco::PileUpPFCandidate:

reco::PFCandidate reco::CompositeCandidate reco::Candidate reco::Particle

List of all members.

Public Member Functions

virtual PileUpPFCandidateclone () const
 return a clone
 PileUpPFCandidate (const PFCandidatePtr &candidatePtr, const VertexRef &vertexRef)
 PileUpPFCandidate ()
 default constructor
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().

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]

destructor

Definition at line 28 of file PileUpPFCandidate.h.

00028 {}


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().

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_;}


Friends And Related Function Documentation

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 }


Member Data Documentation

VertexRef reco::PileUpPFCandidate::vertexRef_ [private]

Definition at line 42 of file PileUpPFCandidate.h.

Referenced by vertexRef().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:51:31 2009 for CMSSW by  doxygen 1.5.4