Analysis-level particle class. More...
#include <DataFormats/PatCandidates/interface/Particle.h>
Public Member Functions | |
virtual Particle * | clone () const |
required reimplementation of the Candidate's clone method | |
Particle (const reco::LeafCandidate &aParticle) | |
constructor from a LeafCandidate | |
Particle () | |
default constructor | |
virtual | ~Particle () |
destructor |
Analysis-level particle class.
Particle implements an analysis-level particle class within the 'pat' namespace.
Definition at line 34 of file Particle.h.
Particle::Particle | ( | ) |
default constructor
Definition at line 12 of file Particle.cc.
Referenced by clone().
: PATObject<reco::LeafCandidate>(reco::LeafCandidate(0, reco::LeafCandidate::LorentzVector(0, 0, 0, 0), reco::LeafCandidate::Point(0,0,0))) { }
Particle::Particle | ( | const reco::LeafCandidate & | aParticle | ) |
constructor from a LeafCandidate
constructor from reco::LeafCandidate
Definition at line 17 of file Particle.cc.
: PATObject<reco::LeafCandidate>(aParticle) { }
Particle::~Particle | ( | ) | [virtual] |
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); }