CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
CSCBadCFEBTimeSlice Class Reference

#include <CSCBadCFEBTimeSlice.h>

Public Member Functions

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

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().

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 }
int i
Definition: DBlmapReader.cc:9
bool check() const
make sure it really does start with a &quot;B&quot;
tuple result
Definition: query.py:137
CSCBadCFEBWord theWords[4]
unsigned CSCBadCFEBTimeSlice::sizeInWords ( ) const
inline

Definition at line 14 of file CSCBadCFEBTimeSlice.h.

Referenced by CSCCFEBData::CSCCFEBData().

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

count from zero

Definition at line 4 of file CSCBadCFEBTimeSlice.cc.

References assert(), i, and theWords.

Referenced by CSCCFEBData::CSCCFEBData().

5 {
6  assert(i>=0 && i<4);
7  return theWords[i];
8 }
int i
Definition: DBlmapReader.cc:9
assert(m_qm.get())
CSCBadCFEBWord theWords[4]

Member Data Documentation

CSCBadCFEBWord CSCBadCFEBTimeSlice::theWords[4]
private

Definition at line 22 of file CSCBadCFEBTimeSlice.h.

Referenced by check(), and word().