Belle II Software
release-08-01-10
|
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.