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