Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:50:25

0001 #ifndef __GMTInputCaloSum_h
0002 #define __GMTInputCaloSum_h
0003 
0004 #include "DataFormats/L1Trigger/interface/BXVector.h"
0005 
0006 namespace l1t {
0007   class MuonCaloSum {
0008   public:
0009     MuonCaloSum() : m_etBits(0), m_hwPhi(0), m_hwEta(0), m_index(0){};
0010 
0011     MuonCaloSum(int pt, int phi, int eta, int index) : m_etBits(pt), m_hwPhi(phi), m_hwEta(eta), m_index(index){};
0012 
0013     virtual ~MuonCaloSum(){};
0014 
0015     void setEtBits(int bits) { m_etBits = bits; };
0016     void setPhiBits(int bits) { m_hwPhi = bits; };
0017     void setEtaBits(int bits) { m_hwEta = bits; };
0018     void setIndex(int idx) { m_index = idx; };
0019 
0020     const int etBits() const { return m_etBits; };
0021     const int hwPhi() const { return m_hwPhi; };
0022     const int hwEta() const { return m_hwEta; };
0023     const int index() const { return m_index; };
0024 
0025   private:
0026     int m_etBits;
0027     int m_hwPhi;
0028     int m_hwEta;
0029     int m_index;
0030   };
0031 }  // namespace l1t
0032 
0033 #endif