00001 #include "EventFilter/CSCRawToDigi/interface/CSCBadCFEBTimeSlice.h" 00002 #include<assert.h> 00003 00004 CSCBadCFEBWord & CSCBadCFEBTimeSlice::word(int i) 00005 { 00006 assert(i>=0 && i<4); 00007 return theWords[i]; 00008 } 00009 00010 bool CSCBadCFEBTimeSlice::check() const 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 } 00020