File indexing completed on 2024-04-06 12:04:27
0001
0002 #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctFibreWord.h"
0003
0004 L1GctFibreWord::L1GctFibreWord() : data_(0), block_(0), index_(0), bx_(0) {}
0005
0006 L1GctFibreWord::L1GctFibreWord(uint32_t data, uint16_t block, uint16_t index, int16_t bx)
0007 : data_(data), block_(block), index_(index), bx_(bx) {}
0008
0009 std::ostream& operator<<(std::ostream& s, const L1GctFibreWord& fw) {
0010 s << "L1GctFibreWord : ";
0011 s << std::hex << fw.data() << ", block " << fw.block();
0012 s << std::dec << ", index : " << fw.index() << ", bx : " << fw.bx();
0013 return s;
0014 }