 |
Belle II Software
release-05-02-19
|
9 #ifndef RAWCOPPERFORMAT_V2_H
10 #define RAWCOPPERFORMAT_V2_H
13 #include <rawdata/dataobjects/RawCOPPERFormat.h>
14 #include <rawdata/dataobjects/RawHeader_v2.h>
15 #include <rawdata/dataobjects/RawTrailer_v2.h>
16 #include <rawdata/CRCCalculator.h>
94 unsigned int GetEveNo(
int n) OVERRIDE_CPP17;
108 void AddErrorBitFlag(
int n,
unsigned int error_bit_flag) OVERRIDE_CPP17;
120 unsigned int GetNodeID(
int n) OVERRIDE_CPP17;
152 #ifdef USE_B2LFEE_FORMAT_BOTH_VER1_AND_2
155 void CheckB2LFEEHeaderVersion(
int n) OVERRIDE_CPP17;
164 unsigned int GetTTUtime(
int n) OVERRIDE_CPP17;
180 void GetTTTimeVal(
int n,
struct timeval* tv) OVERRIDE_CPP17;
188 DATA_FORMAT_VERSION = 2
373 return MAX_COPPER_CH;
int GetTRGType(int n) OVERRIDE_CPP17
Get trgtype.
int GetPacketCRCError()
Get Packet CRC error flag.
int GetDataType()
get contents of header
int GetEventCRCError(int n) OVERRIDE_CPP17
check CRC event Error
int GetRunNo()
get contents of header
int Get1stFINESSENwords(int n) OVERRIDE_CPP17
get data size of FINESSE slot A buffer
int GetExpNo()
get a run/exp number combined word
int * GetRawTrlBufPtr(int n) OVERRIDE_CPP17
get buffer pointer of rawcopper trailer
int GetTRGType()
get TRGType
void GetTTTimeVal(int n, struct timeval *tv) OVERRIDE_CPP17
Get timeval.
int GetTTCtime()
get contents of header
The Raw Trailer class ver.1 ( the latest version since May, 2014 ) This class defines the format of t...
int GetMaxNumOfCh(int n) OVERRIDE_CPP17
Get the max number of channels in a readout board.
void GetTTTimeVal(struct timeval *tv)
get contents of header
unsigned int GetNodeID(int n) OVERRIDE_CPP17
get node-ID from data
unsigned int GetTTCtimeTRGType()
get contents of header
int Get2ndDetectorNwords(int n) OVERRIDE_CPP17
get Detector buffer length of slot B
int GetTruncMask()
get contents of header
int GetTrlNwords()
Set magic word.
int GetSubRunNo()
get run # (14bit)
int GetTruncMask(int n) OVERRIDE_CPP17
get contents of header
int Get3rdDetectorNwords(int n) OVERRIDE_CPP17
get Detector buffer length of slot C
unsigned int GetExpRunSubrun(int n) OVERRIDE_CPP17
get Experimental # from header
Abstract base class for different kinds of events.
unsigned int GetTTCtimeTRGType(int n) OVERRIDE_CPP17
get b2l block from "FEE b2link header"
unsigned int GetEveNo()
get restart #(8bit)
int GetPacketCRCError(int n) OVERRIDE_CPP17
check CRC packet Error
int GetExpNo(int n) OVERRIDE_CPP17
get Experimental # from header
int Get4thDetectorNwords(int n) OVERRIDE_CPP17
get Detector buffer length of slot D
int Get1stDetectorNwords(int n) OVERRIDE_CPP17
get Detector buffer length of slot A
int Get4thFINESSENwords(int n) OVERRIDE_CPP17
get data size of FINESSE slot D buffer
int Get3rdFINESSENwords(int n) OVERRIDE_CPP17
get data size of FINESSE slot C buffer
int GetRunNo(int n) OVERRIDE_CPP17
Exp# (10bit) run# (14bit) restart # (8bit)
unsigned int GetTTUtime()
get contents of header
int GetSubRunNo(int n) OVERRIDE_CPP17
get run # (14bit)
int Get2ndFINESSENwords(int n) OVERRIDE_CPP17
get data size of FINESSE slot B buffer
int GetTTCtime(int n) OVERRIDE_CPP17
Get ctime.
unsigned int GetEveNo(int n) OVERRIDE_CPP17
get subrun #(8bit)
void AddErrorBitFlag(unsigned int error_bit_flag)
Add Detected Error bitflag.
unsigned int GetTTUtime(int n) OVERRIDE_CPP17
Check if COPPER Magic words are correct.
void AddErrorBitFlag(int n, unsigned int error_bit_flag) OVERRIDE_CPP17
Add Detected Error bitflag.
unsigned int GetErrorBitFlag(int n) OVERRIDE_CPP17
get contents of header
unsigned int GetNodeID()
get contents of header
int GetDataType(int n) OVERRIDE_CPP17
get contents of header
unsigned int GetErrorBitFlag()
get contents of header
unsigned int GetExpRunSubrun()
get contents of header
int GetEventCRCError()
Get Detected Error bitflag.