Belle II Software development
|
Public Types | |
enum | { SENDHDR_NWORDS = 6 } |
Public Member Functions | |
SndHdrTemp () | |
Default constructor. | |
SndHdrTemp (int *) | |
Constructor using existing pointer to raw data buffer. | |
~SndHdrTemp () | |
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 () |
Public Attributes | |
RawHeader_latest | tmp_header |
Private Types | |
enum | { POS_NWORDS = 0 , POS_HDR_NWORDS = 1 , POS_NUM_EVE_NUM_NODES = 2 , POS_EXP_RUN_NUM = 3 , POS_EVE_NUM = 4 , POS_NODE_ID = 5 } |
Private Member Functions | |
ClassDef (SndHdrTemp, 1) | |
Private Attributes | |
int | m_buffer [SENDHDR_NWORDS] |
Definition at line 22 of file SndHdrTemp.h.
anonymous enum |
Definition at line 71 of file SndHdrTemp.h.
|
private |
Definition at line 78 of file SndHdrTemp.h.
SndHdrTemp | ( | ) |
Default constructor.
Definition at line 15 of file SndHdrTemp.cc.
SndHdrTemp | ( | int * | buffer | ) |
Constructor using existing pointer to raw data buffer.
Definition at line 21 of file SndHdrTemp.cc.
~SndHdrTemp | ( | ) |
int * GetBuffer | ( | void | ) |
int GetEventNumber | ( | ) |
Definition at line 132 of file SndHdrTemp.cc.
int GetExpNum | ( | ) |
Definition at line 154 of file SndHdrTemp.cc.
int GetHdrNwords | ( | ) |
int GetNodeID | ( | ) |
Definition at line 134 of file SndHdrTemp.cc.
int GetNumEventsinPacket | ( | ) |
get contents of Header
Definition at line 124 of file SndHdrTemp.cc.
int GetNumNodesinPacket | ( | ) |
Definition at line 130 of file SndHdrTemp.cc.
int GetRunNum | ( | ) |
Definition at line 136 of file SndHdrTemp.cc.
int GetRunNumSubRunNum | ( | ) |
Definition at line 146 of file SndHdrTemp.cc.
int GetSubRunNum | ( | ) |
Definition at line 141 of file SndHdrTemp.cc.
int GetTotalNwords | ( | ) |
Definition at line 122 of file SndHdrTemp.cc.
void Initialize | ( | ) |
Definition at line 41 of file SndHdrTemp.cc.
void SetBuffer | ( | int * | hdr | ) |
set buffer
Definition at line 36 of file SndHdrTemp.cc.
void SetEventNumber | ( | int | eve_num | ) |
Definition at line 75 of file SndHdrTemp.cc.
void SetExpNum | ( | int | exp_num | ) |
Definition at line 107 of file SndHdrTemp.cc.
void SetExpRunWord | ( | unsigned int | exp_run | ) |
Definition at line 55 of file SndHdrTemp.cc.
void SetNodeID | ( | int | node_id | ) |
Definition at line 81 of file SndHdrTemp.cc.
void SetNumEventsinPacket | ( | int | num_events | ) |
set contents of Header
Definition at line 60 of file SndHdrTemp.cc.
void SetNumNodesinPacket | ( | int | num_nodes | ) |
Definition at line 67 of file SndHdrTemp.cc.
void SetNwords | ( | int | total_data_nwords | ) |
initialize Header
Definition at line 50 of file SndHdrTemp.cc.
void SetRunNum | ( | int | run_num | ) |
Definition at line 87 of file SndHdrTemp.cc.
void SetSubRunNum | ( | int | subrun_num | ) |
Definition at line 98 of file SndHdrTemp.cc.
|
private |
Definition at line 89 of file SndHdrTemp.h.
RawHeader_latest tmp_header |
Definition at line 68 of file SndHdrTemp.h.