#include <EventFilter/CSCRawToDigi/interface/CSCDMBTrailer.h>
Public Member Functions | |
bool | check () const |
CSCDMBTrailer (const CSCDMBStatusDigi &digi) | |
CSCDMBTrailer () | |
unsigned short * | data () const |
unsigned short * | data () |
void | setEventInformation (const CSCDMBHeader &) |
@ NEEDS TO BE DONE | |
Static Public Member Functions | |
static unsigned | sizeInWords () |
Public Attributes | |
unsigned | alct_empty: 1 |
unsigned | alct_endtimeout: 1 |
unsigned | alct_full: 1 |
unsigned | alct_half: 1 |
unsigned | alct_timeout: 1 |
unsigned | cfeb_empty: 5 |
unsigned | cfeb_endtimeout: 5 |
unsigned | cfeb_full: 5 |
unsigned | cfeb_half: 5 |
unsigned | cfeb_movlp: 5 |
unsigned | cfeb_starttimeout: 5 |
unsigned | crate_id: 8 |
unsigned | ddu_code_1: 4 |
unsigned | ddu_code_2: 4 |
unsigned | ddu_code_3: 4 |
unsigned | ddu_code_4: 4 |
unsigned | ddu_code_5: 4 |
unsigned | ddu_code_6: 4 |
unsigned | ddu_code_7: 4 |
unsigned | ddu_code_8: 4 |
unsigned | dmb_bxn: 4 |
unsigned | dmb_crc_1: 11 |
unsigned | dmb_crc_2: 11 |
unsigned | dmb_id: 4 |
unsigned | dmb_l1pipe: 8 |
unsigned | dmb_parity_1: 1 |
unsigned | dmb_parity_2: 1 |
unsigned | L1a_counter: 8 |
unsigned | tmb_empty: 1 |
unsigned | tmb_endtimeout: 1 |
unsigned | tmb_full: 1 |
unsigned | tmb_half: 1 |
unsigned | tmb_timeout: 1 |
Definition at line 7 of file CSCDMBTrailer.h.
CSCDMBTrailer::CSCDMBTrailer | ( | ) | [inline] |
Definition at line 9 of file CSCDMBTrailer.h.
References ddu_code_1, ddu_code_2, ddu_code_3, ddu_code_4, ddu_code_5, ddu_code_6, ddu_code_7, ddu_code_8, and sizeInWords().
00010 { 00011 bzero(this, sizeInWords()*2); 00012 ddu_code_1 = ddu_code_2 = ddu_code_3 = ddu_code_4 = 0xF; 00013 ddu_code_5 = ddu_code_6 = ddu_code_7 = ddu_code_8 = 0xE; 00014 }
CSCDMBTrailer::CSCDMBTrailer | ( | const CSCDMBStatusDigi & | digi | ) | [inline] |
Definition at line 16 of file CSCDMBTrailer.h.
References sizeInWords(), and CSCDMBStatusDigi::trailer().
00017 { 00018 memcpy(this, digi.trailer(), sizeInWords()*2); 00019 }
bool CSCDMBTrailer::check | ( | ) | const [inline] |
Definition at line 70 of file CSCDMBTrailer.h.
References ddu_code_1, ddu_code_2, ddu_code_3, ddu_code_4, ddu_code_5, ddu_code_6, ddu_code_7, and ddu_code_8.
00070 {return ddu_code_1 == 0xF && ddu_code_2 == 0xF 00071 && ddu_code_3 == 0xF && ddu_code_4 == 0xF 00072 && ddu_code_5 == 0xE && ddu_code_6 == 0xE 00073 && ddu_code_7 == 0xE && ddu_code_8 == 0xE;}
unsigned short* CSCDMBTrailer::data | ( | ) | const [inline] |
unsigned short* CSCDMBTrailer::data | ( | ) | [inline] |
void CSCDMBTrailer::setEventInformation | ( | const CSCDMBHeader & | ) | [inline] |
static unsigned CSCDMBTrailer::sizeInWords | ( | ) | [inline, static] |
Definition at line 75 of file CSCDMBTrailer.h.
Referenced by CSCDMBTrailer(), CSCEventData::CSCEventData(), and CSCEventData::pack().
unsigned CSCDMBTrailer::alct_empty |
unsigned CSCDMBTrailer::alct_endtimeout |
unsigned CSCDMBTrailer::alct_full |
unsigned CSCDMBTrailer::alct_half |
unsigned CSCDMBTrailer::alct_timeout |
unsigned CSCDMBTrailer::cfeb_empty |
unsigned CSCDMBTrailer::cfeb_endtimeout |
Definition at line 48 of file CSCDMBTrailer.h.
Referenced by CSCEventData::CSCEventData(), and cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::cfeb_full |
unsigned CSCDMBTrailer::cfeb_half |
unsigned CSCDMBTrailer::cfeb_movlp |
Definition at line 35 of file CSCDMBTrailer.h.
unsigned CSCDMBTrailer::cfeb_starttimeout |
Definition at line 45 of file CSCDMBTrailer.h.
Referenced by CSCEventData::CSCEventData(), and cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::crate_id |
Definition at line 59 of file CSCDMBTrailer.h.
unsigned CSCDMBTrailer::ddu_code_1 |
unsigned CSCDMBTrailer::ddu_code_2 |
unsigned CSCDMBTrailer::ddu_code_3 |
unsigned CSCDMBTrailer::ddu_code_4 |
unsigned CSCDMBTrailer::ddu_code_5 |
unsigned CSCDMBTrailer::ddu_code_6 |
unsigned CSCDMBTrailer::ddu_code_7 |
unsigned CSCDMBTrailer::ddu_code_8 |
unsigned CSCDMBTrailer::dmb_bxn |
Definition at line 29 of file CSCDMBTrailer.h.
unsigned CSCDMBTrailer::dmb_crc_1 |
Definition at line 62 of file CSCDMBTrailer.h.
unsigned CSCDMBTrailer::dmb_crc_2 |
Definition at line 66 of file CSCDMBTrailer.h.
unsigned CSCDMBTrailer::dmb_id |
Definition at line 58 of file CSCDMBTrailer.h.
unsigned CSCDMBTrailer::dmb_l1pipe |
unsigned CSCDMBTrailer::dmb_parity_1 |
Definition at line 63 of file CSCDMBTrailer.h.
unsigned CSCDMBTrailer::dmb_parity_2 |
Definition at line 67 of file CSCDMBTrailer.h.
unsigned CSCDMBTrailer::L1a_counter |
Definition at line 28 of file CSCDMBTrailer.h.
unsigned CSCDMBTrailer::tmb_empty |
unsigned CSCDMBTrailer::tmb_endtimeout |
unsigned CSCDMBTrailer::tmb_full |
unsigned CSCDMBTrailer::tmb_half |
unsigned CSCDMBTrailer::tmb_timeout |