CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/DataFormats/ParticleFlowCandidate/interface/PileUpPFCandidate.h

Go to the documentation of this file.
00001 #ifndef ParticleFlowCandidate_PileUpPFCandidate_h
00002 #define ParticleFlowCandidate_PileUpPFCandidate_h
00003 
00004 #include <iostream>
00005 
00006 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
00007 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
00008 #include "DataFormats/VertexReco/interface/VertexFwd.h"
00009 
00010 namespace reco {
00017   class PileUpPFCandidate : public PFCandidate {
00018 
00019   public:
00020     
00022     PileUpPFCandidate();
00023     
00024     PileUpPFCandidate( const PFCandidatePtr& candidatePtr,
00025                        const VertexRef& vertexRef);
00026 
00028     virtual ~PileUpPFCandidate() {}
00029 
00031     virtual PileUpPFCandidate * clone() const;
00032     
00034     const VertexRef&  vertexRef() const {return vertexRef_;}
00035     
00036 
00037     friend std::ostream& operator<<( std::ostream& out, 
00038                                      const PileUpPFCandidate& c );
00039   
00040   private:
00041     
00042     VertexRef     vertexRef_;
00043   };
00044 
00045 
00046 }
00047 
00048 #endif