CMS 3D CMS Logo

Public Member Functions

pat::PFParticle Class Reference

Analysis-level class for reconstructed particles. More...

#include <DataFormats/PatCandidates/interface/PFParticle.h>

Inheritance diagram for pat::PFParticle:
pat::PATObject< reco::PFCandidate > reco::PFCandidate reco::CompositeCandidate reco::LeafCandidate reco::Candidate

List of all members.

Public Member Functions

virtual PFParticleclone () const
 required reimplementation of the Candidate's clone method
 PFParticle (const edm::RefToBase< reco::PFCandidate > &aPFParticle)
 constructor from ref
 PFParticle ()
 default constructor
virtual ~PFParticle ()
 destructor

Detailed Description

Analysis-level class for reconstructed particles.

PFParticle is the equivalent of reco::PFCandidate in the PAT namespace, to be used in the analysis. All the PFCandidates that are not used as isolated leptons or photons, or inside jets, end up as pat::PFParticles.

Author:
Colin Bernet
Version:
Id:
PFParticle.h,v 1.3 2008/11/28 19:02:15 lowette Exp

Definition at line 37 of file PFParticle.h.


Constructor & Destructor Documentation

pat::PFParticle::PFParticle ( ) [inline]

default constructor

Definition at line 42 of file PFParticle.h.

Referenced by clone().

{}
PFParticle::PFParticle ( const edm::RefToBase< reco::PFCandidate > &  aPFParticle)

constructor from ref

constructor from PFParticleType

Definition at line 12 of file PFParticle.cc.

                                                                       : PATObject<reco::PFCandidate>(aPFParticle) {
}
virtual pat::PFParticle::~PFParticle ( ) [inline, virtual]

destructor

Definition at line 46 of file PFParticle.h.

{}

Member Function Documentation

virtual PFParticle* pat::PFParticle::clone ( void  ) const [inline, virtual]

required reimplementation of the Candidate's clone method

Reimplemented from reco::PFCandidate.

Definition at line 49 of file PFParticle.h.

References PFParticle().

{ return new PFParticle(*this); }