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);
78 void premix(
CaloSamples& frame, Digi& result,
double preMixFactor,
unsigned preMixBits);
HcalAmplifier * theAmplifier
void setStartingCapId(int startingCapId)
void setDbService(const HcalDbService *service)
void newEvent(CLHEP::HepRandomEngine *)
void convert(CaloSamples &frame, Digi &result, CLHEP::HepRandomEngine *)
const HcalSimParameterMap * theParameterMap
const HcalCoderFactory * theCoderFactory
bool theStartingCapIdIsRandom
void analogToDigitalImpl(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)
HcalElectronicsSim(const HcalSimParameterMap *parameterMap, HcalAmplifier *amplifier, const HcalCoderFactory *coderFactory, bool PreMix)
void premix(CaloSamples &frame, Digi &result, double preMixFactor, unsigned preMixBits)