Belle II Software development
|
The Raw Header class ver.0 ( from August, 2013 to April, 2014 ) This class defines the format of the header of RawCOPPER class data and used for extracting header info from RawCOPPER object. More...
#include <RawHeader_v0.h>
Public Member Functions | |
RawHeader_v0 () | |
Default constructor. | |
RawHeader_v0 (int *) | |
Constructor using existing pointer to raw data buffer. | |
~RawHeader_v0 () | |
Destructor. | |
int * | GetBuffer () |
Get header contents. | |
void | SetBuffer (int *bufin) |
set buffer | |
void | CheckSetBuffer () |
initialize header | |
void | CheckGetBuffer () |
check if m_buffer exists | |
void | Initialize () |
initialize header | |
void | SetNwords (int nwords) |
set contents of header | |
void | SetEveNo (unsigned int eve_no) |
set contents of header | |
void | SetNodeID (unsigned int node_id) |
set contents of header | |
void | SetDataType (int data_type) |
set contents of header | |
void | SetTruncMask (int trunc_mask) |
set contents of header | |
void | SetFTSW2Words (unsigned int word1, unsigned int word2) |
set contents of header | |
void | SetExpRunNumber (int *exprun_buf) |
Set a word consists of exp #, run # and subrun #. | |
void | SetOffset1stFINESSE (int offset_1st_FINESSE) |
set contents of header | |
void | SetOffset2ndFINESSE (int offset_2nd_FINESSE) |
set contents of header | |
void | SetOffset3rdFINESSE (int offset_3rd_FINESSE) |
set contents of header | |
void | SetOffset4thFINESSE (int offset_4th_FINESSE) |
set contents of header | |
void | SetMagicWordEntireHeader () |
set contents of header | |
int | AddNodeInfo (int node_id) |
set magic words; | |
int | GetNwords () |
get contents of header | |
int | GetHdrNwords () |
get contents of header | |
unsigned int | GetExpRunSubrun () |
get contents of header | |
int | GetExpNo () |
get a run/exp number combined word | |
int | GetRunNo () |
get contents of header | |
int | GetSubRunNo () |
get run # (14bit) | |
unsigned int | GetEveNo () |
get restart #(8bit) | |
unsigned int | GetNodeID () |
get contents of header | |
int | GetDataType () |
get contents of header | |
int | GetTruncMask () |
get contents of header | |
unsigned int | GetErrorBitFlag () |
get contents of header | |
void | AddErrorBitFlag (unsigned int error_bit_flag) |
Add Detected Error bitflag. | |
int | GetOffset1stFINESSE () |
get contents of header | |
int | GetOffset2ndFINESSE () |
get contents of header | |
int | GetOffset3rdFINESSE () |
get contents of header | |
int | GetOffset4thFINESSE () |
get contents of header | |
int | GetNumNodes () |
get contents of header | |
int | GetNodeInfo (int node_no, int *node_id) |
get contents of header | |
unsigned int | GetTTCtimeTRGType () |
get contents of header | |
int | GetTTCtime () |
get contents of header | |
int | GetTRGType () |
get TRGType | |
unsigned int | GetTTUtime () |
get contents of header | |
void | GetTTTimeVal (struct timeval *tv) |
get contents of header | |
unsigned int | GetMagicWordEntireHeader () |
Get magic word to check the data corruption. | |
Private Attributes | |
int * | m_buffer |
do not record buffer ( RawCOPPER includes buffer of RawHeader_v0 and RawTrailer ) | |
The Raw Header class ver.0 ( from August, 2013 to April, 2014 ) This class defines the format of the header of RawCOPPER class data and used for extracting header info from RawCOPPER object.
Definition at line 34 of file RawHeader_v0.h.
anonymous enum |
Definition at line 161 of file RawHeader_v0.h.
anonymous enum |
Definition at line 166 of file RawHeader_v0.h.
anonymous enum |
Definition at line 174 of file RawHeader_v0.h.
anonymous enum |
Definition at line 179 of file RawHeader_v0.h.
anonymous enum |
Definition at line 202 of file RawHeader_v0.h.
anonymous enum |
Definition at line 209 of file RawHeader_v0.h.
anonymous enum |
Definition at line 214 of file RawHeader_v0.h.
RawHeader_v0 | ( | ) |
Default constructor.
Definition at line 17 of file RawHeader_v0.cc.
|
explicit |
Constructor using existing pointer to raw data buffer.
Definition at line 24 of file RawHeader_v0.cc.
~RawHeader_v0 | ( | ) |
int AddNodeInfo | ( | int | node_id | ) |
set magic words;
Add nodeinfo in trace area
Definition at line 34 of file RawHeader_v0.cc.
|
inline |
int GetNodeInfo | ( | int | node_no, |
int * | node_id | ||
) |
get contents of header
Definition at line 48 of file RawHeader_v0.cc.
|
inline |
|
private |
do not record buffer ( RawCOPPER includes buffer of RawHeader_v0 and RawTrailer )
Definition at line 222 of file RawHeader_v0.h.