CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/SimCalorimetry/CastorSim/src/CastorShape.h

Go to the documentation of this file.
00001 #ifndef CastorSim_CastorShape_h
00002 #define CastorSim_CastorShape_h
00003 #include<vector>
00004   
00005 #include "SimCalorimetry/CaloSimAlgos/interface/CaloVShape.h"
00006   
00016 class CastorShape : public CaloVShape
00017 {
00018 public:
00019   
00020   CastorShape();
00021   CastorShape(const CastorShape&d);
00022 
00023   virtual ~CastorShape(){}
00024   
00025   virtual double operator () (double time) const;
00026   virtual double timeToRise()              const ;
00027 
00028  private:
00029   void computeShapeCastor();
00030   
00031   int nbin_;
00032   std::vector<float> nt_;
00033   
00034 };
00035 
00036 #endif
00037