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 
19 namespace mtd = mtd_digitizer;
20 
21 namespace CLHEP {
22  class HepRandomEngine;
23 }
24 
26 public:
28 
29  void getEvent(const edm::Event& evt) {}
30 
31  void getEventSetup(const edm::EventSetup& evt);
32 
33  void run(const mtd::MTDSimHitDataAccumulator& input, ETLDigiCollection& output, CLHEP::HepRandomEngine* hre) const;
34 
35  void runTrivialShaper(ETLDataFrame& dataFrame,
36  const mtd::MTDSimHitData& chargeColl,
37  const mtd::MTDSimHitData& toa,
38  const uint8_t row,
39  const uint8_t column) const;
40 
41  void updateOutput(ETLDigiCollection& coll, const ETLDataFrame& rawDataFrame) const;
42 
43  static constexpr int dfSIZE = 5;
44 
45 private:
48 
49  const bool debug_;
50  const float bxTime_;
51  const float integratedLum_;
55 
56  // adc/tdc bitwidths
57  const uint32_t adcNbits_, tdcNbits_;
58 
59  // synthesized adc/tdc information
60  const float adcSaturation_MIP_;
61  const float adcLSB_MIP_;
62  const uint32_t adcBitSaturation_;
63  const float adcThreshold_MIP_;
64  const float toaLSB_ns_;
65  const uint32_t tdcBitSaturation_;
66 };
67 
68 #endif
const edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > geomToken_
static constexpr int dfSIZE
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 uint32_t tdcNbits_
static std::string const input
Definition: EdmProvDump.cc:50
const reco::FormulaEvaluator fluence_
ETLElectronicsSim(const edm::ParameterSet &pset, edm::ConsumesCollector iC)
const uint32_t adcNbits_
const uint32_t adcBitSaturation_
void runTrivialShaper(ETLDataFrame &dataFrame, const mtd::MTDSimHitData &chargeColl, const mtd::MTDSimHitData &toa, const uint8_t row, const uint8_t column) const
const uint32_t tdcBitSaturation_
const reco::FormulaEvaluator lgadGain_
const float adcLSB_MIP_
Readout digi for HGC.
Definition: FTLDataFrameT.h:14
const float adcSaturation_MIP_
void getEventSetup(const edm::EventSetup &evt)
const reco::FormulaEvaluator timeRes2_
void run(const mtd::MTDSimHitDataAccumulator &input, ETLDigiCollection &output, CLHEP::HepRandomEngine *hre) const
const MTDGeometry * geom_
const float adcThreshold_MIP_