CMS 3D CMS Logo

Public Member Functions | Private Attributes

CSCBadCFEBTimeSlice Class Reference

#include <CSCBadCFEBTimeSlice.h>

List of all members.

Public Member Functions

bool check () const
unsigned sizeInWords () const
CSCBadCFEBWordword (int i)
 count from zero

Private Attributes

CSCBadCFEBWord theWords [4]

Detailed Description

When a time slice is bad, it only has four words, and they all start with "B"

Definition at line 12 of file CSCBadCFEBTimeSlice.h.


Member Function Documentation

bool CSCBadCFEBTimeSlice::check ( ) const

Definition at line 10 of file CSCBadCFEBTimeSlice.cc.

References CSCBadCFEBWord::check(), i, query::result, and theWords.

Referenced by CSCCFEBData::CSCCFEBData().

{
  // demand all four words check out
  bool result = true;
  for(int i = 0; i < 4; ++i) 
    {
      result &= theWords[i].check();
    }
  return result;
}
unsigned CSCBadCFEBTimeSlice::sizeInWords ( ) const [inline]

Definition at line 14 of file CSCBadCFEBTimeSlice.h.

Referenced by CSCCFEBData::CSCCFEBData().

{return 4;}
CSCBadCFEBWord & CSCBadCFEBTimeSlice::word ( int  i)

count from zero

Definition at line 4 of file CSCBadCFEBTimeSlice.cc.

References i, and theWords.

Referenced by CSCCFEBData::CSCCFEBData().

{
  assert(i>=0 && i<4);
  return theWords[i];
}

Member Data Documentation

Definition at line 22 of file CSCBadCFEBTimeSlice.h.

Referenced by check(), and word().