Go to the documentation of this file. 1 #ifndef HcalSimAlgos_HcalElectronicsSim_h
2 #define HcalSimAlgos_HcalElectronicsSim_h
22 class HepRandomEngine;
39 double preMixFactor = 10.0,
40 unsigned preMixBits = 126);
44 double preMixFactor = 10.0,
45 unsigned preMixBits = 126);
49 double preMixFactor = 10.0,
50 unsigned preMixBits = 126);
54 double preMixFactor = 10.0,
55 unsigned preMixBits = 126);
59 double preMixFactor = 10.0,
60 unsigned preMixBits = 126);
64 double preMixFactor = 10.0,
65 unsigned preMixBits = 126);
68 void newEvent(CLHEP::HepRandomEngine*);
74 CLHEP::HepRandomEngine*,
CaloSamples& linearFrame,
Digi&
result,
double preMixFactor,
unsigned preMixBits);
void analogToDigital(CLHEP::HepRandomEngine *, CaloSamples &linearFrame, HBHEDataFrame &result, double preMixFactor=10.0, unsigned preMixBits=126)
void setDbService(const HcalDbService *service)
void newEvent(CLHEP::HepRandomEngine *)
void setStartingCapId(int startingCapId)
const HcalCoderFactory * theCoderFactory
void analogToDigitalImpl(CLHEP::HepRandomEngine *, CaloSamples &linearFrame, Digi &result, double preMixFactor, unsigned preMixBits)
void convert(CaloSamples &frame, Digi &result, CLHEP::HepRandomEngine *)
const HcalSimParameterMap * theParameterMap
bool theStartingCapIdIsRandom
void premix(CaloSamples &frame, Digi &result, double preMixFactor, unsigned preMixBits)
HcalAmplifier * theAmplifier
HcalElectronicsSim(const HcalSimParameterMap *parameterMap, HcalAmplifier *amplifier, const HcalCoderFactory *coderFactory, bool PreMix)