CMS 3D CMS Logo

CSCBadCFEBTimeSlice.cc
Go to the documentation of this file.
2 #include<assert.h>
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 
CSCBadCFEBWord & word(int i)
count from zero
bool check() const
make sure it really does start with a "B"
CSCBadCFEBWord theWords[4]