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;
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
unique_ptr< ClusterSequence > cs
void setMIPs(const ESIntercalibConstants *mips)
void setMIPToGeV(const double MIPToGeV)
std::vector< ESSample > encode(const CaloSamples &timeframe, CLHEP::HepRandomEngine *) const
virtual void analogToDigital(CLHEP::HepRandomEngine *, const CaloSamples &cs, ESDataFrame &df) const
void setPedestals(const ESPedestals *peds)
ESElectronicsSim(bool addNoise)
double decode(const ESSample &sample, const DetId &detId) const
virtual ~ESElectronicsSim()
const ESPedestals * peds_