8 #include "CLHEP/Random/RandGaussQ.h"
12 double samplingFactor,
double timePhase,
bool syncPhase)
13 :
CaloSimParameters(simHitToPhotoelectrons, photoelectronsToAnalog, samplingFactor, timePhase,
14 6, 4,
false, syncPhase),
16 theSamplingFactor( samplingFactor )
23 theSamplingFactor( p.getParameter<double>(
"samplingFactor") )
40 if (!gains || !gwidths )
42 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
volatile std::atomic< bool > shutdown_flag false
double photoelectronsToAnalog() const
the factor which goes from photoelectrons to whatever gets read by ADCs