Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
6
if
(!word.
check
()) os <<
"Even the Bad CFEB word is bad! Sheesh!"
<< std::endl;
7
else
8
{
9
switch
(word.
code_
)
10
{
11
case
1:
12
os <<
"CFEB: SCA Capacitors Full block "
<< word.
word2_
13
<<
" FIFO1 count (4-bit) "
<< word.
word1_
<< std::endl;
14
break
;
15
case
2:
16
os <<
"CFEB: FPGA FIFO Full FIFO3 count (4-bit) "
<< word.
word2_
17
<<
" FIFO1 count (4-bit) "
<< word.
word1_
<< std::endl;
18
break
;
19
case
5:
20
os <<
"CFEB: DMB FIFO Full "
<< std::endl;
21
break
;
22
case
6:
23
os <<
"CFEB: DMB FPGA FIFO Full GFIFO count (4-bit)"
<< word.
word2_
24
<<
" LFIFO count (4-bit) "
<< word.
word1_
<< std::endl;
25
break
;
26
default
:
27
os <<
"Undefined CFEB error"
<< std::endl;
28
break
;
29
}
30
}
31
return
os;
32
}
33
CSCBadCFEBWord::word2_
unsigned short word2_
Definition:
CSCBadCFEBWord.h:18
CSCBadCFEBWord::code_
unsigned short code_
Definition:
CSCBadCFEBWord.h:20
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
CSCBadCFEBWord::check
bool check() const
make sure it really does start with a "B"
Definition:
CSCBadCFEBWord.h:12
CSCBadCFEBWord
Definition:
CSCBadCFEBWord.h:9
CSCBadCFEBWord::word1_
unsigned short word1_
Definition:
CSCBadCFEBWord.h:17
CSCBadCFEBWord.h
Generated for CMSSW Reference Manual by
1.8.5