CMS 3D CMS Logo

L1GctFibreWord.h
Go to the documentation of this file.
1 #ifndef L1GCTFIBREWORD_H
2 #define L1GCTFIBREWORD_H
3 
4 #include <ostream>
5 #include <string>
6 #include <cstdint>
7 
18 public:
20  L1GctFibreWord(uint32_t data, uint16_t block, uint16_t index, int16_t bx);
21 
22  uint32_t data() const { return data_; }
23  uint16_t block() const { return block_; }
24  uint16_t index() const { return index_; }
25  int16_t bx() const { return bx_; }
26 
27 private:
28  uint32_t data_;
29  uint16_t block_;
30  uint16_t index_;
31  int16_t bx_;
32 };
33 
34 std::ostream& operator<<(std::ostream& s, const L1GctFibreWord& fw);
35 
36 #endif
Global Calorimeter Trigger SC -> CC fibre data word.
std::ostream & operator<<(std::ostream &s, const L1GctFibreWord &fw)
int16_t bx() const
uint16_t index() const
uint16_t block() const
uint32_t data() const