1 #ifndef CastorSim_CastorElectronicsSim_h
2 #define CastorSim_CastorElectronicsSim_h
16 class HepRandomEngine;
28 void newEvent(CLHEP::HepRandomEngine*);
31 template<
class Digi>
void convert(
CaloSamples & frame, Digi & result, CLHEP::HepRandomEngine*);
void convert(CaloSamples &frame, Digi &result, CLHEP::HepRandomEngine *)
CastorElectronicsSim(CastorAmplifier *amplifier, const CastorCoderFactory *coderFactory)
const CastorCoderFactory * theCoderFactory
CastorAmplifier * theAmplifier
void analogToDigital(CLHEP::HepRandomEngine *, CaloSamples &linearFrame, CastorDataFrame &result)
void newEvent(CLHEP::HepRandomEngine *)
Things that need to be initialized every event.