1 #ifndef EcalSimAlgos_ESElectronicsSim_h 2 #define EcalSimAlgos_ESElectronicsSim_h 1 13 class HepRandomEngine;
42 std::vector<ESSample>
encode(
const CaloSamples& timeframe, CLHEP::HepRandomEngine*)
const;
double decode(const ESSample &sample, const DetId &detId) const
void setGain(const int gain)
const ESIntercalibConstants * mips_
void newEvent(CLHEP::HepRandomEngine *)
anything that needs to be done once per event
virtual void digitalToAnalog(const ESDataFrame &df, CaloSamples &cs) const
void setMIPs(const ESIntercalibConstants *mips)
void setMIPToGeV(const double MIPToGeV)
void setPedestals(const ESPedestals *peds)
ESElectronicsSim(bool addNoise)
virtual void analogToDigital(CLHEP::HepRandomEngine *, const CaloSamples &cs, ESDataFrame &df) const
std::vector< ESSample > encode(const CaloSamples &timeframe, CLHEP::HepRandomEngine *) const
virtual ~ESElectronicsSim()
const ESPedestals * peds_