#include <EventFilter/CSCRawToDigi/interface/CSCDCCTrailer.h>
Public Member Functions | |
bool | check () const |
CSCDCCTrailer (const CSCDCCStatusDigi &digi) | |
CSCDCCTrailer () | |
unsigned short * | data () |
Static Public Member Functions | |
static unsigned | sizeInWords () |
Public Attributes | |
unsigned | CRC: 16 |
unsigned | dcc_trail1: 8 |
unsigned | ddu_data_status1: 16 |
unsigned | ddu_data_status2: 24 |
unsigned | dollardollar: 1 |
this line defined by CMS CDF https://cmsdoc.cern.ch/cms/TRIDAS/horizontal/ | |
unsigned | EOE_1: 4 |
unsigned | Evt_lgth: 24 |
unsigned | Evt_stat: 4 |
unsigned | fifo_status: 8 |
for reference www.physics.ohio-state.edu/7Ecms/dcc/outdatafmt.html dcc_trail1 should be EF | |
unsigned | readout_time: 8 |
unsigned | TTS: 4 |
unsigned | Tx: 3 |
unsigned | XXXX_1: 4 |
unsigned | XXXX_2: 4 |
Definition at line 14 of file CSCDCCTrailer.h.
CSCDCCTrailer::CSCDCCTrailer | ( | ) | [inline] |
Definition at line 15 of file CSCDCCTrailer.h.
References dcc_trail1, EOE_1, sizeInWords(), and XXXX_1.
00016 { 00017 bzero(this, sizeInWords()*2); 00018 dcc_trail1 = 0xEF; 00019 EOE_1 = 0XA; 00020 XXXX_1 = 0XF; 00021 }
CSCDCCTrailer::CSCDCCTrailer | ( | const CSCDCCStatusDigi & | digi | ) | [inline] |
Definition at line 23 of file CSCDCCTrailer.h.
References sizeInWords(), and CSCDCCStatusDigi::trailer().
00024 { 00025 memcpy(this, digi.trailer(), sizeInWords()*2); 00026 }
bool CSCDCCTrailer::check | ( | ) | const [inline] |
Definition at line 48 of file CSCDCCTrailer.h.
References dcc_trail1, EOE_1, and XXXX_1.
Referenced by CSCDCCEventData::check(), and CSCDCCEventData::unpack_data().
00048 {return (dcc_trail1 == 0xEF) && (EOE_1 == 0XA) && (XXXX_1 == 0XF);}
unsigned short* CSCDCCTrailer::data | ( | ) | [inline] |
static unsigned CSCDCCTrailer::sizeInWords | ( | ) | [inline, static] |
Definition at line 47 of file CSCDCCTrailer.h.
Referenced by CSCDCCTrailer(), CSCDCCEventData::pack(), and CSCDCCEventData::unpack_data().
unsigned CSCDCCTrailer::CRC |
Definition at line 42 of file CSCDCCTrailer.h.
unsigned CSCDCCTrailer::dcc_trail1 |
unsigned CSCDCCTrailer::ddu_data_status1 |
Definition at line 31 of file CSCDCCTrailer.h.
unsigned CSCDCCTrailer::ddu_data_status2 |
Definition at line 30 of file CSCDCCTrailer.h.
unsigned CSCDCCTrailer::dollardollar |
this line defined by CMS CDF https://cmsdoc.cern.ch/cms/TRIDAS/horizontal/
Definition at line 37 of file CSCDCCTrailer.h.
unsigned CSCDCCTrailer::EOE_1 |
unsigned CSCDCCTrailer::Evt_lgth |
Definition at line 43 of file CSCDCCTrailer.h.
unsigned CSCDCCTrailer::Evt_stat |
Definition at line 40 of file CSCDCCTrailer.h.
unsigned CSCDCCTrailer::fifo_status |
for reference www.physics.ohio-state.edu/7Ecms/dcc/outdatafmt.html dcc_trail1 should be EF
Definition at line 29 of file CSCDCCTrailer.h.
unsigned CSCDCCTrailer::readout_time |
Definition at line 32 of file CSCDCCTrailer.h.
unsigned CSCDCCTrailer::TTS |
Definition at line 39 of file CSCDCCTrailer.h.
unsigned CSCDCCTrailer::Tx |
Definition at line 38 of file CSCDCCTrailer.h.
unsigned CSCDCCTrailer::XXXX_1 |
unsigned CSCDCCTrailer::XXXX_2 |
Definition at line 41 of file CSCDCCTrailer.h.