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
HcalBaseSignalGenerator::fC2pe
void fC2pe(CaloSamples &samples) const
Definition: HcalBaseSignalGenerator.h:20
HcalBaseSignalGenerator::setParameterMap
void setParameterMap(HcalSimParameterMap *map)
Definition: HcalBaseSignalGenerator.h:14
cms::cuda::assert
assert(be >=bs)
EgammaValidation_cff.samples
samples
Definition: EgammaValidation_cff.py:19
CaloVNoiseSignalGenerator.h
HcalSimParameterMap.h
HcalBaseSignalGenerator::theParameterMap
HcalSimParameterMap * theParameterMap
Definition: HcalBaseSignalGenerator.h:26
CaloVNoiseSignalGenerator
Definition: CaloVNoiseSignalGenerator.h:11
HcalSimParameterMap
Definition: HcalSimParameterMap.h:10
DQMScaleToClient_cfi.factor
factor
Definition: DQMScaleToClient_cfi.py:8
HcalBaseSignalGenerator::HcalBaseSignalGenerator
HcalBaseSignalGenerator()
Definition: HcalBaseSignalGenerator.h:10
HcalBaseSignalGenerator::setElectronicsSim
void setElectronicsSim(HcalElectronicsSim *electronicsSim)
Definition: HcalBaseSignalGenerator.h:17
HcalBaseSignalGenerator::theElectronicsSim
HcalElectronicsSim * theElectronicsSim
Definition: HcalBaseSignalGenerator.h:27
HcalBaseSignalGenerator::~HcalBaseSignalGenerator
~HcalBaseSignalGenerator() override
Definition: HcalBaseSignalGenerator.h:12
CaloSamples
Definition: CaloSamples.h:14
hcalSimParameters_cfi.photoelectronsToAnalog
photoelectronsToAnalog
Definition: hcalSimParameters_cfi.py:18
HcalElectronicsSim
Definition: HcalElectronicsSim.h:25
genParticles_cff.map
map
Definition: genParticles_cff.py:11
HcalBaseSignalGenerator
Definition: HcalBaseSignalGenerator.h:8
HcalSimParameterMap::simParameters
const CaloSimParameters & simParameters(const DetId &id) const override
Definition: HcalSimParameterMap.cc:30