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 
18 
20 
21 namespace mtd = mtd_digitizer;
22 
23 namespace CLHEP {
24  class HepRandomEngine;
25 }
26 
28 public:
30 
31  void getEvent(const edm::Event& evt) {}
32 
33  void getEventSetup(const edm::EventSetup& evt);
34 
35  void run(const mtd::MTDSimHitDataAccumulator& input, ETLDigiCollection& output, CLHEP::HepRandomEngine* hre) const;
36 
37  void runTrivialShaper(ETLDataFrame& dataFrame,
38  const mtd::MTDSimHitData& chargeColl,
39  const mtd::MTDSimHitData& toa1,
40  const mtd::MTDSimHitData& toa2,
41  const uint8_t row,
42  const uint8_t column) const;
43 
44  void updateOutput(ETLDigiCollection& coll, const ETLDataFrame& rawDataFrame) const;
45 
46  static constexpr int dfSIZE = 5;
47 
48 private:
51 
52  const bool debug_;
53  const float bxTime_;
54  const float integratedLum_;
55 
57 
58  // adc/tdc bitwidths
59  const uint32_t adcNbits_, tdcNbits_;
60 
61  // synthesized adc/tdc information
62  const float adcSaturation_MIP_;
63  const float adcLSB_MIP_;
64  const uint32_t adcBitSaturation_;
65  const float adcThreshold_MIP_;
66  const float iThreshold_MIP_;
67  const float toaLSB_ns_;
68  const uint32_t tdcBitSaturation_;
69  const float referenceChargeColl_;
70  const float noiseLevel_;
71  const float sigmaDistorsion_;
72  const float sigmaTDC_;
74 };
75 
76 #endif
const edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > geomToken_
static constexpr int dfSIZE
const reco::FormulaEvaluator formulaLandauNoise_
void updateOutput(ETLDigiCollection &coll, const ETLDataFrame &rawDataFrame) const
std::array< MTDSimData_t, nSamples > MTDSimHitData
void getEvent(const edm::Event &evt)
const float integratedLum_
std::unordered_map< MTDCellId, MTDCellInfo > MTDSimHitDataAccumulator
const float toaLSB_ns_
const ETLPulseShape etlPulseShape_
const uint32_t tdcNbits_
const float referenceChargeColl_
static std::string const input
Definition: EdmProvDump.cc:50
ETLElectronicsSim(const edm::ParameterSet &pset, edm::ConsumesCollector iC)
const uint32_t adcNbits_
const float sigmaDistorsion_
const uint32_t adcBitSaturation_
const float iThreshold_MIP_
const uint32_t tdcBitSaturation_
const float adcLSB_MIP_
void runTrivialShaper(ETLDataFrame &dataFrame, const mtd::MTDSimHitData &chargeColl, const mtd::MTDSimHitData &toa1, const mtd::MTDSimHitData &toa2, const uint8_t row, const uint8_t column) const
const float noiseLevel_
Readout digi for HGC.
Definition: FTLDataFrameT.h:14
const float adcSaturation_MIP_
Definition: output.py:1
void getEventSetup(const edm::EventSetup &evt)
void run(const mtd::MTDSimHitDataAccumulator &input, ETLDigiCollection &output, CLHEP::HepRandomEngine *hre) const
const MTDGeometry * geom_
const float adcThreshold_MIP_