File indexing completed on 2024-04-06 12:02:20
0001 #ifndef CondFormats_L1TObjects_L1GtParameters_h
0002 #define CondFormats_L1TObjects_L1GtParameters_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 #include "CondFormats/Serialization/interface/Serializable.h"
0022
0023 #include <ostream>
0024 #include <vector>
0025 #include <cstdint>
0026
0027
0028
0029
0030
0031
0032
0033 class L1GtParameters {
0034 public:
0035
0036 L1GtParameters();
0037
0038
0039 virtual ~L1GtParameters();
0040
0041 public:
0042
0043 inline const int gtTotalBxInEvent() const { return m_totalBxInEvent; }
0044
0045 void setGtTotalBxInEvent(const int&);
0046
0047
0048 inline const uint16_t gtDaqActiveBoards() const { return m_daqActiveBoards; }
0049
0050 void setGtDaqActiveBoards(const uint16_t&);
0051
0052
0053 inline const uint16_t gtEvmActiveBoards() const { return m_evmActiveBoards; }
0054
0055 void setGtEvmActiveBoards(const uint16_t&);
0056
0057
0058 inline const std::vector<int>& gtDaqNrBxBoard() const { return m_daqNrBxBoard; }
0059
0060 void setGtDaqNrBxBoard(const std::vector<int>&);
0061
0062
0063 inline const std::vector<int>& gtEvmNrBxBoard() const { return m_evmNrBxBoard; }
0064
0065 void setGtEvmNrBxBoard(const std::vector<int>&);
0066
0067
0068 inline const unsigned int gtBstLengthBytes() const { return m_bstLengthBytes; }
0069
0070 void setGtBstLengthBytes(const unsigned int&);
0071
0072
0073 void print(std::ostream&) const;
0074
0075
0076 friend std::ostream& operator<<(std::ostream&, const L1GtParameters&);
0077
0078 private:
0079
0080 int m_totalBxInEvent;
0081
0082
0083 uint16_t m_daqActiveBoards;
0084
0085
0086 uint16_t m_evmActiveBoards;
0087
0088
0089 std::vector<int> m_daqNrBxBoard;
0090
0091
0092 std::vector<int> m_evmNrBxBoard;
0093
0094
0095 unsigned int m_bstLengthBytes;
0096
0097 COND_SERIALIZABLE;
0098 };
0099
0100 #endif