CMS 3D CMS Logo

ESElectronicsSimFast.h
Go to the documentation of this file.
1 #ifndef EcalSimAlgos_ESElectronicsSimFast_h
2 #define EcalSimAlgos_ESElectronicsSimFast_h 1
3 
9 
10 #include <vector>
11 
12 namespace CLHEP {
13  class HepRandomEngine;
14 }
15 
17 public:
19 
20  enum { MAXADC = 4095, MINADC = 0 };
21 
22  ESElectronicsSimFast(bool addNoise, bool PreMix1);
24 
25  void setPedestals(const ESPedestals* peds);
26 
27  void setMIPs(const ESIntercalibConstants* mips);
28 
29  void setMIPToGeV(double MIPToGeV);
30 
31  void analogToDigital(CLHEP::HepRandomEngine*, ESSamples& cs, ESDataFrame& df, bool isNoise = false) const;
32 
33  void newEvent() {}
34 
35 private:
36  bool m_addNoise;
37 
38  bool m_PreMix1;
39 
40  double m_MIPToGeV;
41 
43 
45 };
46 
47 #endif
void setMIPToGeV(double MIPToGeV)
const ESIntercalibConstants * m_mips
void setPedestals(const ESPedestals *peds)
CaloTSamples< float, 3 > ESSamples
ESElectronicsSimFast(bool addNoise, bool PreMix1)
const ESPedestals * m_peds
void setMIPs(const ESIntercalibConstants *mips)
void analogToDigital(CLHEP::HepRandomEngine *, ESSamples &cs, ESDataFrame &df, bool isNoise=false) const