00001 #ifndef CastorSim_CastorSimParameterMap_h 00002 #define CastorSim_CastorSimParameterMap_h 00003 00004 #include "SimCalorimetry/CaloSimAlgos/interface/CaloVSimParameterMap.h" 00005 #include "SimCalorimetry/CastorSim/src/CastorSimParameters.h" 00006 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00007 #include "DataFormats/HcalDetId/interface/HcalDetId.h" 00008 00009 class CastorSimParameterMap : public CaloVSimParameterMap 00010 { 00011 public: 00013 CastorSimParameterMap(); 00015 CastorSimParameterMap(const edm::ParameterSet & p); 00016 00017 virtual ~CastorSimParameterMap() {} 00018 00019 virtual const CaloSimParameters & simParameters(const DetId & id) const; 00020 00022 //CaloSimParameters castorParameters() const {return theCastorParameters;} 00023 CastorSimParameters castorParameters() const 00024 { 00025 return theCastorParameters; 00026 } 00027 00028 00029 00030 void setDbService(const CastorDbService * service); 00031 00032 private: 00033 CastorSimParameters theCastorParameters; 00034 }; 00035 00036 #endif 00037