1 #ifndef CastorSim_CastorElectronicsSim_h
2 #define CastorSim_CastorElectronicsSim_h
16 class HepRandomEngine;
28 void newEvent(CLHEP::HepRandomEngine*);
void convert(CaloSamples &frame, Digi &result, CLHEP::HepRandomEngine *)
CastorElectronicsSim(CastorAmplifier *amplifier, const CastorCoderFactory *coderFactory)
std::tuple< unsigned int, int, int, DigiType, int, int, int, float > Digi
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.