![]() |
Belle II Software
release-08-02-04
|
The Raw Header class ver.1 ( the latest version since May, 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_v1.h>
Public Member Functions | |
| RawHeader_v1 () | |
| Default constructor. | |
| RawHeader_v1 (int *) | |
| Constructor using existing pointer to raw data buffer. | |
| ~RawHeader_v1 () | |
| Destructor. | |
| int * | GetBuffer () |
| Get header contents. | |
| void | SetBuffer (int *bufin) |
| set buffer | |
| void | CheckSetBuffer () |
| initialize header | |
| void | CheckGetBuffer () |
| check if m_buffer exists | |
| 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 values of FTSW info( trigger timing) | |
| 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 | |
| int | GetNwords () |
| set contents of header More... | |
| 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 More... | |
| 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 | |
| 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 | |
| void | CheckHeader (int *buf) |
| Get magic word to check the data corruption. More... | |
Private Attributes | |
| int * | m_buffer |
| do not record buffer ( RawCOPPER includes buffer of RawHeader_v1 and RawTrailer ) | |
The Raw Header class ver.1 ( the latest version since May, 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 31 of file RawHeader_v1.h.
| void CheckHeader | ( | int * | buf | ) |
Get magic word to check the data corruption.
check the contents of header
Definition at line 62 of file RawHeader_v1.cc.