CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/DataFormats/ParticleFlowReco/interface/PFBlockElementCluster.h

Go to the documentation of this file.
00001 #ifndef __PFBlockElementCluster__
00002 #define __PFBlockElementCluster__
00003 
00004 #include <iostream>
00005 
00006 #include "DataFormats/ParticleFlowReco/interface/PFBlockElement.h"
00007 #include "DataFormats/ParticleFlowReco/interface/PFClusterFwd.h"
00008 
00009 namespace reco {
00010   
00014   class PFBlockElementCluster : public PFBlockElement {
00015   public:
00016     PFBlockElementCluster() {} 
00017     
00021     PFBlockElementCluster(const PFClusterRef& ref, 
00022                           PFBlockElement::Type type) 
00023       : 
00024       PFBlockElement(type),
00025       clusterRef_( ref ) {}
00026     
00027     PFBlockElement* clone() const { return new PFBlockElementCluster(*this); }
00028     
00030     PFClusterRef  clusterRef() const {return clusterRef_;}
00031 
00032     void Dump(std::ostream& out = std::cout, 
00033               const char* tab = " " ) const;
00034   
00035   private:
00037     PFClusterRef  clusterRef_;
00038   };
00039 }
00040 
00041 #endif
00042