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
l1t::MuonCaloSum::etBits
const int etBits() const
Definition: MuonCaloSum.h:20
l1t::MuonCaloSum::hwEta
const int hwEta() const
Definition: MuonCaloSum.h:22
BXVector.h
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
l1t::MuonCaloSum::setPhiBits
void setPhiBits(int bits)
Definition: MuonCaloSum.h:16
l1t::MuonCaloSum::setEtaBits
void setEtaBits(int bits)
Definition: MuonCaloSum.h:17
l1t::MuonCaloSum::MuonCaloSum
MuonCaloSum(int pt, int phi, int eta, int index)
Definition: MuonCaloSum.h:11
l1t::MuonCaloSum::m_hwEta
int m_hwEta
Definition: MuonCaloSum.h:28
l1t::MuonCaloSum::hwPhi
const int hwPhi() const
Definition: MuonCaloSum.h:21
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
l1t::MuonCaloSum::MuonCaloSum
MuonCaloSum()
Definition: MuonCaloSum.h:9
PVValHelper::eta
Definition: PVValidationHelpers.h:70
l1t::MuonCaloSum::setEtBits
void setEtBits(int bits)
Definition: MuonCaloSum.h:15
l1t::MuonCaloSum::m_hwPhi
int m_hwPhi
Definition: MuonCaloSum.h:27
l1t::MuonCaloSum::m_etBits
int m_etBits
Definition: MuonCaloSum.h:23
l1t
delete x;
Definition: CaloConfig.h:22
l1t::MuonCaloSum::~MuonCaloSum
virtual ~MuonCaloSum()
Definition: MuonCaloSum.h:13
l1t::MuonCaloSum::index
const int index() const
Definition: MuonCaloSum.h:23
l1t::MuonCaloSum
Definition: MuonCaloSum.h:7
l1t::MuonCaloSum::m_index
int m_index
Definition: MuonCaloSum.h:29
l1t::MuonCaloSum::setIndex
void setIndex(int idx)
Definition: MuonCaloSum.h:18