Go to the documentation of this file. 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 setPedestals(const ESPedestals *peds)
unique_ptr< ClusterSequence > cs
std::vector< ESSample > encode(const CaloSamples &timeframe, CLHEP::HepRandomEngine *) const
const ESPedestals * peds_
const ESIntercalibConstants * mips_
virtual ~ESElectronicsSim()
virtual void digitalToAnalog(const ESDataFrame &df, CaloSamples &cs) const
void setGain(const int gain)
void newEvent(CLHEP::HepRandomEngine *)
anything that needs to be done once per event
void setMIPs(const ESIntercalibConstants *mips)
void setMIPToGeV(const double MIPToGeV)
double decode(const ESSample &sample, const DetId &detId) const
ESElectronicsSim(bool addNoise)
virtual void analogToDigital(CLHEP::HepRandomEngine *, const CaloSamples &cs, ESDataFrame &df) const