CMS 3D CMS Logo

Public Member Functions

pat::Particle Class Reference

Analysis-level particle class. More...

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

Inheritance diagram for pat::Particle:
pat::PATObject< reco::LeafCandidate > reco::LeafCandidate reco::Candidate

List of all members.

Public Member Functions

virtual Particleclone () const
 required reimplementation of the Candidate's clone method
 Particle (const reco::LeafCandidate &aParticle)
 constructor from a LeafCandidate
 Particle ()
 default constructor
virtual ~Particle ()
 destructor

Detailed Description

Analysis-level particle class.

Particle implements an analysis-level particle class within the 'pat' namespace.

Author:
Steven Lowette, Giovanni Petrucciani
Version:
Id:
Particle.h,v 1.6 2008/11/28 19:02:15 lowette Exp

Definition at line 34 of file Particle.h.


Constructor & Destructor Documentation

Particle::Particle ( )

default constructor

Definition at line 12 of file Particle.cc.

Referenced by clone().

Particle::Particle ( const reco::LeafCandidate aParticle)

constructor from a LeafCandidate

constructor from reco::LeafCandidate

Definition at line 17 of file Particle.cc.

Particle::~Particle ( ) [virtual]

destructor

Definition at line 22 of file Particle.cc.

                    {
}

Member Function Documentation

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

required reimplementation of the Candidate's clone method

Reimplemented from reco::LeafCandidate.

Definition at line 46 of file Particle.h.

References Particle().

{ return new Particle(*this); }