#include <CSCDMBTrailer.h>
Public Member Functions | |
bool | check () const |
CSCDMBTrailer (const CSCDMBStatusDigi &digi) | |
CSCDMBTrailer () | |
unsigned short * | data () |
unsigned short * | data () const |
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().
{ bzero(this, sizeInWords()*2); ddu_code_1 = ddu_code_2 = ddu_code_3 = ddu_code_4 = 0xF; ddu_code_5 = ddu_code_6 = ddu_code_7 = ddu_code_8 = 0xE; }
CSCDMBTrailer::CSCDMBTrailer | ( | const CSCDMBStatusDigi & | digi | ) | [inline] |
Definition at line 16 of file CSCDMBTrailer.h.
References sizeInWords(), and CSCDMBStatusDigi::trailer().
{ memcpy(this, digi.trailer(), sizeInWords()*2); }
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.
{return ddu_code_1 == 0xF && ddu_code_2 == 0xF && ddu_code_3 == 0xF && ddu_code_4 == 0xF && ddu_code_5 == 0xE && ddu_code_6 == 0xE && ddu_code_7 == 0xE && ddu_code_8 == 0xE;}
unsigned short* CSCDMBTrailer::data | ( | ) | [inline] |
Definition at line 25 of file CSCDMBTrailer.h.
Referenced by CSCEventData::pack().
{return (unsigned short *) this;}
unsigned short* CSCDMBTrailer::data | ( | ) | const [inline] |
Definition at line 26 of file CSCDMBTrailer.h.
{return (unsigned short *) this;}
void CSCDMBTrailer::setEventInformation | ( | const CSCDMBHeader & | ) | [inline] |
static unsigned CSCDMBTrailer::sizeInWords | ( | ) | [inline, static] |
Definition at line 75 of file CSCDMBTrailer.h.
Referenced by CSCDMBTrailer(), and CSCEventData::pack().
{return 8;}
unsigned CSCDMBTrailer::alct_empty |
Definition at line 41 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::alct_endtimeout |
Definition at line 47 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::alct_full |
Definition at line 55 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::alct_half |
Definition at line 34 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::alct_timeout |
Definition at line 39 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::cfeb_empty |
Definition at line 52 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::cfeb_endtimeout |
Definition at line 48 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::cfeb_full |
Definition at line 53 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::cfeb_half |
Definition at line 32 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
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 cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::crate_id |
Definition at line 59 of file CSCDMBTrailer.h.
unsigned CSCDMBTrailer::ddu_code_1 |
Definition at line 30 of file CSCDMBTrailer.h.
Referenced by check(), and CSCDMBTrailer().
unsigned CSCDMBTrailer::ddu_code_2 |
Definition at line 36 of file CSCDMBTrailer.h.
Referenced by check(), and CSCDMBTrailer().
unsigned CSCDMBTrailer::ddu_code_3 |
Definition at line 43 of file CSCDMBTrailer.h.
Referenced by check(), and CSCDMBTrailer().
unsigned CSCDMBTrailer::ddu_code_4 |
Definition at line 49 of file CSCDMBTrailer.h.
Referenced by check(), and CSCDMBTrailer().
unsigned CSCDMBTrailer::ddu_code_5 |
Definition at line 56 of file CSCDMBTrailer.h.
Referenced by check(), and CSCDMBTrailer().
unsigned CSCDMBTrailer::ddu_code_6 |
Definition at line 60 of file CSCDMBTrailer.h.
Referenced by check(), and CSCDMBTrailer().
unsigned CSCDMBTrailer::ddu_code_7 |
Definition at line 64 of file CSCDMBTrailer.h.
Referenced by check(), and CSCDMBTrailer().
unsigned CSCDMBTrailer::ddu_code_8 |
Definition at line 68 of file CSCDMBTrailer.h.
Referenced by check(), and CSCDMBTrailer().
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 |
Definition at line 42 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
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 |
Definition at line 40 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::tmb_endtimeout |
Definition at line 46 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::tmb_full |
Definition at line 54 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::tmb_half |
Definition at line 33 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().
unsigned CSCDMBTrailer::tmb_timeout |
Definition at line 38 of file CSCDMBTrailer.h.
Referenced by cscdqm::EventProcessor::processCSC().