CMS 3D CMS Logo

HcalBaseSignalGenerator.h
Go to the documentation of this file.
1 #ifndef HcalSimAlgos_HcalBaseSignalGenerator_h
2 #define HcalSimAlgos_HcalBaseSignalGenerator_h
3 
7 
9 public:
11 
13 
15 
16  // can be needed to set starting cap ID
17  void setElectronicsSim(HcalElectronicsSim* electronicsSim) { theElectronicsSim = electronicsSim; }
18 
19 protected:
20  void fC2pe(CaloSamples& samples) const {
21  assert(theParameterMap != nullptr);
23  samples *= factor;
24  }
25 
28 };
29 
30 #endif
void setParameterMap(HcalSimParameterMap *map)
const CaloSimParameters & simParameters(const DetId &id) const override
assert(be >=bs)
void setElectronicsSim(HcalElectronicsSim *electronicsSim)
HcalSimParameterMap * theParameterMap
HcalElectronicsSim * theElectronicsSim
void fC2pe(CaloSamples &samples) const