8 #include "CLHEP/Random/RandGaussQ.h"
11 double photoelectronsToAnalog,
12 double samplingFactor,
16 simHitToPhotoelectrons, photoelectronsToAnalog, samplingFactor, timePhase, 6, 4,
false, syncPhase),
17 theDbService(nullptr),
18 theSamplingFactor(samplingFactor) {}
22 theDbService(nullptr),
23 theSamplingFactor(p.getParameter<double>(
"samplingFactor")),
24 threshold_currentTDC_(p.getParameter<double>(
"threshold_currentTDC")) {}
37 if (!gains || !gwidths) {
38 edm::LogError(
"HcalAmplifier") <<
"Could not fetch HCAL conditions for channel " << hcalGenDetId;
const HcalGainWidth * getGainWidth(const HcalGenericDetId &fId) const
double fCtoGeV(const DetId &detId) const
Log< level::Error, false > LogError
float getValue(int fCapId) const
get value for capId = 0..3
Main class for Parameters in different subdetectors.
double simHitToPhotoelectrons() const
HFSimParameters(double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, bool syncPhase)
const HcalDbService * theDbService
const HcalGain * getGain(const HcalGenericDetId &fId) const
double samplingFactor() const
double photoelectronsToAnalog() const
the factor which goes from photoelectrons to whatever gets read by ADCs