8 #include "CLHEP/Random/RandGaussQ.h"
12 :
CaloSimParameters(simHitToPhotoelectrons, photoelectronsToAnalog, samplingFactor, timePhase, 6, 4,
false, syncPhase),
14 theSamplingFactor( samplingFactor )
22 theSamplingFactor( p.getParameter<double>(
"samplingFactor") )
56 if (!gains || !gwidths )
58 edm::LogError(
"CastorAmplifier") <<
"Could not fetch HCAL conditions for channel " << hcalGenDetId;
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
volatile std::atomic< bool > shutdown_flag false
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