1 #ifndef EventFilter_CSCRawToDigi_CSCDMBTrailer2013_h 2 #define EventFilter_CSCRawToDigi_CSCDMBTrailer2013_h 68 unsigned dmbID()
const override {
return bits.dmb_id; };
95 unsigned cfeb_full()
const override {
return (
bits.cfeb_full_lowo | (
bits.cfeb_full_hiwo << 3)); };
97 unsigned crc22()
const override {
return (
bits.dmb_crc_1 | (
bits.dmb_crc_2 << 11)); };
101 unsigned short *
data()
override {
return (
unsigned short *)(&
bits); }
102 unsigned short *
data()
const override {
return (
unsigned short *)(&
bits); }
105 return bits.ddu_code_1 == 0xF &&
bits.ddu_code_2 == 0xF &&
bits.ddu_code_3 == 0xF &&
bits.ddu_code_4 == 0xF &&
106 bits.ddu_code_5 == 0xE &&
bits.ddu_code_6 == 0xE &&
bits.ddu_code_7 == 0xE &&
bits.ddu_code_8 == 0xE;
unsigned cfeb_full_lowo
TMB_Start_Timeout(1)
unsigned cfeb_endtimeout() const override
unsigned ddu_code_4
ALCT_Start_Timeout(1)
unsigned tmb_full
ALCT_HALF(1)
unsigned cfeb_full_hiwo
constant, should be '1111'
unsigned dmb_id
constant, should be '1110'
unsigned crateID() const override
unsigned cfeb_endtimeout
constant, should be '1111'
bool check() const override
unsigned tmb_starttimeout() const override
unsigned dmb_l1a
1st Trailer word
unsigned cfeb_full() const override
CSCDMBTrailer2013(const uint16_t *buf)
unsigned dmb_l1pipe() const override
unsigned alct_endtimeout
DMB_BXN[4:0].
unsigned tmb_empty() const override
unsigned dmb_parity_1
DMB_CRC[10:0].
unsigned ddu_code_3
CFEB_FULL(3:1)
unsigned dmb_bxn() const override
unsigned alct_starttimeout() const override
unsigned dmb_parity_2
DMB_CRC[21:11].
unsigned cfeb_starttimeout
CFEB_FULL(7:4)
unsigned cfeb_empty() const override
unsigned dmbID() const override
unsigned tmb_half() const override
unsigned ddu_code_7
DMB_CRC_LowParity(1)
unsigned cfeb_half
constant, should be '1111'
unsigned ddu_code_8
DMB_CRC_HighParity(1)
unsigned ddu_code_2
CFEB_MOVLP(5:1)
unsigned dmb_l1pipe
constant, should be '1111'
unsigned alct_full
TMB_FULL(1)
unsigned cfeb_movlp
CFEB_End_Timeout(7:1)
unsigned alct_starttimeout
CFEB_Start_Timeout(7:1)
unsigned crate_id
DMB_ID(4)
unsigned alct_half
TMB_HALF(1)
unsigned alct_endtimeout() const override
unsigned ddu_code_1
ALCT_End_Timeout(1)
unsigned sizeInWords() const override
unsigned tmb_starttimeout
DMB_L1PIPE(8)
void setEventInformation(const CSCDMBHeader &dmbHeader) override
@ NEEDS TO BE DONE
unsigned ddu_code_5
ALCT_FULL(1)
unsigned tmb_endtimeout() const override
unsigned cfeb_starttimeout() const override
unsigned tmb_full() const override
unsigned dmb_crc_1
constant, should be '1110'
unsigned alct_empty() const override
Empty bits don't exists in new format.
unsigned short * data() override
unsigned tmb_endtimeout
CFEB_HALF(7:1)
unsigned dmb_bxn
DMB_L1A[5:0].
unsigned crc_hi_parity() const override
unsigned alct_half() const override
unsigned short * data() const override
unsigned crc22() const override
unsigned ddu_code_6
DMB_CRATE(8)
unsigned cfeb_movlp() const override
unsigned dmb_l1a() const override
unsigned dmb_crc_2
constant, should be '1110'
unsigned cfeb_half() const override
unsigned tmb_half
TMB_End_Timeout(1)
unsigned crc_lo_parity() const override
struct CSCDMBTrailer2013::@488 bits
unsigned alct_full() const override