#include <CSCDDUHeader.h>
Public Member Functions | |
int | bxnum () const |
bool | check () const |
CSCDDUHeader () | |
CSCDDUHeader (const CSCDDUStatusDigi &digi) | |
CSCDDUHeader (unsigned bx, unsigned l1num, unsigned sourceId, unsigned fmt_version=0x6) | |
unsigned short * | data () |
int | dmb_dav () const |
int | dmb_full () const |
int | event_type () const |
int | format_version () const |
int | live_cscs () const |
int | lvl1num () const |
int | ncsc () const |
int | output_path_status () const |
int | s_link_status () const |
void | setBOEStatus (unsigned status) |
void | setBXN (unsigned bxn) |
void | setDMBDAV (int dduInput) |
void | setEventType (unsigned evt_type) |
void | setFormatVersion (unsigned version) |
void | setFromBuffer (uint16_t const *buf) |
void | setL1A (unsigned l1a) |
void | setOutputPathStatus (unsigned status) |
void | setSourceId (unsigned sourceId) |
void | setTTSStatus (unsigned status) |
int | source_id () const |
Static Public Member Functions | |
static unsigned | sizeInWords () |
Private Member Functions | |
void | init () |
initializes constants More... | |
Private Attributes | |
unsigned | bit64_: 4 |
should always be 5 More... | |
unsigned | boe_status_: 8 |
unsigned | bxnum_: 12 |
unsigned | dmb_dav_: 16 |
unsigned | dmb_full_: 16 |
should be 8000/0001/8000 More... | |
unsigned | event_type_: 4 |
unsigned | format_version_: 4 |
unsigned | header2_1_: 16 |
unsigned | header2_2_: 16 |
unsigned | header2_3_: 16 |
unsigned | live_cscs_: 16 |
unsigned | lvl1num_: 24 |
unsigned | ncsc_: 4 |
unsigned | output_path_: 16 |
unsigned | s_link_status_: 4 |
unsigned | source_id_: 12 |
unsigned | tts_status_: 4 |
Friends | |
class | CSCDDUEventData |
Definition at line 11 of file CSCDDUHeader.h.
CSCDDUHeader::CSCDDUHeader | ( | ) |
Definition at line 5 of file CSCDDUHeader.cc.
References init(), and sizeInWords().
CSCDDUHeader::CSCDDUHeader | ( | unsigned | bx, |
unsigned | l1num, | ||
unsigned | sourceId, | ||
unsigned | fmt_version = 0x6 |
||
) |
Definition at line 10 of file CSCDDUHeader.cc.
References l1GtPatternGenerator_cfi::bx, bxnum_, format_version_, init(), lvl1num_, sizeInWords(), source_id_, and objects.autophobj::sourceId.
|
inline |
Definition at line 15 of file CSCDDUHeader.h.
References CSCDDUStatusDigi::header(), and sizeInWords().
|
inline |
Definition at line 23 of file CSCDDUHeader.h.
References bxnum_.
Referenced by CSCDDUEventData::add(), and cscdqm::EventProcessor::processDDU().
bool CSCDDUHeader::check | ( | ) | const |
Definition at line 43 of file CSCDDUHeader.cc.
References bit64_, header2_1_, header2_2_, and header2_3_.
Referenced by CSCDDUEventData::check(), and CSCDDUDataItr::CSCDDUDataItr().
|
inline |
Definition at line 44 of file CSCDDUHeader.h.
Referenced by CSCDDUEventData::pack().
|
inline |
Definition at line 27 of file CSCDDUHeader.h.
References dmb_dav_.
Referenced by cscdqm::EventProcessor::processDDU().
|
inline |
|
inline |
|
inline |
Definition at line 21 of file CSCDDUHeader.h.
References format_version_.
Referenced by CSCDDUEventData::unpack_data().
|
private |
initializes constants
Definition at line 20 of file CSCDDUHeader.cc.
References bit64_, header2_1_, header2_2_, and header2_3_.
Referenced by CSCDDUHeader().
|
inline |
Definition at line 29 of file CSCDDUHeader.h.
References live_cscs_.
Referenced by cscdqm::EventProcessor::processDDU().
|
inline |
Definition at line 24 of file CSCDDUHeader.h.
References lvl1num_.
Referenced by CSCDDUEventData::add(), and cscdqm::EventProcessor::processDDU().
|
inline |
Definition at line 26 of file CSCDDUHeader.h.
References ncsc_.
Referenced by cscdqm::EventProcessor::processDDU(), and CSCDDUEventData::unpack_data().
|
inline |
Definition at line 30 of file CSCDDUHeader.h.
References output_path_.
Referenced by cscdqm::EventProcessor::processDDU().
|
inline |
|
inline |
|
inline |
void CSCDDUHeader::setDMBDAV | ( | int | dduInput | ) |
Definition at line 26 of file CSCDDUHeader.cc.
References dmb_dav_, live_cscs_, and ncsc_.
Referenced by CSCDDUEventData::add().
|
inline |
|
inline |
Definition at line 36 of file CSCDDUHeader.h.
References format_version_, and BeamSplash_cfg::version.
|
inline |
Definition at line 17 of file CSCDDUHeader.h.
References visDQMUpload::buf, and sizeInWords().
Referenced by CSCDDUEventData::unpack_data().
|
inline |
|
inline |
|
inline |
Definition at line 35 of file CSCDDUHeader.h.
References source_id_, and objects.autophobj::sourceId.
|
inline |
|
inlinestatic |
Definition at line 31 of file CSCDDUHeader.h.
Referenced by CSCDDUHeader(), CSCDDUEventData::pack(), setFromBuffer(), and CSCDDUEventData::unpack_data().
|
inline |
Definition at line 22 of file CSCDDUHeader.h.
References source_id_.
Referenced by cscdqm::EventProcessor::processDDU(), and CSCDDUEventData::unpack_data().
|
friend |
Definition at line 48 of file CSCDDUHeader.h.
|
private |
|
private |
Definition at line 72 of file CSCDDUHeader.h.
Referenced by setBOEStatus().
|
private |
Definition at line 57 of file CSCDDUHeader.h.
Referenced by bxnum(), CSCDDUHeader(), and setBXN().
|
private |
Definition at line 73 of file CSCDDUHeader.h.
Referenced by dmb_dav(), and setDMBDAV().
|
private |
|
private |
Definition at line 60 of file CSCDDUHeader.h.
Referenced by event_type(), and setEventType().
|
private |
Definition at line 55 of file CSCDDUHeader.h.
Referenced by CSCDDUHeader(), format_version(), and setFormatVersion().
|
private |
Definition at line 66 of file CSCDDUHeader.h.
|
private |
Definition at line 67 of file CSCDDUHeader.h.
|
private |
Definition at line 68 of file CSCDDUHeader.h.
|
private |
Definition at line 75 of file CSCDDUHeader.h.
Referenced by live_cscs(), and setDMBDAV().
|
private |
Definition at line 59 of file CSCDDUHeader.h.
Referenced by CSCDDUHeader(), lvl1num(), and setL1A().
|
private |
Definition at line 70 of file CSCDDUHeader.h.
Referenced by ncsc(), and setDMBDAV().
|
private |
Definition at line 74 of file CSCDDUHeader.h.
Referenced by output_path_status(), and setOutputPathStatus().
|
private |
Definition at line 54 of file CSCDDUHeader.h.
Referenced by s_link_status().
|
private |
Definition at line 56 of file CSCDDUHeader.h.
Referenced by CSCDDUHeader(), setSourceId(), and source_id().
|
private |
Definition at line 71 of file CSCDDUHeader.h.
Referenced by setTTSStatus().