test
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 //
3 
4 #ifndef DataFormats_PatCandidates_PFParticle_h
5 #define DataFormats_PatCandidates_PFParticle_h
6 
20 
21 
22 // Define typedefs for convenience
23 namespace pat {
24  class PFParticle;
25  typedef std::vector<PFParticle> PFParticleCollection;
28 }
29 
30 
31 // Class definition
32 namespace pat {
33 
34 
35  class PFParticle : public PATObject<reco::PFCandidate> {
36 
37  public:
38 
42  PFParticle(const edm::RefToBase<reco::PFCandidate> & aPFParticle);
44  virtual ~PFParticle() {}
45 
47  virtual PFParticle * clone() const { return new PFParticle(*this); }
48 
49  };
50 
51 
52 }
53 
54 #endif
std::vector< PFParticle > PFParticleCollection
Definition: PFParticle.h:24
virtual PFParticle * clone() const
required reimplementation of the Candidate&#39;s clone method
Definition: PFParticle.h:47
virtual ~PFParticle()
destructor
Definition: PFParticle.h:44
edm::Ref< PFParticleCollection > PFParticleRef
Definition: PFParticle.h:26
PFParticle()
default constructor
Definition: PFParticle.h:40
Analysis-level class for reconstructed particles.
Definition: PFParticle.h:35
Templated PAT object container.
Definition: PATObject.h:49
edm::RefVector< PFParticleCollection > PFParticleRefVector
Definition: PFParticle.h:27