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 float bxTime_;
53  const float integratedLum_;
54 
56 
57  // adc/tdc bitwidths
58  const uint32_t adcNbits_, tdcNbits_;
59 
60  // synthesized adc/tdc information
61  const float adcSaturation_MIP_;
62  const float adcLSB_MIP_;
63  const uint32_t adcBitSaturation_;
64  const float adcThreshold_MIP_;
65  const float iThreshold_MIP_;
66  const float toaLSB_ns_;
67  const uint32_t tdcBitSaturation_;
68  const float referenceChargeColl_;
69  const float noiseLevel_;
70  const float sigmaDistorsion_;
71  const float sigmaTDC_;
73 };
74 
75 #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_