1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "EventFilter/CSCRawToDigi/interface/CSCBadCFEBTimeSlice.h"
#include <cassert>
const CSCBadCFEBWord& CSCBadCFEBTimeSlice::word(int i) const {
assert(i >= 0 && i < 4);
return theWords[i];
}
bool CSCBadCFEBTimeSlice::check() const {
// demand all four words check out
bool result = true;
for (int i = 0; i < 4; ++i) {
result &= theWords[i].check();
}
return result;
}
|