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:
10  m_etBits(0), m_hwPhi(0), m_hwEta(0), m_index(0) {};
11 
12  MuonCaloSum(int pt, int phi, int eta, int index) :
13  m_etBits(pt), m_hwPhi(phi), m_hwEta(eta), m_index(index) {};
14 
15  virtual ~MuonCaloSum() {};
16 
17  void setEtBits(int bits) { m_etBits = bits; };
18  void setPhiBits(int bits) { m_hwPhi = bits; };
19  void setEtaBits(int bits) { m_hwEta = bits; };
20  void setIndex(int idx) { m_index = idx; };
21 
22  const int etBits() const { return m_etBits; };
23  const int hwPhi() const { return m_hwPhi; };
24  const int hwEta() const { return m_hwEta; };
25  const int index() const { return m_index; };
26 
27  private:
28  int m_etBits;
29  int m_hwPhi;
30  int m_hwEta;
31  int m_index;
32  };
33 }
34 
35 #endif
void setEtaBits(int bits)
Definition: MuonCaloSum.h:19
const int hwEta() const
Definition: MuonCaloSum.h:24
const int index() const
Definition: MuonCaloSum.h:25
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
delete x;
Definition: CaloConfig.h:22
void setIndex(int idx)
Definition: MuonCaloSum.h:20
MuonCaloSum(int pt, int phi, int eta, int index)
Definition: MuonCaloSum.h:12
void setPhiBits(int bits)
Definition: MuonCaloSum.h:18
void setEtBits(int bits)
Definition: MuonCaloSum.h:17
virtual ~MuonCaloSum()
Definition: MuonCaloSum.h:15
const int hwPhi() const
Definition: MuonCaloSum.h:23
const int etBits() const
Definition: MuonCaloSum.h:22