Belle II Software development
|
Public Member Functions | |
SendHeader () | |
Default constructor. | |
SendHeader (int *) | |
Constructor using existing pointer to raw data buffer. | |
~SendHeader () | |
Destructor. | |
int * | GetBuffer (void) |
Get Header contents. | |
void | SetBuffer (int *hdr) |
set buffer | |
void | Initialize () |
void | SetNwords (int total_data_nwords) |
initialize Header | |
void | SetNumEventsinPacket (int num_events) |
set contents of Header | |
void | SetNumNodesinPacket (int num_nodes) |
void | SetEventNumber (int eve_num) |
void | SetNodeID (int node_id) |
void | SetExpRunWord (unsigned int exp_run) |
void | SetRunNum (int run_num) |
void | SetSubRunNum (int subrun_num) |
void | SetExpNum (int exp_num) |
int | GetTotalNwords () |
int | GetHdrNwords () |
get contents of Header | |
int | GetNumEventsinPacket () |
get contents of Header | |
int | GetNumNodesinPacket () |
int | GetEventNumber () |
int | GetNodeID () |
int | GetRunNum () |
int | GetSubRunNum () |
int | GetExpNum () |
int | GetRunNumSubRunNum () |
Private Attributes | |
int | m_buffer [SENDHDR_NWORDS] |
Definition at line 21 of file SendHeader.h.
anonymous enum |
Definition at line 67 of file SendHeader.h.
anonymous enum |
Definition at line 72 of file SendHeader.h.
anonymous enum |
Definition at line 82 of file SendHeader.h.
SendHeader | ( | ) |
Default constructor.
Definition at line 16 of file SendHeader.cc.
SendHeader | ( | int * | buffer | ) |
Constructor using existing pointer to raw data buffer.
Definition at line 22 of file SendHeader.cc.
~SendHeader | ( | ) |
int * GetBuffer | ( | void | ) |
int GetEventNumber | ( | ) |
Definition at line 133 of file SendHeader.cc.
int GetExpNum | ( | ) |
Definition at line 155 of file SendHeader.cc.
int GetHdrNwords | ( | ) |
int GetNodeID | ( | ) |
Definition at line 135 of file SendHeader.cc.
int GetNumEventsinPacket | ( | ) |
get contents of Header
Definition at line 125 of file SendHeader.cc.
int GetNumNodesinPacket | ( | ) |
Definition at line 131 of file SendHeader.cc.
int GetRunNum | ( | ) |
Definition at line 137 of file SendHeader.cc.
int GetRunNumSubRunNum | ( | ) |
Definition at line 147 of file SendHeader.cc.
int GetSubRunNum | ( | ) |
Definition at line 142 of file SendHeader.cc.
int GetTotalNwords | ( | ) |
Definition at line 123 of file SendHeader.cc.
void Initialize | ( | ) |
Definition at line 42 of file SendHeader.cc.
void SetBuffer | ( | int * | hdr | ) |
set buffer
Definition at line 37 of file SendHeader.cc.
void SetEventNumber | ( | int | eve_num | ) |
Definition at line 76 of file SendHeader.cc.
void SetExpNum | ( | int | exp_num | ) |
Definition at line 108 of file SendHeader.cc.
void SetExpRunWord | ( | unsigned int | exp_run | ) |
Definition at line 56 of file SendHeader.cc.
void SetNodeID | ( | int | node_id | ) |
Definition at line 82 of file SendHeader.cc.
void SetNumEventsinPacket | ( | int | num_events | ) |
set contents of Header
Definition at line 61 of file SendHeader.cc.
void SetNumNodesinPacket | ( | int | num_nodes | ) |
Definition at line 68 of file SendHeader.cc.
void SetNwords | ( | int | total_data_nwords | ) |
initialize Header
Definition at line 51 of file SendHeader.cc.
void SetRunNum | ( | int | run_num | ) |
Definition at line 88 of file SendHeader.cc.
void SetSubRunNum | ( | int | subrun_num | ) |
Definition at line 99 of file SendHeader.cc.
|
private |
Definition at line 91 of file SendHeader.h.