CMS 3D CMS Logo

CSCBadCFEBTimeSlice Class Reference

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

#include <EventFilter/CSCRawToDigi/interface/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, HLT_VtxMuL3::result, and theWords.

Referenced by CSCCFEBData::CSCCFEBData().

00011 {
00012   // demand all four words check out
00013   bool result = true;
00014   for(int i = 0; i < 4; ++i) 
00015     {
00016       result &= theWords[i].check();
00017     }
00018   return result;
00019 }

unsigned CSCBadCFEBTimeSlice::sizeInWords (  )  const [inline]

Definition at line 14 of file CSCBadCFEBTimeSlice.h.

Referenced by CSCCFEBData::CSCCFEBData().

00014 {return 4;}

CSCBadCFEBWord & CSCBadCFEBTimeSlice::word ( int  i  ) 

count from zero

Definition at line 4 of file CSCBadCFEBTimeSlice.cc.

References theWords.

Referenced by CSCCFEBData::CSCCFEBData().

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


Member Data Documentation

CSCBadCFEBWord CSCBadCFEBTimeSlice::theWords[4] [private]

Definition at line 22 of file CSCBadCFEBTimeSlice.h.

Referenced by check(), and word().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:17:04 2009 for CMSSW by  doxygen 1.5.4