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 
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  void run(const mtd::MTDSimHitDataAccumulator& input, ETLDigiCollection& output, CLHEP::HepRandomEngine* hre) const;
30 
31  void runTrivialShaper(ETLDataFrame& dataFrame,
32  const mtd::MTDSimHitData& chargeColl,
33  const mtd::MTDSimHitData& toa,
34  const uint8_t row,
35  const uint8_t column) const;
36 
37  void updateOutput(ETLDigiCollection& coll, const ETLDataFrame& rawDataFrame) const;
38 
39  static constexpr int dfSIZE = 5;
40 
41 private:
42  const bool debug_;
43  const float bxTime_;
45 
46  // adc/tdc bitwidths
47  const uint32_t adcNbits_, tdcNbits_;
48 
49  // synthesized adc/tdc information
50  const float adcSaturation_MIP_;
51  const float adcLSB_MIP_;
52  const float adcThreshold_MIP_;
53  const float toaLSB_ns_;
54 };
55 
56 #endif
ETLElectronicsSim::bxTime_
const float bxTime_
Definition: ETLElectronicsSim.h:43
ETLElectronicsSim::getEvent
void getEvent(const edm::Event &evt)
Definition: ETLElectronicsSim.h:25
FTLDigiCollections.h
input
static const std::string input
Definition: EdmProvDump.cc:48
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:32
ETLElectronicsSim::adcThreshold_MIP_
const float adcThreshold_MIP_
Definition: ETLElectronicsSim.h:52
ETLElectronicsSim::tdcNbits_
const uint32_t tdcNbits_
Definition: ETLElectronicsSim.h:47
ETLElectronicsSim::toaLSB_ns_
const float toaLSB_ns_
Definition: ETLElectronicsSim.h:53
edm::SortedCollection
Definition: SortedCollection.h:49
ETLElectronicsSim::updateOutput
void updateOutput(ETLDigiCollection &coll, const ETLDataFrame &rawDataFrame) const
Definition: ETLElectronicsSim.cc:97
MTDDigitizerTypes.h
ETLElectronicsSim::ETLElectronicsSim
ETLElectronicsSim(const edm::ParameterSet &pset)
Definition: ETLElectronicsSim.cc:8
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:42
CLHEP
Definition: CocoaGlobals.h:27
ETLElectronicsSim::sigmaEta_
const reco::FormulaEvaluator sigmaEta_
Definition: ETLElectronicsSim.h:44
ETLElectronicsSim
Definition: ETLElectronicsSim.h:21
edm::ParameterSet
Definition: ParameterSet.h:36
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:63
Event.h
FormulaEvaluator.h
ETLElectronicsSim::adcLSB_MIP_
const float adcLSB_MIP_
Definition: ETLElectronicsSim.h:51
edm::EventSetup
Definition: EventSetup.h:57
ETLElectronicsSim::adcSaturation_MIP_
const float adcSaturation_MIP_
Definition: ETLElectronicsSim.h:50
ETLElectronicsSim::adcNbits_
const uint32_t adcNbits_
Definition: ETLElectronicsSim.h:47
ETLElectronicsSim::getEventSetup
void getEventSetup(const edm::EventSetup &evt)
Definition: ETLElectronicsSim.h:27
FTLDataFrameT
Readout digi for HGC.
Definition: FTLDataFrameT.h:14
mtd_digitizer::MTDSimHitDataAccumulator
std::unordered_map< MTDCellId, MTDCellInfo > MTDSimHitDataAccumulator
Definition: MTDDigitizerTypes.h:39
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:19
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
ETLElectronicsSim::dfSIZE
static constexpr int dfSIZE
Definition: ETLElectronicsSim.h:39