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 
5 
8 
11 
14 
15 namespace mtd = mtd_digitizer;
16 
17 namespace CLHEP {
18  class HepRandomEngine;
19 }
20 
22  public:
24 
25  void getEvent(const edm::Event& evt) { }
26 
27  void getEventSetup(const edm::EventSetup& evt) { }
28 
31  CLHEP::HepRandomEngine *hre) const;
32 
33  void runTrivialShaper(ETLDataFrame &dataFrame,
34  const mtd::MTDSimHitData& chargeColl,
35  const mtd::MTDSimHitData& toa,
36  const uint8_t row,
37  const uint8_t column) const;
38 
39  void updateOutput(ETLDigiCollection &coll,
40  const ETLDataFrame& rawDataFrame) const;
41 
42  static constexpr int dfSIZE = 5;
43 
44  private:
45 
46  const bool debug_;
47  const float bxTime_;
49 
50  // adc/tdc bitwidths
51  const uint32_t adcNbits_, tdcNbits_;
52 
53  // synthesized adc/tdc information
54  const float adcSaturation_MIP_;
55  const float adcLSB_MIP_;
56  const float adcThreshold_MIP_;
57  const float toaLSB_ns_;
58 
59 };
60 
61 #endif
void getEvent(const edm::Event &evt)
std::unordered_map< MTDCellId, MTDCellInfo > MTDSimHitDataAccumulator
const float toaLSB_ns_
std::array< MTDSimData_t, nSamples > MTDSimHitData
#define constexpr
const uint32_t tdcNbits_
static std::string const input
Definition: EdmProvDump.cc:45
const reco::FormulaEvaluator sigmaEta_
JetCorrectorParametersCollection coll
Definition: classes.h:10
const float adcLSB_MIP_
const float adcSaturation_MIP_
void getEventSetup(const edm::EventSetup &evt)
const float adcThreshold_MIP_