CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/SimCalorimetry/HcalSimAlgos/interface/HcalSiPMShape.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 #ifndef HcalSimAlgos_HcalSiPMShape_h
00003 #define HcalSimAlgos_HcalSiPMShape_h
00004 
00005 #include "SimCalorimetry/CaloSimAlgos/interface/CaloVShape.h"
00006 #include <vector>
00007 
00008 class HcalSiPMShape : public CaloVShape {
00009 public:
00010 
00011   HcalSiPMShape();
00012   HcalSiPMShape(const HcalSiPMShape & other);
00013 
00014   virtual ~HcalSiPMShape() {}
00015 
00016   virtual double operator() (double time) const;
00017 
00018     virtual double       timeToRise()         const {return 33.;}
00019 protected:
00020   void computeShape();
00021 
00022 private:
00023 
00024   int nBins_;
00025   std::vector<double> nt_;
00026 
00027 };
00028 
00029 #endif //HcalSimAlgos_HcalSiPMShape_h