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_*/
L1GctHfBitCountsLut::value
uint16_t value(const uint16_t lutAddress) const override
Definition: L1GctHfBitCountsLut.cc:26
L1GctHfBitCountsLut::operator<<
friend std::ostream & operator<<(std::ostream &os, const L1GctHfBitCountsLut &lut)
Overload << operator.
Definition: L1GctHfBitCountsLut.cc:49
L1GctHfEtSumsLut::hfLutType
hfLutType
Definition: L1GctHfEtSumsLut.h:24
L1GctHfBitCountsLut::m_lutType
L1GctHfEtSumsLut::hfLutType m_lutType
Definition: L1GctHfBitCountsLut.h:51
L1GctHfBitCountsLut::NData
static const int NData
Definition: L1GctHfBitCountsLut.h:24
L1GctLut.h
L1GctHfBitCountsLut::L1GctHfBitCountsLut
L1GctHfBitCountsLut()
Default constructor.
Definition: L1GctHfBitCountsLut.cc:13
L1GctHfEtSumsLut.h
L1GctHfBitCountsLut::lutType
L1GctHfEtSumsLut::hfLutType lutType() const
Return the type of Lut.
Definition: L1GctHfBitCountsLut.h:42
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
L1GctHfBitCountsLut::operator=
L1GctHfBitCountsLut operator=(const L1GctHfBitCountsLut &lut)
Overload = operator.
Definition: L1GctHfBitCountsLut.cc:44
L1GctHfBitCountsLut::NAddress
static const int NAddress
Definition: L1GctHfBitCountsLut.h:24
L1GctLut
Base class for LookUp Tables.
Definition: L1GctLut.h:19
L1GctHfBitCountsLut::getThresholdsGct
std::vector< unsigned > getThresholdsGct() const
Get thresholds.
Definition: L1GctHfBitCountsLut.cc:35
L1GctHfBitCountsLut::~L1GctHfBitCountsLut
~L1GctHfBitCountsLut() override
Destructor.
Definition: L1GctHfBitCountsLut.cc:24
L1GctHfBitCountsLut
LUT for compression of HF feature bit counts to output format.
Definition: L1GctHfBitCountsLut.h:19
operator<<
std::ostream & operator<<(std::ostream &os, const L1GctHfBitCountsLut &lut)
Definition: L1GctHfBitCountsLut.cc:49