00001 #ifndef CondFormats_L1TObjects_L1GtParameters_h 00002 #define CondFormats_L1TObjects_L1GtParameters_h 00003 00020 // system include files 00021 #include <ostream> 00022 00023 #include <boost/cstdint.hpp> 00024 00025 // user include files 00026 // base class 00027 00028 // forward declarations 00029 00030 // class declaration 00031 class L1GtParameters 00032 { 00033 00034 public: 00035 00036 // constructor 00037 L1GtParameters(); 00038 00039 // destructor 00040 virtual ~L1GtParameters(); 00041 00042 public: 00043 00045 inline const int gtTotalBxInEvent() const 00046 { 00047 return m_totalBxInEvent; 00048 } 00049 00050 void setGtTotalBxInEvent(const int&); 00051 00052 00054 inline const boost::uint16_t gtDaqActiveBoards() const 00055 { 00056 return m_daqActiveBoards; 00057 } 00058 00059 void setGtDaqActiveBoards(const boost::uint16_t&); 00060 00061 00063 inline const boost::uint16_t gtEvmActiveBoards() const 00064 { 00065 return m_evmActiveBoards; 00066 } 00067 00068 void setGtEvmActiveBoards(const boost::uint16_t&); 00069 00070 00072 inline const unsigned int gtBstLengthBytes() const 00073 { 00074 return m_bstLengthBytes; 00075 } 00076 00077 void setGtBstLengthBytes(const unsigned int&); 00078 00080 void print(std::ostream&) const; 00081 00082 private: 00083 00085 int m_totalBxInEvent; 00086 00088 boost::uint16_t m_daqActiveBoards; 00089 00091 boost::uint16_t m_evmActiveBoards; 00092 00094 unsigned int m_bstLengthBytes; 00095 00096 00097 }; 00098 00099 #endif /*CondFormats_L1TObjects_L1GtParameters_h*/