#include <CSCDDUHeader.h>
Public Member Functions | |
int | bxnum () const |
bool | check () const |
CSCDDUHeader () | |
CSCDDUHeader (unsigned bx, unsigned l1num, unsigned sourceId, unsigned fmt_version=0x6) | |
CSCDDUHeader (const CSCDDUStatusDigi &digi) | |
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 | 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 10 of file CSCDDUHeader.h.
CSCDDUHeader::CSCDDUHeader | ( | ) |
CSCDDUHeader::CSCDDUHeader | ( | unsigned | bx, |
unsigned | l1num, | ||
unsigned | sourceId, | ||
unsigned | fmt_version = 0x6 |
||
) |
Definition at line 12 of file CSCDDUHeader.cc.
References bxnum_, format_version_, init(), lvl1num_, sizeInWords(), and source_id_.
|
inline |
Definition at line 15 of file CSCDDUHeader.h.
References CSCDDUStatusDigi::header(), and sizeInWords().
|
inline |
Definition at line 24 of file CSCDDUHeader.h.
References bxnum_.
Referenced by CSCDDUEventData::add(), and cscdqm::EventProcessor::processDDU().
bool CSCDDUHeader::check | ( | ) | const |
Definition at line 54 of file CSCDDUHeader.cc.
References bit64_, header2_1_, header2_2_, and header2_3_.
Referenced by CSCDDUEventData::check(), and CSCDDUDataItr::CSCDDUDataItr().
|
inline |
Definition at line 45 of file CSCDDUHeader.h.
Referenced by cuy.FindIssue::__init__(), and CSCDDUEventData::pack().
|
inline |
Definition at line 28 of file CSCDDUHeader.h.
References dmb_dav_.
Referenced by cscdqm::EventProcessor::processDDU().
|
inline |
|
inline |
|
inline |
Definition at line 22 of file CSCDDUHeader.h.
References format_version_.
Referenced by argparse.ArgumentParser::print_version(), python.rootplot.argparse.ArgumentParser::print_version(), and CSCDDUEventData::unpack_data().
|
private |
initializes constants
Definition at line 27 of file CSCDDUHeader.cc.
References bit64_, header2_1_, header2_2_, and header2_3_.
Referenced by CSCDDUHeader().
|
inline |
Definition at line 30 of file CSCDDUHeader.h.
References live_cscs_.
Referenced by cscdqm::EventProcessor::processDDU().
|
inline |
Definition at line 25 of file CSCDDUHeader.h.
References lvl1num_.
Referenced by CSCDDUEventData::add(), DigiAnalyzer::analyze(), and cscdqm::EventProcessor::processDDU().
|
inline |
Definition at line 27 of file CSCDDUHeader.h.
References ncsc_.
Referenced by cscdqm::EventProcessor::processDDU(), and CSCDDUEventData::unpack_data().
|
inline |
|
inline |
|
inline |
|
inline |
void CSCDDUHeader::setDMBDAV | ( | int | dduInput | ) |
Definition at line 35 of file CSCDDUHeader.cc.
References dmb_dav_, live_cscs_, and ncsc_.
Referenced by CSCDDUEventData::add().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Definition at line 32 of file CSCDDUHeader.h.
Referenced by CSCDDUHeader(), CSCDDUEventData::pack(), and CSCDDUEventData::unpack_data().
|
inline |
Definition at line 23 of file CSCDDUHeader.h.
References source_id_.
Referenced by DigiAnalyzer::analyze(), cscdqm::EventProcessor::processDDU(), and CSCDDUEventData::unpack_data().
|
friend |
Definition at line 49 of file CSCDDUHeader.h.
|
private |
|
private |
Definition at line 73 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 74 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 76 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 71 of file CSCDDUHeader.h.
Referenced by ncsc(), and setDMBDAV().
|
private |
Definition at line 75 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 72 of file CSCDDUHeader.h.
Referenced by setTTSStatus().