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
}
CSCBadCFEBTimeSlice.h
mps_fire.i
i
Definition:
mps_fire.py:428
cms::cuda::assert
assert(be >=bs)
CSCBadCFEBTimeSlice::theWords
CSCBadCFEBWord theWords[4]
Definition:
CSCBadCFEBTimeSlice.h:20
CSCBadCFEBWord
Definition:
CSCBadCFEBWord.h:9
CSCBadCFEBWord::check
bool check() const
make sure it really does start with a "B"
Definition:
CSCBadCFEBWord.h:12
CSCBadCFEBTimeSlice::check
bool check() const
Definition:
CSCBadCFEBTimeSlice.cc:9
CSCBadCFEBTimeSlice::word
const CSCBadCFEBWord & word(int i) const
count from zero
Definition:
CSCBadCFEBTimeSlice.cc:4
mps_fire.result
result
Definition:
mps_fire.py:311
Generated for CMSSW Reference Manual by
1.8.16