CMS 3D CMS Logo

HGCalVFELinearizationImpl.h
Go to the documentation of this file.
1 #ifndef __L1Trigger_L1THGCal_HGCalVFELinearizationImpl_h__
2 #define __L1Trigger_L1THGCal_HGCalVFELinearizationImpl_h__
3 
6 
8 
9 #include <array>
10 #include <vector>
11 
13 public:
15 
16  void linearize(const std::vector<HGCDataFrame<DetId, HGCSample>>&, std::vector<std::pair<DetId, uint32_t>>&);
17 
18  // Retrieve parameters
19  uint32_t linnBits() const { return linnBits_; }
20 
21 private:
22  double adcLSB_si_;
23  double linLSB_si_;
25  uint32_t tdcnBits_si_;
26  double tdcOnset_si_;
27  uint32_t adcnBits_si_;
29  double tdcLSB_si_;
30  //
31  double adcLSB_sc_;
32  double linLSB_sc_;
34  uint32_t tdcnBits_sc_;
35  double tdcOnset_sc_;
36  uint32_t adcnBits_sc_;
38  double tdcLSB_sc_;
39  //
40  uint32_t linMax_;
41  uint32_t linnBits_;
42 };
43 
44 #endif
HGCalVFELinearizationImpl(const edm::ParameterSet &conf)
void linearize(const std::vector< HGCDataFrame< DetId, HGCSample >> &, std::vector< std::pair< DetId, uint32_t >> &)
Readout digi for HGC.
Definition: HGCDataFrame.h:14