CMS 3D CMS Logo

CSCBadCFEBTimeSlice.cc
Go to the documentation of this file.
2 #include<cassert>
3 
5 {
6  assert(i>=0 && i<4);
7  return theWords[i];
8 }
9 
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 
bool check() const
make sure it really does start with a "B"
const CSCBadCFEBWord & word(int i) const
count from zero
CSCBadCFEBWord theWords[4]