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) const;
38 
39  void updateOutput(BTLDigiCollection &coll,
40  const BTLDataFrame& rawDataFrame) const;
41 
42  static constexpr int dfSIZE = 5;
43 
44 
45  private:
46 
47  float sigma2_pe(const float& Q, const float& R) const;
48 
49  const bool debug_;
50 
51  const float ScintillatorRiseTime_;
53  const float ChannelTimeOffset_;
55 
56  const float EnergyThreshold_;
57  const float TimeThreshold1_;
58  const float TimeThreshold2_;
59  const float ReferencePulseNpe_;
60 
62  const float DarkCountRate_;
63  const float SigmaElectronicNoise_;
64  const float SigmaClock_;
65 
66  const float Npe_to_pC_;
67  const float Npe_to_V_;
68 
69  // adc/tdc bitwidths
70  const uint32_t adcNbits_, tdcNbits_;
71 
72  // synthesized adc/tdc information
73  const float adcSaturation_MIP_;
74  const float adcLSB_MIP_;
75  const float adcThreshold_MIP_;
76  const float toaLSB_ns_;
77 
79  const float SPTR2_;
80  const float DCRxRiseTime_;
82  const float SigmaClock2_;
83 
85 
86 };
87 
88 #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::array< MTDSimData_t, nSamples > MTDSimHitData
const float TimeThreshold2_
#define constexpr
const float adcLSB_MIP_
static std::string const input
Definition: EdmProvDump.cc:44
const float ScintillatorDecayTime2_
const float toaLSB_ns_
const BTLPulseShape btlPulseShape_
const uint32_t tdcNbits_
const float SigmaElectronicNoise2_
JetCorrectorParametersCollection coll
Definition: classes.h:10
const float SigmaElectronicNoise_
const float EnergyThreshold_
const float SinglePhotonTimeResolution_
const float ScintillatorDecayTime_
std::unordered_map< uint32_t, MTDCellInfo > MTDSimHitDataAccumulator
const float TimeThreshold1_
const float ChannelTimeOffset_
const float ScintillatorRiseTime_
const float smearChannelTimeOffset_
const float SigmaClock2_
void getEventSetup(const edm::EventSetup &evt)
const float ReferencePulseNpe_