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