00001 00002 #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctFibreWord.h" 00003 00004 L1GctFibreWord::L1GctFibreWord() : 00005 data_(0), 00006 block_(0), 00007 index_(0), 00008 bx_(0) 00009 { 00010 } 00011 00012 L1GctFibreWord::L1GctFibreWord(uint32_t data, uint16_t block, uint16_t index, int16_t bx) : 00013 data_(data), 00014 block_(block), 00015 index_(index), 00016 bx_(bx) 00017 { 00018 } 00019 00020 00021 std::ostream& operator<<(std::ostream& s, const L1GctFibreWord& fw) { 00022 s << "L1GctFibreWord : "; 00023 s << std::hex << fw.data() << ", block " << fw.block(); 00024 s << ", index : " << fw.index() << ", bx : " << fw.bx(); 00025 s << std::dec; 00026 return s; 00027 }