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
operator<<
std::ostream & operator<<(std::ostream &s, const L1GctFibreWord &fw)
Definition: L1GctFibreWord.cc:9
alignCSCRings.s
s
Definition: alignCSCRings.py:92
L1GctFibreWord::bx_
int16_t bx_
Definition: L1GctFibreWord.h:31
L1GctFibreWord::index
uint16_t index() const
Definition: L1GctFibreWord.h:24
L1GctFibreWord::block
uint16_t block() const
Definition: L1GctFibreWord.h:23
L1GctFibreWord::data
uint32_t data() const
Definition: L1GctFibreWord.h:22
L1GctFibreWord::index_
uint16_t index_
Definition: L1GctFibreWord.h:30
fw
Definition: estimate_field.h:12
L1GctFibreWord::L1GctFibreWord
L1GctFibreWord()
Definition: L1GctFibreWord.cc:4
L1GctFibreWord::data_
uint32_t data_
Definition: L1GctFibreWord.h:28
L1GctFibreWord::bx
int16_t bx() const
Definition: L1GctFibreWord.h:25
L1GctFibreWord
Global Calorimeter Trigger SC -> CC fibre data word.
Definition: L1GctFibreWord.h:17
L1GctFibreWord::block_
uint16_t block_
Definition: L1GctFibreWord.h:29