CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DataFormats/PatCandidates/interface/Particle.h

Go to the documentation of this file.
00001 //
00002 // $Id: Particle.h,v 1.6 2008/11/28 19:02:15 lowette Exp $
00003 //
00004 
00005 #ifndef DataFormats_PatCandidates_Particle_h
00006 #define DataFormats_PatCandidates_Particle_h
00007 
00019 #include "DataFormats/Candidate/interface/LeafCandidate.h"
00020 #include "DataFormats/PatCandidates/interface/PATObject.h"
00021 
00022 
00023 // Define typedefs for convenience
00024 namespace pat {
00025   class Particle;
00026   typedef std::vector<Particle>              ParticleCollection; 
00027   typedef edm::Ref<ParticleCollection>       ParticleRef; 
00028   typedef edm::RefVector<ParticleCollection> ParticleRefVector; 
00029 }
00030 
00031 namespace pat {
00032 
00033 
00034   class Particle : public PATObject<reco::LeafCandidate> {
00035 
00036     public:
00037 
00039       Particle();
00041       Particle(const reco::LeafCandidate & aParticle);
00043       virtual ~Particle();
00044 
00046       virtual Particle * clone() const { return new Particle(*this); }
00047 
00048   };
00049 
00050 
00051 }
00052 
00053 #endif