#include <CSCDDUTrailer.h>
Public Member Functions | |
bool | check () const |
CSCDDUTrailer () | |
CSCDDUTrailer (const CSCDDUStatusDigi &digi) | |
unsigned short * | data () |
unsigned | dmb_full () const |
unsigned | dmb_warn () const |
unsigned | errorstat () const |
unsigned | reserved () const |
void | setFromBuffer (uint16_t const *buf) |
void | setWordCount (unsigned wordcount) |
unsigned | wordcount () const |
Static Public Member Functions | |
static unsigned | sizeInWords () |
Private Attributes | |
unsigned | cms_directive_0xA: 4 |
constant, should be 1010 More... | |
unsigned | dmb_full_: 16 |
unsigned | dmb_warn_: 16 |
Active DMB Count (4 bits) More... | |
unsigned | errorstat_: 32 |
unsigned | trailer2_1: 16 |
should be 8000/8000/FFFF/8000 More... | |
unsigned | trailer2_2: 16 |
unsigned | trailer2_3: 16 |
unsigned | trailer2_4: 16 |
unsigned | whatever: 4 |
unsigned | word1: 4 |
unsigned | word2: 4 |
unsigned | word3: 4 |
unsigned | word4: 4 |
unsigned | word5: 4 |
unsigned | word6: 4 |
unsigned | word7: 4 |
unsigned | word8: 4 |
unsigned | word_count_: 24 |
documented at http://www.physics.ohio-state.edu/~cms/ddu/ddu2.html
Definition at line 12 of file CSCDDUTrailer.h.
|
inline |
Definition at line 14 of file CSCDDUTrailer.h.
References sizeInWords(), trailer2_1, trailer2_2, trailer2_3, and trailer2_4.
|
inline |
Definition at line 19 of file CSCDDUTrailer.h.
References sizeInWords(), and CSCDDUStatusDigi::trailer().
|
inline |
Definition at line 25 of file CSCDDUTrailer.h.
References trailer2_1, trailer2_2, trailer2_3, and trailer2_4.
Referenced by CSCDDUEventData::check(), cscdqm::EventProcessor::processDDU(), and CSCDDUEventData::unpack_data().
|
inline |
Definition at line 32 of file CSCDDUTrailer.h.
Referenced by CSCDDUEventData::pack().
|
inline |
Definition at line 42 of file CSCDDUTrailer.h.
References dmb_full_.
Referenced by cscdqm::EventProcessor::processDDU().
|
inline |
Definition at line 41 of file CSCDDUTrailer.h.
References dmb_warn_.
Referenced by cscdqm::EventProcessor::processDDU().
|
inline |
Definition at line 36 of file CSCDDUTrailer.h.
References errorstat_.
Referenced by CSCDDUEventData::decodeStatus(), cscdqm::EventProcessor::processDDU(), and CSCDDUEventData::unpack_data().
|
inline |
Definition at line 43 of file CSCDDUTrailer.h.
References whatever.
Referenced by cscdqm::EventProcessor::processDDU().
|
inline |
Definition at line 21 of file CSCDDUTrailer.h.
References sizeInWords().
Referenced by CSCDDUEventData::unpack_data().
|
inline |
Definition at line 38 of file CSCDDUTrailer.h.
References word_count_, and wordcount().
Referenced by CSCDDUEventData::pack().
|
inlinestatic |
Definition at line 23 of file CSCDDUTrailer.h.
Referenced by CSCDDUTrailer(), CSCDDUEventData::pack(), setFromBuffer(), and CSCDDUEventData::unpack_data().
|
inline |
Definition at line 37 of file CSCDDUTrailer.h.
References word_count_.
Referenced by CSCDDUEventData::check(), cscdqm::EventProcessor::processDDU(), and setWordCount().
|
private |
constant, should be 1010
Definition at line 87 of file CSCDDUTrailer.h.
|
private |
Definition at line 54 of file CSCDDUTrailer.h.
Referenced by dmb_full().
|
private |
|
private |
Definition at line 55 of file CSCDDUTrailer.h.
Referenced by errorstat().
|
private |
should be 8000/8000/FFFF/8000
Definition at line 47 of file CSCDDUTrailer.h.
Referenced by check(), and CSCDDUTrailer().
|
private |
Definition at line 48 of file CSCDDUTrailer.h.
Referenced by check(), and CSCDDUTrailer().
|
private |
Definition at line 49 of file CSCDDUTrailer.h.
Referenced by check(), and CSCDDUTrailer().
|
private |
Definition at line 50 of file CSCDDUTrailer.h.
Referenced by check(), and CSCDDUTrailer().
|
private |
Definition at line 85 of file CSCDDUTrailer.h.
Referenced by reserved().
|
private |
Definition at line 72 of file CSCDDUTrailer.h.
|
private |
Definition at line 73 of file CSCDDUTrailer.h.
|
private |
Definition at line 74 of file CSCDDUTrailer.h.
|
private |
Definition at line 75 of file CSCDDUTrailer.h.
|
private |
Definition at line 77 of file CSCDDUTrailer.h.
|
private |
Definition at line 78 of file CSCDDUTrailer.h.
|
private |
Definition at line 79 of file CSCDDUTrailer.h.
|
private |
Definition at line 80 of file CSCDDUTrailer.h.
|
private |
in 64-bit words DDU_WC = (6 + 25*N_ts*nCFEB + 3*nDMB)
Definition at line 84 of file CSCDDUTrailer.h.
Referenced by setWordCount(), and wordcount().