1 #ifndef CastorSim_CastorElectronicsSim_h
2 #define CastorSim_CastorElectronicsSim_h
9 #include "CLHEP/Random/RandFlat.h"
void newEvent()
Things that need to be initialized every event.
CastorElectronicsSim(CastorAmplifier *amplifier, const CastorCoderFactory *coderFactory)
void setRandomEngine(CLHEP::HepRandomEngine &engine)
const CastorCoderFactory * theCoderFactory
CastorAmplifier * theAmplifier
void analogToDigital(CaloSamples &linearFrame, CastorDataFrame &result)
void convert(CaloSamples &frame, Digi &result)
CLHEP::RandFlat * theRandFlat