CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CondFormats/L1TObjects/interface/L1GtParameters.h

Go to the documentation of this file.
00001 #ifndef CondFormats_L1TObjects_L1GtParameters_h
00002 #define CondFormats_L1TObjects_L1GtParameters_h
00003 
00020 // system include files
00021 #include <ostream>
00022 #include <vector>
00023 
00024 #include <boost/cstdint.hpp>
00025 
00026 // user include files
00027 //   base class
00028 
00029 // forward declarations
00030 
00031 // class declaration
00032 class L1GtParameters
00033 {
00034 
00035 public:
00036 
00037     // constructor
00038     L1GtParameters();
00039 
00040     // destructor
00041     virtual ~L1GtParameters();
00042 
00043 public:
00044 
00046     inline const int gtTotalBxInEvent() const
00047     {
00048         return m_totalBxInEvent;
00049     }
00050 
00051     void setGtTotalBxInEvent(const int&);
00052 
00053 
00055     inline const boost::uint16_t gtDaqActiveBoards() const
00056     {
00057         return m_daqActiveBoards;
00058     }
00059 
00060     void setGtDaqActiveBoards(const boost::uint16_t&);
00061 
00062 
00064     inline const boost::uint16_t gtEvmActiveBoards() const
00065     {
00066         return m_evmActiveBoards;
00067     }
00068 
00069     void setGtEvmActiveBoards(const boost::uint16_t&);
00070 
00071 
00072 
00074     inline const std::vector<int>& gtDaqNrBxBoard() const
00075     {
00076         return m_daqNrBxBoard;
00077     }
00078 
00079     void setGtDaqNrBxBoard(const std::vector<int>&);
00080 
00081 
00083     inline const std::vector<int>& gtEvmNrBxBoard() const
00084     {
00085         return m_evmNrBxBoard;
00086     }
00087 
00088     void setGtEvmNrBxBoard(const std::vector<int>&);
00089 
00090 
00092     inline const unsigned int gtBstLengthBytes() const
00093     {
00094         return m_bstLengthBytes;
00095     }
00096 
00097     void setGtBstLengthBytes(const unsigned int&);
00098 
00100     void print(std::ostream&) const;
00101 
00103     friend std::ostream& operator<<(std::ostream&, const L1GtParameters&);
00104 
00105 private:
00106 
00108     int m_totalBxInEvent;
00109 
00111     boost::uint16_t m_daqActiveBoards;
00112 
00114     boost::uint16_t m_evmActiveBoards;
00115 
00117     std::vector<int> m_daqNrBxBoard;
00118 
00120     std::vector<int> m_evmNrBxBoard;
00121 
00123     unsigned int m_bstLengthBytes;
00124 
00125 
00126 };
00127 
00128 #endif /*CondFormats_L1TObjects_L1GtParameters_h*/