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) const;
36 
37  void updateOutput(ETLDigiCollection &coll,
38  const ETLDataFrame& rawDataFrame) const;
39 
40  static constexpr int dfSIZE = 5;
41 
42  private:
43 
44  const bool debug_;
45  const float bxTime_;
47 
48  // adc/tdc bitwidths
49  const uint32_t adcNbits_, tdcNbits_;
50 
51  // synthesized adc/tdc information
52  const float adcSaturation_MIP_;
53  const float adcLSB_MIP_;
54  const float adcThreshold_MIP_;
55  const float toaLSB_ns_;
56 
57 };
58 
59 #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:45
const reco::FormulaEvaluator sigmaEta_
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_