1 #ifndef HcalSimAlgos_HcalElectronicsSim_h
2 #define HcalSimAlgos_HcalElectronicsSim_h
21 class HepRandomEngine;
40 void newEvent(CLHEP::HepRandomEngine*);
46 template<
class Digi>
void premix(
CaloSamples & frame,
Digi & result,
double preMixFactor,
unsigned preMixBits);
HcalAmplifier * theAmplifier
void setStartingCapId(int startingCapId)
std::tuple< unsigned int, int, int, DigiType, int, int, int, float > Digi
void setDbService(const HcalDbService *service)
void newEvent(CLHEP::HepRandomEngine *)
HcalElectronicsSim(HcalAmplifier *amplifier, const HcalCoderFactory *coderFactory, bool PreMix)
void convert(CaloSamples &frame, Digi &result, CLHEP::HepRandomEngine *)
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)
void premix(CaloSamples &frame, Digi &result, double preMixFactor, unsigned preMixBits)