src
EventFilter
CSCRawToDigi
src
CSCBadCFEBWord.cc
Go to the documentation of this file.
1
#include "
EventFilter/CSCRawToDigi/interface/CSCBadCFEBWord.h
"
2
#include <iostream>
3
4
std::ostream&
operator<<
(std::ostream&
os
,
const
CSCBadCFEBWord
&
word
) {
5
if
(!
word
.check())
6
os
<<
"Even the Bad CFEB word is bad! Sheesh!"
<< std::endl;
7
else
{
8
switch
(
word
.code_) {
9
case
1:
10
os
<<
"CFEB: SCA Capacitors Full block "
<<
word
.word2_ <<
" FIFO1 count (4-bit) "
<<
word
.word1_ << std::endl;
11
break
;
12
case
2:
13
os
<<
"CFEB: FPGA FIFO Full FIFO3 count (4-bit) "
<<
word
.word2_ <<
" FIFO1 count (4-bit) "
<<
word
.word1_
14
<< std::endl;
15
break
;
16
case
5:
17
os
<<
"CFEB: DMB FIFO Full "
<< std::endl;
18
break
;
19
case
6:
20
os
<<
"CFEB: DMB FPGA FIFO Full GFIFO count (4-bit)"
<<
word
.word2_ <<
" LFIFO count (4-bit) "
<<
word
.word1_
21
<< std::endl;
22
break
;
23
default
:
24
os
<<
"Undefined CFEB error"
<< std::endl;
25
break
;
26
}
27
}
28
return
os
;
29
}
word
uint64_t word
Definition:
CTPPSTotemDataFormatter.cc:29
l1tGTMenu_BTagSeeds_cff.os
os
Definition:
l1tGTMenu_BTagSeeds_cff.py:34
operator<<
std::ostream & operator<<(std::ostream &os, const CSCBadCFEBWord &word)
Definition:
CSCBadCFEBWord.cc:4
CSCBadCFEBWord
Definition:
CSCBadCFEBWord.h:9
CSCBadCFEBWord.h
Generated for CMSSW Reference Manual by
1.8.14