CMS 3D CMS Logo

HcalSimParameterMap.h
Go to the documentation of this file.
1 #ifndef HcalSimAlgos_HcalSimParameterMap_h
2 #define HcalSimAlgos_HcalSimParameterMap_h
3 
9 
11 public:
16 
17  ~HcalSimParameterMap() override {}
18 
19  const CaloSimParameters& simParameters(const DetId& id) const override;
20 
22  const HcalSimParameters& hbParameters() const { return theHBParameters; }
23  const HcalSimParameters& heParameters() const { return theHEParameters; }
24  const HcalSimParameters& hoParameters() const { return theHOParameters; }
25  const HFSimParameters& hfParameters1() const { return theHFParameters1; }
26  const HFSimParameters& hfParameters2() const { return theHFParameters2; }
27  const HFSimParameters& zdcParameters() const { return theZDCParameters; }
28 
29  void setDbService(const HcalDbService* service);
30 
31  void setFrameSize(const DetId& detId, int frameSize);
32 
33  void setHOZecotekDetIds(const std::vector<HcalDetId>& ids) { theHOZecotekDetIds = ids; }
34  void setHOHamamatsuDetIds(const std::vector<HcalDetId>& ids) { theHOHamamatsuDetIds = ids; }
35 
36 private:
37  void setFrameSize(CaloSimParameters& parameters, int frameSize);
38 
47  std::vector<HcalDetId> theHOZecotekDetIds;
48  std::vector<HcalDetId> theHOHamamatsuDetIds;
49 };
50 
51 #endif
const HFSimParameters & hfParameters2() const
HcalSimParameters theHBParameters
const CaloSimParameters & simParameters(const DetId &id) const override
const HcalSimParameters & hoParameters() const
Main class for Parameters in different subdetectors.
HcalSimParameters theHOHamamatsuSiPMParameters
void setHOZecotekDetIds(const std::vector< HcalDetId > &ids)
HcalSimParameterMap()
hardcoded default parameters
const HcalSimParameters & hbParameters() const
accessors
std::vector< HcalDetId > theHOZecotekDetIds
void setFrameSize(const DetId &detId, int frameSize)
HcalSimParameters theHEParameters
HFSimParameters theHFParameters1
const HFSimParameters & zdcParameters() const
Definition: DetId.h:17
const HFSimParameters & hfParameters1() const
void setHOHamamatsuDetIds(const std::vector< HcalDetId > &ids)
HFSimParameters theHFParameters2
std::vector< HcalDetId > theHOHamamatsuDetIds
const HcalSimParameters & heParameters() const
HcalSimParameters theHOParameters
HFSimParameters theZDCParameters
void setDbService(const HcalDbService *service)
HcalSimParameters theHOZecotekSiPMParameters