CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFParticle.h
Go to the documentation of this file.
1 //
2 // $Id: PFParticle.h,v 1.3 2008/11/28 19:02:15 lowette Exp $
3 //
4 
5 #ifndef DataFormats_PatCandidates_PFParticle_h
6 #define DataFormats_PatCandidates_PFParticle_h
7 
22 
23 
24 // Define typedefs for convenience
25 namespace pat {
26  class PFParticle;
27  typedef std::vector<PFParticle> PFParticleCollection;
30 }
31 
32 
33 // Class definition
34 namespace pat {
35 
36 
37  class PFParticle : public PATObject<reco::PFCandidate> {
38 
39  public:
40 
44  PFParticle(const edm::RefToBase<reco::PFCandidate> & aPFParticle);
46  virtual ~PFParticle() {}
47 
49  virtual PFParticle * clone() const { return new PFParticle(*this); }
50 
51  };
52 
53 
54 }
55 
56 #endif
std::vector< PFParticle > PFParticleCollection
Definition: PFParticle.h:26
virtual PFParticle * clone() const
required reimplementation of the Candidate&#39;s clone method
Definition: PFParticle.h:49
virtual ~PFParticle()
destructor
Definition: PFParticle.h:46
edm::Ref< PFParticleCollection > PFParticleRef
Definition: PFParticle.h:28
PFParticle()
default constructor
Definition: PFParticle.h:42
Analysis-level class for reconstructed particles.
Definition: PFParticle.h:37
Templated PAT object container.
Definition: PATObject.h:43
edm::RefVector< PFParticleCollection > PFParticleRefVector
Definition: PFParticle.h:29