1 #ifndef CSCDMBTrailer2013_h
2 #define CSCDMBTrailer2013_h
74 virtual unsigned dmbID()
const {
return bits.dmb_id; };
102 virtual unsigned cfeb_full()
const {
return (
bits.cfeb_full_lowo | (
bits.cfeb_full_hiwo << 3)); };
104 virtual unsigned crc22()
const {
return (
bits.dmb_crc_1 | (
bits.dmb_crc_2 << 11)); };
108 virtual unsigned short *
data() {
return (
unsigned short *)(&
bits); }
109 virtual unsigned short *
data()
const {
return (
unsigned short *)(&
bits); }
112 &&
bits.ddu_code_3 == 0xF &&
bits.ddu_code_4 == 0xF
113 &&
bits.ddu_code_5 == 0xE &&
bits.ddu_code_6 == 0xE
114 &&
bits.ddu_code_7 == 0xE &&
bits.ddu_code_8 == 0xE;}
virtual unsigned dmbID() const
unsigned cfeb_full_lowo
TMB_Start_Timeout(1)
struct CSCDMBTrailer2013::@302 bits
unsigned ddu_code_4
ALCT_Start_Timeout(1)
unsigned cfeb_full_hiwo
constant, should be '1111'
unsigned dmb_id
constant, should be '1110'
virtual unsigned cfeb_full() const
virtual unsigned short * data() const
CSCDMBTrailer2013(unsigned short *buf)
unsigned dmb_parity_1
DMB_CRC[10:0].
unsigned ddu_code_3
CFEB_FULL(3:1)
virtual unsigned dmb_bxn() const
virtual unsigned cfeb_empty() const
virtual unsigned dmb_l1pipe() const
unsigned dmb_parity_2
DMB_CRC[21:11].
virtual unsigned cfeb_endtimeout() const
virtual unsigned dmb_l1a() const
virtual unsigned alct_half() const
virtual unsigned crateID() const
virtual unsigned short * data()
virtual unsigned tmb_endtimeout() const
unsigned ddu_code_7
DMB_CRC_LowParity(1)
virtual unsigned cfeb_half() const
virtual unsigned alct_endtimeout() const
unsigned ddu_code_8
DMB_CRC_HighParity(1)
virtual unsigned cfeb_starttimeout() const
unsigned ddu_code_2
CFEB_MOVLP(5:1)
virtual unsigned tmb_half() const
virtual unsigned tmb_full() const
virtual unsigned cfeb_movlp() const
virtual unsigned alct_starttimeout() const
unsigned crate_id
DMB_ID(4)
unsigned ddu_code_1
ALCT_End_Timeout(1)
virtual unsigned crc22() const
unsigned ddu_code_5
ALCT_FULL(1)
unsigned dmb_crc_1
constant, should be '1110'
virtual unsigned crc_hi_parity() const
virtual unsigned tmb_empty() const
virtual unsigned tmb_starttimeout() const
virtual unsigned alct_empty() const
Empty bits don't exists in new format.
unsigned sizeInWords() const
virtual void setEventInformation(const CSCDMBHeader &dmbHeader)
@ NEEDS TO BE DONE
virtual unsigned alct_full() const
virtual unsigned crc_lo_parity() const
unsigned ddu_code_6
DMB_CRATE(8)
unsigned dmb_crc_2
constant, should be '1110'