test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GctHfEtSumsLut.h
Go to the documentation of this file.
1 #ifndef L1GCTHFETSUMSLUT_H_
2 #define L1GCTHFETSUMSLUT_H_
3 
5 
6 #include <vector>
7 
19 class L1CaloEtScale;
20 
21 class L1GctHfEtSumsLut : public L1GctLut<8,3>
22 
23 {
24 public:
25 
35 
36  // Definitions.
37  static const int NAddress, NData;
38 
48  virtual ~L1GctHfEtSumsLut();
49 
52 
54  friend std::ostream& operator << (std::ostream& os, const L1GctHfEtSumsLut& lut);
55 
57  void setFunction(const L1CaloEtScale* const fn) { if (fn != 0) { m_lutFunction = fn; m_setupOk = true; } }
58 
61 
63  const L1CaloEtScale* lutFunction() const { return m_lutFunction; }
64 
66  std::vector<double> getThresholdsGeV() const;
67  std::vector<unsigned> getThresholdsGct() const;
68 
69 protected:
70 
71 
72  virtual uint16_t value (const uint16_t lutAddress) const;
73 
74 private:
75 
78 
79 };
80 
81 
82 std::ostream& operator << (std::ostream& os, const L1GctHfEtSumsLut& lut);
83 
84 #endif /*L1GCTHFETSUMSLUT_H_*/
type
Definition: HCALResponse.h:21
static const int NData
const L1CaloEtScale * m_lutFunction
L1GctHfEtSumsLut::hfLutType lutType() const
Return the type of Lut.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
const L1CaloEtScale * lutFunction() const
Return the Lut function.
Base class for LookUp Tables.
Definition: L1GctLut.h:20
static const int NAddress
void setFunction(const L1CaloEtScale *const fn)
Set the function.
LUT for compression of HF Et sum to output format.
virtual ~L1GctHfEtSumsLut()
Destructor.
tuple lut
Definition: lumiPlot.py:244
L1GctHfEtSumsLut()
Default constructor.
virtual uint16_t value(const uint16_t lutAddress) const
friend std::ostream & operator<<(std::ostream &os, const L1GctHfEtSumsLut &lut)
Overload &lt;&lt; operator.
std::vector< unsigned > getThresholdsGct() const
std::vector< double > getThresholdsGeV() const
Get thresholds.
L1GctHfEtSumsLut operator=(const L1GctHfEtSumsLut &lut)
Overload = operator.
L1GctHfEtSumsLut::hfLutType m_lutType