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 
19 class L1GctHfBitCountsLut : public L1GctLut<5, 3>
20 
21 {
22 public:
23  // Definitions.
24  static const int NAddress, NData;
25 
33  ~L1GctHfBitCountsLut() override;
34 
37 
39  friend std::ostream& operator<<(std::ostream& os, const L1GctHfBitCountsLut& lut);
40 
43 
45  std::vector<unsigned> getThresholdsGct() const;
46 
47 protected:
48  uint16_t value(const uint16_t lutAddress) const override;
49 
50 private:
52 };
53 
54 std::ostream& operator<<(std::ostream& os, const L1GctHfBitCountsLut& lut);
55 
56 #endif /*L1GCTHFBITCOUNTSLUT_H_*/
static const int NData
std::ostream & operator<<(std::ostream &os, const L1GctHfBitCountsLut &lut)
Base class for LookUp Tables.
Definition: L1GctLut.h:19
friend std::ostream & operator<<(std::ostream &os, const L1GctHfBitCountsLut &lut)
Overload << operator.
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.
std::vector< unsigned > getThresholdsGct() const
Get thresholds.
L1GctHfEtSumsLut::hfLutType lutType() const
Return the type of Lut.
static const int NAddress
~L1GctHfBitCountsLut() override
Destructor.
uint16_t value(const uint16_t lutAddress) const override