#include "EventFilter/CSCRawToDigi/interface/CSCBadCFEBWord.h"
#include <iostream>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const CSCBadCFEBWord &word) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const CSCBadCFEBWord & | word | |||
) |
Definition at line 4 of file CSCBadCFEBWord.cc.
References CSCBadCFEBWord::check(), CSCBadCFEBWord::code_, lat::endl(), CSCBadCFEBWord::word1_, and CSCBadCFEBWord::word2_.
00005 { 00006 if(!word.check()) os << "Even the Bad CFEB word is bad! Sheesh!" << std::endl; 00007 else 00008 { 00009 switch(word.code_) 00010 { 00011 case 1: 00012 os << "CFEB: SCA Capacitors Full block " << word.word2_ 00013 << " FIFO1 count (4-bit) " << word.word1_ << std::endl; 00014 break; 00015 case 2: 00016 os << "CFEB: FPGA FIFO Full FIFO3 count (4-bit) " << word.word2_ 00017 << " FIFO1 count (4-bit) " << word.word1_ << std::endl; 00018 break; 00019 case 5: 00020 os << "CFEB: DMB FIFO Full " << std::endl; 00021 break; 00022 case 6: 00023 os << "CFEB: DMB FPGA FIFO Full GFIFO count (4-bit)" << word.word2_ 00024 << " LFIFO count (4-bit) " << word.word1_ << std::endl; 00025 break; 00026 default: 00027 os << "Undefined CFEB error" << std::endl; 00028 break; 00029 } 00030 } 00031 return os; 00032 }