Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-23 03:25:35

0001 #ifndef CastorSim_CastorSimParameterMap_h
0002 #define CastorSim_CastorSimParameterMap_h
0003 
0004 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
0005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0006 #include "SimCalorimetry/CaloSimAlgos/interface/CaloVSimParameterMap.h"
0007 #include "SimCalorimetry/CastorSim/interface/CastorSimParameters.h"
0008 
0009 class CastorSimParameterMap : public CaloVSimParameterMap {
0010 public:
0011   /// hardcoded default parameters
0012   CastorSimParameterMap();
0013   /// configurable parameters
0014   CastorSimParameterMap(const edm::ParameterSet &p);
0015 
0016   ~CastorSimParameterMap() override {}
0017 
0018   const CaloSimParameters &simParameters(const DetId &id) const override;
0019 
0020   /// accessors
0021   // CaloSimParameters castorParameters() const  {return theCastorParameters;}
0022   CastorSimParameters castorParameters() const { return theCastorParameters; }
0023 
0024   void setDbService(const CastorDbService *service);
0025 
0026 private:
0027   CastorSimParameters theCastorParameters;
0028 };
0029 
0030 #endif