CMS 3D CMS Logo

L1GtParameters.h
Go to the documentation of this file.
1 #ifndef CondFormats_L1TObjects_L1GtParameters_h
2 #define CondFormats_L1TObjects_L1GtParameters_h
3 
20 // system include files
22 
23 #include <ostream>
24 #include <vector>
25 #include <cstdint>
26 
27 // user include files
28 // base class
29 
30 // forward declarations
31 
32 // class declaration
34 public:
35  // constructor
37 
38  // destructor
39  virtual ~L1GtParameters();
40 
41 public:
43  inline const int gtTotalBxInEvent() const { return m_totalBxInEvent; }
44 
45  void setGtTotalBxInEvent(const int&);
46 
48  inline const uint16_t gtDaqActiveBoards() const { return m_daqActiveBoards; }
49 
50  void setGtDaqActiveBoards(const uint16_t&);
51 
53  inline const uint16_t gtEvmActiveBoards() const { return m_evmActiveBoards; }
54 
55  void setGtEvmActiveBoards(const uint16_t&);
56 
58  inline const std::vector<int>& gtDaqNrBxBoard() const { return m_daqNrBxBoard; }
59 
60  void setGtDaqNrBxBoard(const std::vector<int>&);
61 
63  inline const std::vector<int>& gtEvmNrBxBoard() const { return m_evmNrBxBoard; }
64 
65  void setGtEvmNrBxBoard(const std::vector<int>&);
66 
68  inline const unsigned int gtBstLengthBytes() const { return m_bstLengthBytes; }
69 
70  void setGtBstLengthBytes(const unsigned int&);
71 
73  void print(std::ostream&) const;
74 
76  friend std::ostream& operator<<(std::ostream&, const L1GtParameters&);
77 
78 private:
81 
84 
87 
89  std::vector<int> m_daqNrBxBoard;
90 
92  std::vector<int> m_evmNrBxBoard;
93 
95  unsigned int m_bstLengthBytes;
96 
98 };
99 
100 #endif /*CondFormats_L1TObjects_L1GtParameters_h*/
friend std::ostream & operator<<(std::ostream &, const L1GtParameters &)
output stream operator
virtual ~L1GtParameters()
const uint16_t gtEvmActiveBoards() const
get / set the active boards for L1 GT EVM record
const int gtTotalBxInEvent() const
get / set the total Bx&#39;s in the event
void setGtDaqNrBxBoard(const std::vector< int > &)
void setGtBstLengthBytes(const unsigned int &)
const unsigned int gtBstLengthBytes() const
get / set length of BST message (in bytes) for L1 GT EVM record
std::vector< int > m_daqNrBxBoard
number of Bx per board in the DAQ record
unsigned int m_bstLengthBytes
length of BST message (in bytes)
void print(std::ostream &) const
print all the L1 GT parameters
const std::vector< int > & gtEvmNrBxBoard() const
get / set the number of Bx per board for L1 GT EVM record
uint16_t m_evmActiveBoards
active boards in the L1 EVM record
void setGtTotalBxInEvent(const int &)
const uint16_t gtDaqActiveBoards() const
get / set the active boards for L1 GT DAQ record
const std::vector< int > & gtDaqNrBxBoard() const
get / set the number of Bx per board for L1 GT DAQ record
#define COND_SERIALIZABLE
Definition: Serializable.h:38
uint16_t m_daqActiveBoards
active boards in the L1 DAQ record
void setGtEvmActiveBoards(const uint16_t &)
void setGtEvmNrBxBoard(const std::vector< int > &)
void setGtDaqActiveBoards(const uint16_t &)
std::vector< int > m_evmNrBxBoard
number of Bx per board in the EVM record
int m_totalBxInEvent
total Bx&#39;s in the event