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