CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DataFormats/EgammaReco/interface/PreshowerClusterShape.h

Go to the documentation of this file.
00001 #ifndef DataFormats_EgammaReco_PreshowerClusterShape_h
00002 #define DataFormats_EgammaReco_PreshowerClusterShape_h
00003 /*
00004  * PreshowerShape cluster class
00005  *
00006  * \author Aris Kyriakis (NCSR "Demokritos")
00007  */
00008 //
00009 #include "DataFormats/EgammaReco/interface/PreshowerClusterShapeFwd.h"
00010 #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
00011 
00012 namespace reco {
00013 
00014   class PreshowerClusterShape {
00015   public:
00016 
00018     PreshowerClusterShape() { };
00019 
00020     virtual ~PreshowerClusterShape();
00021 
00023     PreshowerClusterShape(const std::vector<float> stripEnergies, 
00024                      const int plane);              
00025 
00027     PreshowerClusterShape(const PreshowerClusterShape&);
00028 
00030     int plane() const { return plane_; }
00031    
00033     SuperClusterRef superCluster() const {return sc_ref_;}
00034 
00036     virtual std::vector<float> getStripEnergies() const { return stripEnergies_; }
00037 
00038     void setSCRef( const SuperClusterRef & r ) { sc_ref_ = r; }
00039 
00040   private:
00041 
00042     int plane_;
00043 
00045     SuperClusterRef sc_ref_;
00046 
00048     std::vector<float> stripEnergies_;
00049   };
00050 }
00051 #endif