Main Page
Namespaces
Classes
Package Documentation
EventFilter
CSCRawToDigi
src
CSCBadCFEBTimeSlice.cc
Go to the documentation of this file.
1
#include "
EventFilter/CSCRawToDigi/interface/CSCBadCFEBTimeSlice.h
"
2
#include<cassert>
3
4
CSCBadCFEBWord
&
CSCBadCFEBTimeSlice::word
(
int
i
)
5
{
6
assert(i>=0 && i<4);
7
return
theWords
[
i
];
8
}
9
10
bool
CSCBadCFEBTimeSlice::check
()
const
11
{
12
// demand all four words check out
13
bool
result
=
true
;
14
for
(
int
i
= 0;
i
< 4; ++
i
)
15
{
16
result &=
theWords
[
i
].
check
();
17
}
18
return
result
;
19
}
20
mps_fire.i
i
Definition:
mps_fire.py:269
CSCBadCFEBTimeSlice.h
mps_fire.result
result
Definition:
mps_fire.py:226
CSCBadCFEBTimeSlice::check
bool check() const
Definition:
CSCBadCFEBTimeSlice.cc:10
CSCBadCFEBTimeSlice::word
CSCBadCFEBWord & word(int i)
count from zero
Definition:
CSCBadCFEBTimeSlice.cc:4
CSCBadCFEBWord::check
bool check() const
make sure it really does start with a "B"
Definition:
CSCBadCFEBWord.h:12
CSCBadCFEBWord
Definition:
CSCBadCFEBWord.h:9
CSCBadCFEBTimeSlice::theWords
CSCBadCFEBWord theWords[4]
Definition:
CSCBadCFEBTimeSlice.h:22
Generated for CMSSW Reference Manual by
1.8.11