CMS 3D CMS Logo

MuonCaloSum.h
Go to the documentation of this file.
1 #ifndef __GMTInputCaloSum_h
2 #define __GMTInputCaloSum_h
3 
5 
6 namespace l1t {
7  class MuonCaloSum {
8  public:
9  MuonCaloSum() : m_etBits(0), m_hwPhi(0), m_hwEta(0), m_index(0){};
10 
11  MuonCaloSum(int pt, int phi, int eta, int index) : m_etBits(pt), m_hwPhi(phi), m_hwEta(eta), m_index(index){};
12 
13  virtual ~MuonCaloSum(){};
14 
15  void setEtBits(int bits) { m_etBits = bits; };
16  void setPhiBits(int bits) { m_hwPhi = bits; };
17  void setEtaBits(int bits) { m_hwEta = bits; };
18  void setIndex(int idx) { m_index = idx; };
19 
20  const int etBits() const { return m_etBits; };
21  const int hwPhi() const { return m_hwPhi; };
22  const int hwEta() const { return m_hwEta; };
23  const int index() const { return m_index; };
24 
25  private:
26  int m_etBits;
27  int m_hwPhi;
28  int m_hwEta;
29  int m_index;
30  };
31 } // namespace l1t
32 
33 #endif
void setEtaBits(int bits)
Definition: MuonCaloSum.h:17
const int hwPhi() const
Definition: MuonCaloSum.h:21
constexpr uint32_t bits
Definition: gpuClustering.h:23
const int etBits() const
Definition: MuonCaloSum.h:20
delete x;
Definition: CaloConfig.h:22
void setIndex(int idx)
Definition: MuonCaloSum.h:18
MuonCaloSum(int pt, int phi, int eta, int index)
Definition: MuonCaloSum.h:11
const int index() const
Definition: MuonCaloSum.h:23
void setPhiBits(int bits)
Definition: MuonCaloSum.h:16
void setEtBits(int bits)
Definition: MuonCaloSum.h:15
virtual ~MuonCaloSum()
Definition: MuonCaloSum.h:13
const int hwEta() const
Definition: MuonCaloSum.h:22