8 #include "CLHEP/Random/RandGaussQ.h"
12 :
CaloSimParameters(simHitToPhotoelectrons, photoelectronsToAnalog, samplingFactor, timePhase, 6, 4,
false, syncPhase),
14 theSamplingFactor( samplingFactor )
36 theSamplingFactor( p.getParameter<double>(
"samplingFactor") )
77 if (!gains || !gwidths )
79 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)
double simHitToPhotoelectrons() const
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