CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/SimCalorimetry/HcalSimAlgos/interface/ZDCShape.h

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