8 #include "CLHEP/Random/RandGaussQ.h" 12 :
CaloSimParameters(simHitToPhotoelectrons, photoelectronsToAnalog, samplingFactor, timePhase, 6, 4,
false, syncPhase),
14 theSamplingFactor( samplingFactor ),
49 if (!gains || !gwidths )
51 edm::LogError(
"CastorAmplifier") <<
"Could not fetch HCAL conditions for channel " << hcalGenDetId;
double getNominalfCperPE() const
const CastorDbService * theDbService
Main class for Parameters in different subdetectors.
CastorSimParameters(double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, bool syncPhase)
const CastorGain * getGain(const HcalGenericDetId &fId) const
double fCtoGeV(const DetId &detId) const
const CastorGainWidth * getGainWidth(const HcalGenericDetId &fId) const
float getValue(int fCapId) const
get value for capId = 0..3
double photoelectronsToAnalog() const
the factor which goes from photoelectrons to whatever gets read by ADCs