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:
47 
48  const bool debug_;
49  const float bxTime_;
50  const float integratedLum_;
54 
55  // adc/tdc bitwidths
56  const uint32_t adcNbits_, tdcNbits_;
57 
58  // synthesized adc/tdc information
59  const float adcSaturation_MIP_;
60  const float adcLSB_MIP_;
61  const uint32_t adcBitSaturation_;
62  const float adcThreshold_MIP_;
63  const float toaLSB_ns_;
64  const uint32_t tdcBitSaturation_;
65 };
66 
67 #endif
ETLElectronicsSim::bxTime_
const float bxTime_
Definition: ETLElectronicsSim.h:49
ETLElectronicsSim::getEvent
void getEvent(const edm::Event &evt)
Definition: ETLElectronicsSim.h:29
FTLDigiCollections.h
ETLElectronicsSim::integratedLum_
const float integratedLum_
Definition: ETLElectronicsSim.h:50
ETLElectronicsSim::timeRes2_
const reco::FormulaEvaluator timeRes2_
Definition: ETLElectronicsSim.h:53
input
static const std::string input
Definition: EdmProvDump.cc:48
PixelTopology.h
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
ETLElectronicsSim::adcThreshold_MIP_
const float adcThreshold_MIP_
Definition: ETLElectronicsSim.h:62
ETLElectronicsSim::tdcNbits_
const uint32_t tdcNbits_
Definition: ETLElectronicsSim.h:56
MTDGeometry.h
ETLElectronicsSim::toaLSB_ns_
const float toaLSB_ns_
Definition: ETLElectronicsSim.h:63
MTDDigiGeometryRecord.h
edm::SortedCollection
Definition: SortedCollection.h:49
ETLElectronicsSim::updateOutput
void updateOutput(ETLDigiCollection &coll, const ETLDataFrame &rawDataFrame) const
Definition: ETLElectronicsSim.cc:128
MTDDigitizerTypes.h
ETLElectronicsSim::ETLElectronicsSim
ETLElectronicsSim(const edm::ParameterSet &pset)
Definition: ETLElectronicsSim.cc:8
ETLElectronicsSim::fluence_
const reco::FormulaEvaluator fluence_
Definition: ETLElectronicsSim.h:51
reco::FormulaEvaluator
Definition: FormulaEvaluator.h:67
mtd_digitizer::MTDSimHitData
std::array< MTDSimData_t, nSamples > MTDSimHitData
Definition: MTDDigitizerTypes.h:15
PSimHit.h
ETLElectronicsSim::debug_
const bool debug_
Definition: ETLElectronicsSim.h:48
CLHEP
Definition: CocoaGlobals.h:27
ETLElectronicsSim
Definition: ETLElectronicsSim.h:25
edm::ParameterSet
Definition: ParameterSet.h:47
ETLElectronicsSim::runTrivialShaper
void runTrivialShaper(ETLDataFrame &dataFrame, const mtd::MTDSimHitData &chargeColl, const mtd::MTDSimHitData &toa, const uint8_t row, const uint8_t column) const
Definition: ETLElectronicsSim.cc:94
Event.h
FormulaEvaluator.h
ETLElectronicsSim::adcLSB_MIP_
const float adcLSB_MIP_
Definition: ETLElectronicsSim.h:60
edm::EventSetup
Definition: EventSetup.h:57
ETLElectronicsSim::adcSaturation_MIP_
const float adcSaturation_MIP_
Definition: ETLElectronicsSim.h:59
ETLElectronicsSim::adcNbits_
const uint32_t adcNbits_
Definition: ETLElectronicsSim.h:56
ETLElectronicsSim::getEventSetup
void getEventSetup(const edm::EventSetup &evt)
Definition: ETLElectronicsSim.cc:25
MTDGeometry
Definition: MTDGeometry.h:14
FTLDataFrameT
Readout digi for HGC.
Definition: FTLDataFrameT.h:14
ETLElectronicsSim::tdcBitSaturation_
const uint32_t tdcBitSaturation_
Definition: ETLElectronicsSim.h:64
ETLElectronicsSim::lgadGain_
const reco::FormulaEvaluator lgadGain_
Definition: ETLElectronicsSim.h:52
mtd_digitizer::MTDSimHitDataAccumulator
std::unordered_map< MTDCellId, MTDCellInfo > MTDSimHitDataAccumulator
Definition: MTDDigitizerTypes.h:39
ETLElectronicsSim::geom_
const MTDGeometry * geom_
Definition: ETLElectronicsSim.h:46
ETLElectronicsSim::adcBitSaturation_
const uint32_t adcBitSaturation_
Definition: ETLElectronicsSim.h:61
EventSetup.h
ParameterSet.h
mtd_digitizer
Definition: MTDDigitizer.h:35
edm::Event
Definition: Event.h:73
ETLElectronicsSim::run
void run(const mtd::MTDSimHitDataAccumulator &input, ETLDigiCollection &output, CLHEP::HepRandomEngine *hre) const
Definition: ETLElectronicsSim.cc:31
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
ETLElectronicsSim::dfSIZE
static constexpr int dfSIZE
Definition: ETLElectronicsSim.h:43