CMS 3D CMS Logo

BTLElectronicsSim.h
Go to the documentation of this file.
1 #ifndef __SimFastTiming_FastTimingCommon_BTLElectronicsSim_h__
2 #define __SimFastTiming_FastTimingCommon_BTLElectronicsSim_h__
3 
6 
9 
12 
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 
29 
32  CLHEP::HepRandomEngine *hre) const;
33 
34  void runTrivialShaper(BTLDataFrame &dataFrame,
35  const mtd::MTDSimHitData& chargeColl,
36  const mtd::MTDSimHitData& toa1,
37  const mtd::MTDSimHitData& toa2,
38  const uint8_t row,
39  const uint8_t col) const;
40 
41  void updateOutput(BTLDigiCollection &coll,
42  const BTLDataFrame& rawDataFrame) const;
43 
44  static constexpr int dfSIZE = 2;
45 
46 
47  private:
48 
49  float sigma2_pe(const float& Q, const float& R) const;
50 
51  const bool debug_;
52 
53  const float bxTime_;
54  const float testBeamMIPTimeRes_;
55  const float ScintillatorRiseTime_;
57  const float ChannelTimeOffset_;
59 
60  const float EnergyThreshold_;
61  const float TimeThreshold1_;
62  const float TimeThreshold2_;
63  const float ReferencePulseNpe_;
64 
66  const float DarkCountRate_;
67  const float SigmaElectronicNoise_;
68  const float SigmaClock_;
69 
70  const float Npe_to_pC_;
71  const float Npe_to_V_;
72 
73  // adc/tdc bitwidths
74  const uint32_t adcNbits_, tdcNbits_;
75 
76  // synthesized adc/tdc information
77  const float adcSaturation_MIP_;
78  const uint32_t adcBitSaturation_;
79  const float adcLSB_MIP_;
80  const float adcThreshold_MIP_;
81  const float toaLSB_ns_;
82  const uint32_t tdcBitSaturation_;
83 
84  const float CorrCoeff_;
85  const float cosPhi_;
86  const float sinPhi_;
87 
89  const float SPTR2_;
90  const float DCRxRiseTime_;
92  const float SigmaClock2_;
93 
95 
96 };
97 
98 #endif
void getEvent(const edm::Event &evt)
const float Npe_to_pC_
const float DCRxRiseTime_
const float adcThreshold_MIP_
const float adcSaturation_MIP_
const float SigmaClock_
const float DarkCountRate_
std::unordered_map< MTDCellId, MTDCellInfo > MTDSimHitDataAccumulator
std::array< MTDSimData_t, nSamples > MTDSimHitData
const float TimeThreshold2_
const float adcLSB_MIP_
static std::string const input
Definition: EdmProvDump.cc:48
const float ScintillatorDecayTime2_
const float toaLSB_ns_
const BTLPulseShape btlPulseShape_
const float CorrCoeff_
const uint32_t adcBitSaturation_
const uint32_t tdcNbits_
const float SigmaElectronicNoise2_
JetCorrectorParametersCollection coll
Definition: classes.h:10
const float SigmaElectronicNoise_
const float EnergyThreshold_
const float SinglePhotonTimeResolution_
const uint32_t tdcBitSaturation_
const float ScintillatorDecayTime_
const float TimeThreshold1_
const float ChannelTimeOffset_
col
Definition: cuy.py:1010
Readout digi for HGC.
Definition: FTLDataFrameT.h:14
const float ScintillatorRiseTime_
const float testBeamMIPTimeRes_
const float smearChannelTimeOffset_
const float SigmaClock2_
void getEventSetup(const edm::EventSetup &evt)
#define constexpr
const float ReferencePulseNpe_