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*/
L1GtParameters::gtBstLengthBytes
const unsigned int gtBstLengthBytes() const
get / set length of BST message (in bytes) for L1 GT EVM record
Definition: L1GtParameters.h:68
L1GtParameters::m_totalBxInEvent
int m_totalBxInEvent
total Bx's in the event
Definition: L1GtParameters.h:80
L1GtParameters
Definition: L1GtParameters.h:33
L1GtParameters::m_evmActiveBoards
uint16_t m_evmActiveBoards
active boards in the L1 EVM record
Definition: L1GtParameters.h:86
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1GtParameters::setGtTotalBxInEvent
void setGtTotalBxInEvent(const int &)
Definition: L1GtParameters.cc:39
L1GtParameters::setGtBstLengthBytes
void setGtBstLengthBytes(const unsigned int &)
Definition: L1GtParameters.cc:53
L1GtParameters::gtTotalBxInEvent
const int gtTotalBxInEvent() const
get / set the total Bx's in the event
Definition: L1GtParameters.h:43
L1GtParameters::print
void print(std::ostream &) const
print all the L1 GT parameters
Definition: L1GtParameters.cc:58
L1GtParameters::setGtDaqNrBxBoard
void setGtDaqNrBxBoard(const std::vector< int > &)
Definition: L1GtParameters.cc:48
L1GtParameters::m_daqNrBxBoard
std::vector< int > m_daqNrBxBoard
number of Bx per board in the DAQ record
Definition: L1GtParameters.h:89
Serializable.h
L1GtParameters::gtDaqActiveBoards
const uint16_t gtDaqActiveBoards() const
get / set the active boards for L1 GT DAQ record
Definition: L1GtParameters.h:48
L1GtParameters::gtDaqNrBxBoard
const std::vector< int > & gtDaqNrBxBoard() const
get / set the number of Bx per board for L1 GT DAQ record
Definition: L1GtParameters.h:58
L1GtParameters::m_daqActiveBoards
uint16_t m_daqActiveBoards
active boards in the L1 DAQ record
Definition: L1GtParameters.h:83
L1GtParameters::setGtDaqActiveBoards
void setGtDaqActiveBoards(const uint16_t &)
Definition: L1GtParameters.cc:42
L1GtParameters::~L1GtParameters
virtual ~L1GtParameters()
Definition: L1GtParameters.cc:34
L1GtParameters::m_evmNrBxBoard
std::vector< int > m_evmNrBxBoard
number of Bx per board in the EVM record
Definition: L1GtParameters.h:92
L1GtParameters::setGtEvmActiveBoards
void setGtEvmActiveBoards(const uint16_t &)
Definition: L1GtParameters.cc:45
L1GtParameters::m_bstLengthBytes
unsigned int m_bstLengthBytes
length of BST message (in bytes)
Definition: L1GtParameters.h:95
L1GtParameters::gtEvmActiveBoards
const uint16_t gtEvmActiveBoards() const
get / set the active boards for L1 GT EVM record
Definition: L1GtParameters.h:53
L1GtParameters::operator<<
friend std::ostream & operator<<(std::ostream &, const L1GtParameters &)
output stream operator
Definition: L1GtParameters.cc:99
L1GtParameters::setGtEvmNrBxBoard
void setGtEvmNrBxBoard(const std::vector< int > &)
Definition: L1GtParameters.cc:51
L1GtParameters::gtEvmNrBxBoard
const std::vector< int > & gtEvmNrBxBoard() const
get / set the number of Bx per board for L1 GT EVM record
Definition: L1GtParameters.h:63
L1GtParameters::L1GtParameters
L1GtParameters()
Definition: L1GtParameters.cc:29