00001 #ifndef HcalSimAlgos_HcalTimeSlewSim_h 00002 #define HcalSimAlgos_HcalTimeSlewSim_h 00003 00011 #include "SimCalorimetry/CaloSimAlgos/interface/CaloVSimParameterMap.h" 00012 #include "CalibFormats/CaloObjects/interface/CaloSamples.h" 00013 #include "CLHEP/Random/RandGaussQ.h" 00014 00015 class HcalTimeSlewSim 00016 { 00017 public: 00018 HcalTimeSlewSim(const CaloVSimParameterMap * parameterMap); 00019 00020 void delay(CaloSamples & samples) const; 00021 00022 void setRandomEngine(CLHEP::HepRandomEngine & engine); 00023 00024 private: 00025 double charge(const CaloSamples & samples) const; 00026 00027 const CaloVSimParameterMap * theParameterMap; 00028 CLHEP::RandGaussQ* theRandGaussQ; 00029 }; 00030 00031 #endif 00032