CMS 3D CMS Logo

L1GtBoard.h

Go to the documentation of this file.
00001 #ifndef CondFormats_L1TObjects_L1GtBoard_h
00002 #define CondFormats_L1TObjects_L1GtBoard_h
00003 
00020 // system include files
00021 #include <string>
00022 #include <vector>
00023 
00024 #include <boost/cstdint.hpp>
00025 
00026 // user include files
00027 #include "CondFormats/L1TObjects/interface/L1GtFwd.h"
00028 
00029 // forward declarations
00030 
00031 // class declaration
00032 class L1GtBoard
00033 {
00034 
00035 public:
00036 
00038     L1GtBoard();
00039 
00040     L1GtBoard(const L1GtBoardType&);
00041 
00042     L1GtBoard(const L1GtBoardType&, const int&);
00043 
00045     virtual ~L1GtBoard();
00046 
00048     L1GtBoard(const L1GtBoard&);
00049 
00051     L1GtBoard& operator=(const L1GtBoard&);
00052 
00054     bool operator==(const L1GtBoard&) const;
00055 
00057     bool operator!=(const L1GtBoard&) const;
00058 
00060     bool operator< (const L1GtBoard&) const;
00061 
00062 public:
00063 
00065     static const int NumberCablesBoard;
00066 
00067 public:
00068 
00070     inline const L1GtBoardType gtBoardType() const
00071     {
00072         return m_gtBoardType;
00073     }
00074 
00075     void setGtBoardType(const L1GtBoardType&);
00076 
00078     inline const int gtBoardIndex() const
00079     {
00080         return m_gtBoardIndex;
00081     }
00082 
00083     void setGtBoardIndex(const int&);
00084 
00087     inline const int gtPositionDaqRecord() const
00088     {
00089         return m_gtPositionDaqRecord;
00090     }
00091 
00092     void setGtPositionDaqRecord(const int&);
00093 
00096     inline const int gtPositionEvmRecord() const
00097     {
00098         return m_gtPositionEvmRecord;
00099     }
00100 
00101     void setGtPositionEvmRecord(const int&);
00102 
00105     inline const int gtBitDaqActiveBoards() const
00106     {
00107         return m_gtBitDaqActiveBoards;
00108     }
00109 
00110     void setGtBitDaqActiveBoards(const int&);
00111 
00114     inline const int gtBitEvmActiveBoards() const
00115     {
00116         return m_gtBitEvmActiveBoards;
00117     }
00118 
00119     void setGtBitEvmActiveBoards(const int&);
00120 
00122     inline const int gtBoardSlot() const
00123     {
00124         return m_gtBoardSlot;
00125     }
00126 
00127     void setGtBoardSlot(const int&);
00128 
00130     inline const int gtBoardHexName() const
00131     {
00132         return m_gtBoardHexName;
00133     }
00134 
00135     void setGtBoardHexName(const int&);
00136 
00137 
00140     const std::vector<L1GtPsbQuad> gtQuadInPsb() const
00141     {
00142         return m_gtQuadInPsb;
00143     }
00144 
00145     void setGtQuadInPsb(const std::vector<L1GtPsbQuad>&);
00146 
00148     const boost::uint16_t gtBoardId() const;
00149 
00151     std::string gtBoardName() const;
00152 
00154     void print(std::ostream& myCout) const;
00155 
00156 private:
00157 
00159     L1GtBoardType m_gtBoardType;
00160 
00162     int m_gtBoardIndex;
00163 
00165     int m_gtPositionDaqRecord;
00166 
00168     int m_gtPositionEvmRecord;
00169 
00172     int m_gtBitDaqActiveBoards;
00173 
00176     int m_gtBitEvmActiveBoards;
00177 
00179     int m_gtBoardSlot;
00180 
00183     int m_gtBoardHexName;
00184 
00187     std::vector<L1GtPsbQuad> m_gtQuadInPsb;
00188 
00189 };
00190 
00191 #endif /*CondFormats_L1TObjects_L1GtBoard_h*/

Generated on Tue Jun 9 17:26:37 2009 for CMSSW by  doxygen 1.5.4