1 #ifndef CSCDMBTrailer2005_h 2 #define CSCDMBTrailer2005_h 38 virtual unsigned dmbID()
const {
return bits.dmb_id; };
66 virtual unsigned crc22()
const {
return (
bits.dmb_crc_1 | (
bits.dmb_crc_2 << 11)); };
71 virtual unsigned short *
data() {
return (
unsigned short *)(&
bits);}
72 virtual unsigned short *
data()
const {
return (
unsigned short *)(&
bits);}
74 bool check()
const {
return bits.ddu_code_1 == 0xF &&
bits.ddu_code_2 == 0xF
75 &&
bits.ddu_code_3 == 0xF &&
bits.ddu_code_4 == 0xF
76 &&
bits.ddu_code_5 == 0xE &&
bits.ddu_code_6 == 0xE
77 &&
bits.ddu_code_7 == 0xE &&
bits.ddu_code_8 == 0xE;}
virtual unsigned dmb_l1a() const
virtual unsigned tmb_half() const
virtual unsigned cfeb_full() const
virtual unsigned cfeb_endtimeout() const
virtual unsigned alct_endtimeout() const
CSCDMBTrailer2005(unsigned short *buf)
virtual unsigned dmbID() const
virtual unsigned cfeb_starttimeout() const
virtual unsigned crc_hi_parity() const
virtual unsigned cfeb_empty() const
virtual unsigned alct_empty() const
virtual unsigned short * data()
virtual unsigned crateID() const
virtual unsigned crc22() const
virtual unsigned alct_half() const
virtual unsigned tmb_full() const
virtual unsigned alct_full() const
virtual unsigned crc_lo_parity() const
virtual unsigned tmb_starttimeout() const
virtual unsigned dmb_l1pipe() const
struct CSCDMBTrailer2005::@320 bits
virtual unsigned cfeb_movlp() const
virtual unsigned tmb_endtimeout() const
virtual unsigned dmb_bxn() const
virtual unsigned alct_starttimeout() const
virtual unsigned cfeb_half() const
virtual void setEventInformation(const CSCDMBHeader &dmbHeader)
@ NEEDS TO BE DONE
virtual unsigned tmb_empty() const
virtual unsigned short * data() const
unsigned sizeInWords() const