File indexing completed on 2024-04-06 12:04:26
0001 #ifndef L1GCTFIBREWORD_H
0002 #define L1GCTFIBREWORD_H
0003
0004 #include <ostream>
0005 #include <string>
0006 #include <cstdint>
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 class L1GctFibreWord {
0018 public:
0019 L1GctFibreWord();
0020 L1GctFibreWord(uint32_t data, uint16_t block, uint16_t index, int16_t bx);
0021
0022 uint32_t data() const { return data_; }
0023 uint16_t block() const { return block_; }
0024 uint16_t index() const { return index_; }
0025 int16_t bx() const { return bx_; }
0026
0027 private:
0028 uint32_t data_;
0029 uint16_t block_;
0030 uint16_t index_;
0031 int16_t bx_;
0032 };
0033
0034 std::ostream& operator<<(std::ostream& s, const L1GctFibreWord& fw);
0035
0036 #endif