Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:41

0001 #ifndef HcalTestBeam_HcalTBSimParameterMap_h
0002 #define HcalTestBeam_HcalTBSimParameterMap_h
0003 
0004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0005 #include "SimCalorimetry/CaloSimAlgos/interface/CaloVSimParameterMap.h"
0006 #include "SimCalorimetry/HcalSimAlgos/interface/HcalSimParameters.h"
0007 
0008 class HcalTBSimParameterMap : public CaloVSimParameterMap {
0009 public:
0010   /// hardcoded default parameters
0011   HcalTBSimParameterMap();
0012   /// configurable parameters
0013   HcalTBSimParameterMap(const edm::ParameterSet &p);
0014 
0015   ~HcalTBSimParameterMap() override {}
0016 
0017   const CaloSimParameters &simParameters(const DetId &id) const override;
0018 
0019   /// accessors
0020   HcalSimParameters hbParameters() const { return theHBParameters; }
0021   HcalSimParameters heParameters() const { return theHEParameters; }
0022   HcalSimParameters hoParameters() const { return theHOParameters; }
0023 
0024 private:
0025   HcalSimParameters theHBParameters;
0026   HcalSimParameters theHEParameters;
0027   HcalSimParameters theHOParameters;
0028 };
0029 
0030 #endif