CMS 3D CMS Logo

L1GctHfBitCountsLut.h
Go to the documentation of this file.
1 #ifndef L1GCTHFBITCOUNTSLUT_H_
2 #define L1GCTHFBITCOUNTSLUT_H_
3 
6 
7 #include <vector>
8 
20 class L1GctHfBitCountsLut : public L1GctLut<5,3>
21 
22 {
23 public:
24 
25  // Definitions.
26  static const int NAddress, NData;
27 
35  ~L1GctHfBitCountsLut() override;
36 
39 
41  friend std::ostream& operator << (std::ostream& os, const L1GctHfBitCountsLut& lut);
42 
45 
47  std::vector<unsigned> getThresholdsGct() const;
48 
49 protected:
50 
51 
52  uint16_t value (const uint16_t lutAddress) const override;
53 
54 private:
55 
57 
58 };
59 
60 
61 std::ostream& operator << (std::ostream& os, const L1GctHfBitCountsLut& lut);
62 
63 #endif /*L1GCTHFBITCOUNTSLUT_H_*/
type
Definition: HCALResponse.h:21
static const int NData
L1GctHfEtSumsLut::hfLutType lutType() const
Return the type of Lut.
Base class for LookUp Tables.
Definition: L1GctLut.h:20
friend std::ostream & operator<<(std::ostream &os, const L1GctHfBitCountsLut &lut)
Overload << operator.
uint16_t value(const uint16_t lutAddress) const override
L1GctHfBitCountsLut operator=(const L1GctHfBitCountsLut &lut)
Overload = operator.
L1GctHfEtSumsLut::hfLutType m_lutType
LUT for compression of HF feature bit counts to output format.
L1GctHfBitCountsLut()
Default constructor.
static const int NAddress
~L1GctHfBitCountsLut() override
Destructor.
std::vector< unsigned > getThresholdsGct() const
Get thresholds.