8 #include "CLHEP/Random/RandGaussQ.h" 17 theDbService(nullptr),
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 photoelectronsToAnalog() const
the factor which goes from photoelectrons to whatever gets read by ADCs
Log< level::Error, false > LogError
Main class for Parameters in different subdetectors.
double simHitToPhotoelectrons() const
double samplingFactor() const
constexpr float gains[NGAINS]
HFSimParameters(double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, bool syncPhase)
const HcalDbService * theDbService
const HcalGain * getGain(const HcalGenericDetId &fId) const
double fCtoGeV(const DetId &detId) const