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 double derivative (double time) const; 00027 double getTpeak () const; 00028 00029 00030 private: 00031 void computeShapeCastor(); 00032 00033 int nbin_; 00034 std::vector<float> nt_; 00035 00036 }; 00037 00038 #endif 00039