00001 #ifndef HcalSimAlgos_HcalShape_h 00002 #define HcalSimAlgos_HcalShape_h 00003 #include<vector> 00004 00005 #include "SimCalorimetry/CaloSimAlgos/interface/CaloVShape.h" 00006 00015 class HcalShape : public CaloVShape 00016 { 00017 public: 00018 00019 HcalShape(); 00020 00021 HcalShape(const HcalShape&d); 00022 00023 virtual ~HcalShape(){} 00024 00025 virtual double operator () (double time) const; 00026 void display () const {} 00027 double derivative (double time) const; 00028 double getTpeak () const; 00029 00030 void computeShape(); 00031 00032 private: 00033 00034 int nbin_; 00035 std::vector<float> nt_; 00036 00037 }; 00038 00039 #endif 00040 00041