Main Page
Namespaces
Classes
Package Documentation
EventFilter
CSCRawToDigi
interface
CSCBadCFEBWord.h
Go to the documentation of this file.
1
#ifndef CSCBadCFEBWord_h
2
#define CSCBadCFEBWord_h
3
7
#include<iosfwd>
8
9
class
CSCBadCFEBWord
{
10
public
:
12
bool
check
()
const
{
return
b_
==0xb;}
13
bool
isBad
()
const
{
return
true
;}
14
friend
std::ostream &
operator<<
(std::ostream & os,
const
CSCBadCFEBWord
&);
15
unsigned
data
()
const
{
return
(
word1_
+ (
word2_
<<4) + (
code_
<<9) + (
b_
<<12) );}
16
private
:
17
unsigned
short
word1_
:4;
18
unsigned
short
word2_
:4;
19
unsigned
short
zero_
:1;
20
unsigned
short
code_
:3;
21
unsigned
short
b_
:4;
22
};
23
24
25
#endif
CSCBadCFEBWord::word2_
unsigned short word2_
Definition:
CSCBadCFEBWord.h:18
CSCBadCFEBWord::code_
unsigned short code_
Definition:
CSCBadCFEBWord.h:20
CSCBadCFEBWord::operator<<
friend std::ostream & operator<<(std::ostream &os, const CSCBadCFEBWord &)
Definition:
CSCBadCFEBWord.cc:4
CSCBadCFEBWord::check
bool check() const
make sure it really does start with a "B"
Definition:
CSCBadCFEBWord.h:12
CSCBadCFEBWord::b_
unsigned short b_
Definition:
CSCBadCFEBWord.h:21
CSCBadCFEBWord::data
unsigned data() const
Definition:
CSCBadCFEBWord.h:15
CSCBadCFEBWord
Definition:
CSCBadCFEBWord.h:9
CSCBadCFEBWord::zero_
unsigned short zero_
Definition:
CSCBadCFEBWord.h:19
CSCBadCFEBWord::isBad
bool isBad() const
Definition:
CSCBadCFEBWord.h:13
CSCBadCFEBWord::word1_
unsigned short word1_
Definition:
CSCBadCFEBWord.h:17
Generated for CMSSW Reference Manual by
1.8.11