1 #ifndef EcalSimAlgos_ESElectronicsSim_h 2 #define EcalSimAlgos_ESElectronicsSim_h 1 13 class HepRandomEngine;
18 enum { MAXADC = 4095 };
27 void setMIPToGeV(
const double MIPToGeV) { MIPToGeV_ = MIPToGeV; }
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
unique_ptr< ClusterSequence > cs
void setMIPs(const ESIntercalibConstants *mips)
void setMIPToGeV(const double MIPToGeV)
void setPedestals(const ESPedestals *peds)
bool decode(bool &, std::string const &)
const ESPedestals * peds_