CMS 3D CMS Logo

ETLElectronicsSim.h
Go to the documentation of this file.
1 #ifndef __SimFastTiming_FastTimingCommon_ETLElectronicsSim_h__
2 #define __SimFastTiming_FastTimingCommon_ETLElectronicsSim_h__
3 
6 
9 
12 
13 namespace mtd = mtd_digitizer;
14 
15 namespace CLHEP {
16  class HepRandomEngine;
17 }
18 
20  public:
22 
23  void getEvent(const edm::Event& evt) { }
24 
25  void getEventSetup(const edm::EventSetup& evt) { }
26 
29  CLHEP::HepRandomEngine *hre) const;
30 
31  void runTrivialShaper(ETLDataFrame &dataFrame,
32  const mtd::MTDSimHitData& chargeColl,
33  const mtd::MTDSimHitData& toa) const;
34 
35  void updateOutput(ETLDigiCollection &coll,
36  const ETLDataFrame& rawDataFrame) const;
37 
38  static constexpr int dfSIZE = 5;
39 
40  private:
41 
42  const bool debug_;
43 
44  // adc/tdc bitwidths
45  const uint32_t adcNbits_, tdcNbits_;
46 
47  // synthesized adc/tdc information
48  const float adcSaturation_MIP_;
49  const float adcLSB_MIP_;
50  const float adcThreshold_MIP_;
51  const float toaLSB_ns_;
52 
53 };
54 
55 #endif
void getEvent(const edm::Event &evt)
const float toaLSB_ns_
std::array< MTDSimData_t, nSamples > MTDSimHitData
#define constexpr
const uint32_t tdcNbits_
static std::string const input
Definition: EdmProvDump.cc:44
JetCorrectorParametersCollection coll
Definition: classes.h:10
const float adcLSB_MIP_
std::unordered_map< uint32_t, MTDCellInfo > MTDSimHitDataAccumulator
const float adcSaturation_MIP_
void getEventSetup(const edm::EventSetup &evt)
const float adcThreshold_MIP_