8 #include "CLHEP/Random/RandGaussQ.h" 16 simHitToPhotoelectrons, photoelectronsToAnalog, samplingFactor, timePhase, 6, 4,
false, syncPhase),
18 theSamplingFactor(samplingFactor) {}
34 if (!gains || !gwidths) {
35 edm::LogError(
"HcalAmplifier") <<
"Could not fetch HCAL conditions for channel " << hcalGenDetId;
const HcalGainWidth * getGainWidth(const HcalGenericDetId &fId) const
double fCtoGeV(const DetId &detId) const
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