Belle II Software  release-08-01-10
rawdata data objects
Collaboration diagram for rawdata data objects:

Classes

class  PostRawCOPPERFormat_latest
 The Raw COPPER class ver. More...
 
class  PostRawCOPPERFormat_v1
 The Raw COPPER class ver.1 ( the latest version since May, 2014 ) This class stores data received by COPPER via belle2linkt Data from all detectors except PXD are stored in this class. More...
 
class  PostRawCOPPERFormat_v2
 The Raw COPPER class ver.2 This class stores data received by COPPER via belle2link Data from all detectors except PXD are stored in this class. More...
 
class  PreRawCOPPERFormat_latest
 The Raw COPPER class ver.1 ( the latest version since May, 2014 ) This class stores data received by COPPER via belle2linkt Data from all detectors except PXD are stored in this class. More...
 
class  PreRawCOPPERFormat_v1
 The Raw COPPER class ver.1 ( the latest version since May, 2014 ) This class stores data received by COPPER via belle2linkt Data from all detectors except PXD are stored in this class. More...
 
class  PreRawCOPPERFormat_v2
 The Raw COPPER class ver.1 ( the latest version since May, 2014 ) This class stores data received by COPPER via belle2linkt Data from all detectors except PXD are stored in this class. More...
 
class  RawARICH
 The Raw ARICH class Class for RawCOPPER class data taken by ARICH Currently, this class is almost same as RawCOPPER class. More...
 
class  RawCDC
 The Raw CDC class Class for RawCOPPER class data taken by CDC Currently, this class is almost same as RawCOPPER class. More...
 
class  RawCOPPER
 The Raw COPPER class This class stores data received by COPPER via belle2linkt Data from all detectors except PXD are stored in this class. More...
 
class  RawCOPPERFormat
 The Raw COPPER class This class stores data received by COPPER via belle2linkt Data from all detectors except PXD are stored in this class. More...
 
class  RawCOPPERFormat_latest
 The Raw COPPER class ver.1 ( the latest version since May, 2014 ) This class stores data received by COPPER via belle2linkt Data from all detectors except PXD are stored in this class. More...
 
class  RawCOPPERFormat_v0
 The Raw COPPER class ver.0 ( from August, 2013 to April, 2014 ) This class stores data received by COPPER via belle2linkt Data from all detectors except PXD are stored in this class. More...
 
class  RawCOPPERFormat_v1
 The Raw COPPER class ver.1 ( the latest version since May, 2014 ) This class stores data received by COPPER via belle2linkt Data from all detectors except PXD are stored in this class. More...
 
class  RawCOPPERFormat_v2
 The Raw COPPER class ver.1 ( the latest version since May, 2014 ) This class stores data received by COPPER via belle2linkt Data from all detectors except PXD are stored in this class. More...
 
class  RawDataBlock
 The RawDataBlock class Base class for rawdata handling. More...
 
class  RawDataBlockFormat
 The RawDataBlockFormat class Format information for rawdata handling. More...
 
class  RawECL
 The Raw ECL class Class for RawCOPPER class data taken by ECL Currently, this class is almost same as RawCOPPER class. More...
 
class  RawFTSW
 The Raw FTSW class. More...
 
class  RawFTSWFormat
 The Raw FTSW class. More...
 
class  RawFTSWFormat_latest
 The Raw FTSW class 3 ( 2019.8.20 ) More...
 
class  RawFTSWFormat_v1
 The Raw FTSW class ver.1 . More...
 
class  RawFTSWFormat_v2
 The Raw FTSW class ver.2 . More...
 
class  RawHeader_latest
 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...
 
class  RawHeader_v0
 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...
 
class  RawHeader_v1
 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...
 
class  RawHeader_v2
 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...
 
class  RawKLM
 The Raw KLM class Class for RawCOPPER class data taken by KLM. More...
 
class  RawPXD
 The Raw PXD class. More...
 
class  RawSVD
 The Raw SVD class Class for RawCOPPER class data taken by SVD Currently, this class is almost same as RawCOPPER class. More...
 
class  RawTLU
 The Raw TLU class Class for data from DAQ PC for TLU(Trigger Logic Unit) It is supposed to be used only in the DESY beam test. More...
 
class  RawTLUFormat
 The Raw TLU class Class for data from DAQ PC for TLU(Trigger Logic Unit) It is supposed to be used only in the DESY beam test. More...
 
class  RawTOP
 The Raw TOP class Class for RawCOPPER class data taken by TOP Currently, this class is almost same as RawCOPPER class. More...
 
class  RawTrailer_latest
 The Raw Trailer class ver.1 ( the latest version since May, 2014 ) This class defines the format of the trailer of RawCOPPER class data and used for extracting trailer info from RawCOPPER object. More...
 
class  RawTrailer_v0
 The Raw Trailer class ver.0 ( from August, 2013 to April, 2014 ) This class defines the format of the trailer of RawCOPPER class data and used for extracting trailer info from RawCOPPER object. More...
 
class  RawTrailer_v1
 The Raw Trailer class ver.1 ( the latest version since May, 2014 ) This class defines the format of the trailer of RawCOPPER class data and used for extracting trailer info from RawCOPPER object. More...
 
class  RawTrailer_v2
 The Raw Trailer class ver.1 ( the latest version since May, 2014 ) This class defines the format of the trailer of RawCOPPER class data and used for extracting trailer info from RawCOPPER object. More...
 
class  RawTRG
 The Raw TOP class Class for RawCOPPER class data taken by TOP Currently, this class is almost same as RawCOPPER class. More...
 

Functions

virtual int * GetExpRunSubrunBuf (int n) OVERRIDE_CPP17
 get b2l block from "FEE b2link header" More...
 
unsigned int GetDriverChkSum (int n) OVERRIDE_CPP17
 read COPPER driver's checksum value
 
unsigned int GetCOPPERCounter (int n) OVERRIDE_CPP17
 get posistion of COPPER block in unit of word More...
 
unsigned int GetMagicDriverHeader (int n) OVERRIDE_CPP17
 get magic word of COPPER driver header
 
unsigned int GetMagicFPGAHeader (int n) OVERRIDE_CPP17
 get magic word of COPPER FPGA header
 
unsigned int GetMagicFPGATrailer (int n) OVERRIDE_CPP17
 get magic word of COPPER FPGA trailer
 
unsigned int GetMagicDriverTrailer (int n) OVERRIDE_CPP17
 get magic word of COPPER driver trailer
 
unsigned int GetTrailerChksum (int n) OVERRIDE_CPP17
 Get checksum in RawTrailer.
 
int GetEventCRC16Value (int n, int finesse_num) OVERRIDE_CPP17
 Get CRC16 value for an event.
 
int * GetDetectorBuffer (int n, int finesse_num) OVERRIDE_CPP17
 Get a pointer to detector buffer.
 
int GetDetectorNwords (int n, int finesse_num) OVERRIDE_CPP17
 get Detector buffer length
 
bool CheckOnlineRemovedDataBit (int n, int finesse_num) OVERRIDE_CPP17
 check if this channel's data has been removed on a readout PC for CDC online "masking" True : data contents was removed on a readout PC
 
int GetOffset1stFINESSE (int n) OVERRIDE_CPP17
 get # of offset words for FINESSE slot A buffer position
 
int * Get1stDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector buffer of slot A
 
int * Get2ndDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot B
 
int * Get3rdDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot C
 
int * Get4thDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot D
 
virtual int * GetExpRunSubrunBuf (int n) OVERRIDE_CPP17
 get b2l block from "FEE b2link header" More...
 
unsigned int GetDriverChkSum (int n) OVERRIDE_CPP17
 read COPPER driver's checksum value
 
unsigned int GetCOPPERCounter (int n) OVERRIDE_CPP17
 get posistion of COPPER block in unit of word More...
 
unsigned int GetMagicDriverHeader (int n) OVERRIDE_CPP17
 get magic word of COPPER driver header
 
unsigned int GetMagicFPGAHeader (int n) OVERRIDE_CPP17
 get magic word of COPPER FPGA header
 
unsigned int GetMagicFPGATrailer (int n) OVERRIDE_CPP17
 get magic word of COPPER FPGA trailer
 
unsigned int GetMagicDriverTrailer (int n) OVERRIDE_CPP17
 get magic word of COPPER driver trailer
 
unsigned int GetTrailerChksum (int n) OVERRIDE_CPP17
 Get checksum in RawTrailer.
 
int GetOffset1stFINESSE (int n) OVERRIDE_CPP17
 get # of offset words for FINESSE slot A buffer position
 
int * Get1stDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector buffer of slot A
 
int * Get2ndDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot B
 
int * Get3rdDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot C
 
int * Get4thDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot D
 
virtual int * GetExpRunSubrunBuf (int n) OVERRIDE_CPP17
 get b2l block from "FEE b2link header" More...
 
unsigned int GetDriverChkSum (int n) OVERRIDE_CPP17
 read COPPER driver's checksum value
 
unsigned int GetCOPPERCounter (int n) OVERRIDE_CPP17
 get posistion of COPPER block in unit of word More...
 
unsigned int GetMagicDriverHeader (int n) OVERRIDE_CPP17
 get magic word of COPPER driver header
 
unsigned int GetMagicFPGAHeader (int n) OVERRIDE_CPP17
 get magic word of COPPER FPGA header
 
unsigned int GetMagicFPGATrailer (int n) OVERRIDE_CPP17
 get magic word of COPPER FPGA trailer
 
unsigned int GetMagicDriverTrailer (int n) OVERRIDE_CPP17
 get magic word of COPPER driver trailer
 
unsigned int GetTrailerChksum (int n) OVERRIDE_CPP17
 Get checksum in RawTrailer.
 
int GetEventCRC16Value (int n, int finesse_num) OVERRIDE_CPP17
 Get CRC16 value for an event.
 
virtual int * GetExpRunSubrunBuf (int n) OVERRIDE_CPP17
 get b2l block from "FEE b2link header" More...
 
unsigned int GetMagicDriverHeader (int n) OVERRIDE_CPP17
 get magic word of COPPER driver header
 
unsigned int GetMagicFPGAHeader (int n) OVERRIDE_CPP17
 get magic word of COPPER FPGA header
 
unsigned int GetMagicFPGATrailer (int n) OVERRIDE_CPP17
 get magic word of COPPER FPGA trailer
 
unsigned int GetMagicDriverTrailer (int n) OVERRIDE_CPP17
 get magic word of COPPER driver trailer
 
unsigned int GetDriverChkSum (int n) OVERRIDE_CPP17
 read COPPER driver's checksum value
 
unsigned int GetCOPPERCounter (int n) OVERRIDE_CPP17
 get posistion of COPPER block in unit of word More...
 
unsigned int GetTrailerChksum (int n) OVERRIDE_CPP17
 get a checksum on trailer
 
int * GetDetectorBuffer (int n, int finesse_num) OVERRIDE_CPP17
 Get a pointer to detector buffer.
 
int GetDetectorNwords (int n, int finesse_num) OVERRIDE_CPP17
 get Detector buffer length
 
bool CheckOnlineRemovedDataBit (int n, int finesse_num) OVERRIDE_CPP17
 check if this channel's data has been removed on a readout PC for CDC online "masking" True : data contents was removed on a readout PC
 
int GetOffset1stFINESSE (int n) OVERRIDE_CPP17
 get # of offset words for FINESSE slot A buffer position
 
int * Get1stDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector buffer of slot A
 
int * Get2ndDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot B
 
int * Get3rdDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot C
 
int * Get4thDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot D
 
virtual int * GetExpRunSubrunBuf (int n) OVERRIDE_CPP17
 get b2l block from "FEE b2link header" More...
 
unsigned int GetMagicDriverHeader (int n) OVERRIDE_CPP17
 get magic word of COPPER driver header
 
unsigned int GetMagicFPGAHeader (int n) OVERRIDE_CPP17
 get magic word of COPPER FPGA header
 
unsigned int GetMagicFPGATrailer (int n) OVERRIDE_CPP17
 get magic word of COPPER FPGA trailer
 
unsigned int GetMagicDriverTrailer (int n) OVERRIDE_CPP17
 get magic word of COPPER driver trailer
 
unsigned int GetDriverChkSum (int n) OVERRIDE_CPP17
 read COPPER driver's checksum value
 
unsigned int GetCOPPERCounter (int n) OVERRIDE_CPP17
 get posistion of COPPER block in unit of word More...
 
unsigned int GetTrailerChksum (int n) OVERRIDE_CPP17
 get a checksum on trailer
 
int GetOffset1stFINESSE (int n) OVERRIDE_CPP17
 get # of offset words for FINESSE slot A buffer position
 
int * Get1stDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector buffer of slot A
 
int * Get2ndDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot B
 
int * Get3rdDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot C
 
int * Get4thDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot D
 
virtual int * GetExpRunSubrunBuf (int n) OVERRIDE_CPP17
 get b2l block from "FEE b2link header" More...
 
unsigned int GetMagicDriverHeader (int n) OVERRIDE_CPP17
 get magic word of COPPER driver header
 
unsigned int GetMagicFPGAHeader (int n) OVERRIDE_CPP17
 get magic word of COPPER FPGA header
 
unsigned int GetMagicFPGATrailer (int n) OVERRIDE_CPP17
 get magic word of COPPER FPGA trailer
 
unsigned int GetMagicDriverTrailer (int n) OVERRIDE_CPP17
 get magic word of COPPER driver trailer
 
unsigned int GetDriverChkSum (int n) OVERRIDE_CPP17
 read COPPER driver's checksum value
 
unsigned int GetCOPPERCounter (int n) OVERRIDE_CPP17
 get posistion of COPPER block in unit of word More...
 
unsigned int GetTrailerChksum (int n) OVERRIDE_CPP17
 get a checksum on trailer
 
virtual int * GetRawHdrBufPtr (int n)
 get buffer pointer of rawcopper header(Currently same as GetBufferPos)
 
virtual int * GetRawTrlBufPtr (int n)
 get buffer pointer of rawcopper trailer
 
unsigned int GetDriverChkSum (int n)
 read COPPER driver's checksum value
 
int GetExpNo (int n)
 get Experimental # from header
 
unsigned int GetExpRunSubrun (int n)
 get Experimental # from header
 
int GetRunNo (int n)
 Exp# (10bit) run# (14bit) restart # (8bit)
 
int GetSubRunNo (int n)
 get run # (14bit)
 
unsigned int GetEveNo (int n)
 get subrun #(8bit)
 
unsigned int GetNodeID (int n)
 get node-ID from data
 
int GetDataType (int n)
 get contents of header
 
int GetTruncMask (int n)
 get contents of header
 
unsigned int GetErrorBitFlag (int n)
 get contents of header More...
 
void AddErrorBitFlag (int n, unsigned int error_bit_flag)
 Get Detected Error bitflag.
 
int GetPacketCRCError (int n)
 check CRC packet Error
 
int GetEventCRCError (int n)
 check CRC event Error
 
int GetEventCRC16Value (int n, int finesse_num)
 Get Event CRC16 value.
 
virtual unsigned int GetCOPPERCounter (int n)
 get COPPER counter(not event number)
 
int Get1stDetectorNwords (int n)
 get Detector buffer length of slot A
 
int Get2ndDetectorNwords (int n)
 get Detector buffer length of slot B
 
int Get3rdDetectorNwords (int n)
 get Detector buffer length of slot C
 
int Get4thDetectorNwords (int n)
 get Detector buffer length of slot D
 
int Get1stFINESSENwords (int n)
 get data size of FINESSE slot A buffer
 
int Get2ndFINESSENwords (int n)
 get data size of FINESSE slot B buffer
 
int Get3rdFINESSENwords (int n)
 get data size of FINESSE slot C buffer
 
int Get4thFINESSENwords (int n)
 get data size of FINESSE slot D buffer
 
int GetOffset1stFINESSE (int n)
 get # of offset words for FINESSE slot A buffer position
 
int GetOffset2ndFINESSE (int n)
 get # of offset words for FINESSE slot B buffer position
 
int GetOffset3rdFINESSE (int n)
 get # of offset words for FINESSE slot C buffer position
 
int GetOffset4thFINESSE (int n)
 get # of offset words for FINESSE slot D buffer position
 
int * Get1stFINESSEBuffer (int n)
 get FINESSE buffer pointer for slot A
 
int * Get2ndFINESSEBuffer (int n)
 get FINESSE buffer pointer for slot B
 
int * Get3rdFINESSEBuffer (int n)
 get FINESSE buffer pointer for slot C
 
int * Get4thFINESSEBuffer (int n)
 get FINESSE buffer pointer for slot D
 
int * Get1stDetectorBuffer (int n)
 get Detector buffer of slot A
 
int * Get2ndDetectorBuffer (int n)
 get Detector Buffer of slot B
 
int * Get3rdDetectorBuffer (int n)
 get Detector Buffer of slot C
 
int * Get4thDetectorBuffer (int n)
 get Detector Buffer of slot D
 
virtual int * GetExpRunSubrunBuf (int n)
 get b2l block from "FEE b2link header" More...
 
unsigned int GetMagicDriverHeader (int n)
 get magic word of COPPER driver header
 
unsigned int GetMagicFPGAHeader (int n)
 get magic word of COPPER FPGA header
 
unsigned int GetMagicFPGATrailer (int n)
 get magic word of COPPER FPGA trailer
 
unsigned int GetMagicDriverTrailer (int n)
 get magic word of COPPER driver trailer
 
unsigned int GetTrailerChksum (int n)
 Get checksum in RawTrailer.
 
unsigned int GetTTCtimeTRGType (int n)
 Check if COPPER Magic words are correct.
 
unsigned int GetTTUtime (int n)
 Check if COPPER Magic words are correct.
 
int GetTTCtime (int n)
 Get ctime.
 
int GetTRGType (int n)
 Get trgtype.
 
void GetTTTimeVal (int n, struct timeval *tv)
 Get timeval.
 
virtual int GetBufferPos (int n) OVERRIDE_CPP17
 get posistion of COPPER block in unit of word
 
unsigned int CalcDriverChkSum (int n)
 calc COPPER driver's checksum value
 
virtual int GetNumFINESSEBlock (int n)
 get # of FINNESEs which contains data
 
int GetDetectorNwords (int n, int finesse_num)
 get Detector buffer length
 
int GetFINESSENwords (int n, int finesse)
 get data size of FINESSE buffer
 
int GetOffsetFINESSE (int n, int finesse)
 get # of offset words
 
int * GetFINESSEBuffer (int n, int finesse_num)
 get FINESSE buffer pointer
 
int * GetDetectorBuffer (int n, int finesse_num)
 get Detector buffer
 
virtual unsigned int GetB2LFEE32bitEventNumber (int n)
 get b2l block from "FEE b2link header"
 
unsigned int CalcXORChecksum (int *buf, int nwords)
 calc XOR checksum
 
void CheckData (int n, unsigned int prev_evenum, unsigned int *cur_evenum, unsigned int prev_copper_ctr, unsigned int *cur_copper_ctr, unsigned int prev_exprunsubrun_no, unsigned int *cur_exprunsubrun_no)
 check data contents
 
bool CheckCOPPERMagic (int n)
 Check if COPPER Magic words are correct.
 
void CheckUtimeCtimeTRGType (int n)
 check data contents
 
unsigned int FillTopBlockRawHeader (unsigned int m_node_id, unsigned int prev_eve32, unsigned int prev_exprunsubrun_no, unsigned int *cur_exprunsubrun_no)
 should be called by DeSerializerCOPPER.cc and fill contents in RawHeader
 
void CheckVersionSetBuffer ()
 Check the version number of data format.
 
int GetMaxNumOfCh (int n)
 Get the max number of channels in a readout board.
 
bool CheckOnlineRemovedDataBit (int n, int finesse_num)
 check if this channel's data has been removed on a readout PC for CDC online "masking"
 
virtual int * GetRawHdrBufPtr (int n)
 get buffer pointer of rawcopper header(Currently same as GetBufferPos)
 
virtual int GetOffset2ndFINESSE (int n)
 get # of offset words for FINESSE slot B buffer position
 
virtual int GetOffset3rdFINESSE (int n)
 get # of offset words for FINESSE slot C buffer position
 
virtual int GetOffset4thFINESSE (int n)
 get # of offset words for FINESSE slot D buffer position
 
virtual int * Get1stFINESSEBuffer (int n)
 get FINESSE buffer pointer for slot A
 
virtual int * Get2ndFINESSEBuffer (int n)
 get FINESSE buffer pointer for slot B
 
virtual int * Get3rdFINESSEBuffer (int n)
 get FINESSE buffer pointer for slot C
 
virtual int * Get4thFINESSEBuffer (int n)
 get FINESSE buffer pointer for slot D
 
int * GetRawTrlBufPtr (int n) OVERRIDE_CPP17
 get buffer pointer of rawcopper trailer
 
int GetExpNo (int n) OVERRIDE_CPP17
 get Experimental # from header
 
unsigned int GetExpRunSubrun (int n) OVERRIDE_CPP17
 get Experimental # from header
 
int GetRunNo (int n) OVERRIDE_CPP17
 Exp# (10bit) run# (14bit) restart # (8bit)
 
int GetSubRunNo (int n) OVERRIDE_CPP17
 get run # (14bit)
 
unsigned int GetEveNo (int n) OVERRIDE_CPP17
 get subrun #(8bit)
 
unsigned int GetNodeID (int n) OVERRIDE_CPP17
 get node-ID from data
 
int GetDataType (int n) OVERRIDE_CPP17
 get contents of header
 
int GetTruncMask (int n) OVERRIDE_CPP17
 get contents of header
 
unsigned int GetErrorBitFlag (int n) OVERRIDE_CPP17
 get contents of header More...
 
void AddErrorBitFlag (int n, unsigned int error_bit_flag) OVERRIDE_CPP17
 Add Detected Error bitflag.
 
int GetPacketCRCError (int n) OVERRIDE_CPP17
 check CRC packet Error
 
int GetEventCRCError (int n) OVERRIDE_CPP17
 check CRC event Error
 
unsigned int GetTTCtimeTRGType (int n) OVERRIDE_CPP17
 get b2l block from "FEE b2link header" More...
 
unsigned int GetTTUtime (int n) OVERRIDE_CPP17
 Check if COPPER Magic words are correct.
 
int GetTTCtime (int n) OVERRIDE_CPP17
 Get ctime.
 
int GetTRGType (int n) OVERRIDE_CPP17
 Get trgtype.
 
void GetTTTimeVal (int n, struct timeval *tv) OVERRIDE_CPP17
 Get timeval.
 
int GetMaxNumOfCh (int n) OVERRIDE_CPP17
 Get the max number of channels in a readout board.
 
int GetFINESSENwords (int n, int finesse_num) OVERRIDE_CPP17
 Get the size of a finesse buffer.
 
int * GetFINESSEBuffer (int n, int finesse_num) OVERRIDE_CPP17
 Get a pointer to a FINESSE buffer.
 
virtual int * GetRawTrlBufPtr (int n) OVERRIDE_CPP17
 get buffer pointer of rawcopper trailer
 
unsigned int GetDriverChkSum (int n) OVERRIDE_CPP17
 read COPPER driver's checksum value
 
int GetExpNo (int n) OVERRIDE_CPP17
 get Experimental # from header
 
unsigned int GetExpRunSubrun (int n) OVERRIDE_CPP17
 get Experimental # from header
 
int GetRunNo (int n) OVERRIDE_CPP17
 Exp# (10bit) run# (14bit) restart # (8bit)
 
int GetSubRunNo (int n) OVERRIDE_CPP17
 get run # (14bit)
 
unsigned int GetEveNo (int n) OVERRIDE_CPP17
 get subrun #(8bit)
 
unsigned int GetNodeID (int n) OVERRIDE_CPP17
 get node-ID from data
 
int GetDataType (int n) OVERRIDE_CPP17
 get contents of header
 
int GetTruncMask (int n) OVERRIDE_CPP17
 get contents of header
 
unsigned int GetErrorBitFlag (int n) OVERRIDE_CPP17
 get contents of header More...
 
void AddErrorBitFlag (int n, unsigned int error_bit_flag) OVERRIDE_CPP17
 Add Detected Error bitflag.
 
virtual unsigned int GetCOPPERCounter (int n) OVERRIDE_CPP17
 get COPPER counter(not event number)
 
int Get1stDetectorNwords (int n) OVERRIDE_CPP17
 get Detector buffer length of slot A
 
int Get2ndDetectorNwords (int n) OVERRIDE_CPP17
 get Detector buffer length of slot B
 
int Get3rdDetectorNwords (int n) OVERRIDE_CPP17
 get Detector buffer length of slot C
 
int Get4thDetectorNwords (int n) OVERRIDE_CPP17
 get Detector buffer length of slot D
 
int Get1stFINESSENwords (int n) OVERRIDE_CPP17
 get data size of FINESSE slot A buffer
 
int Get2ndFINESSENwords (int n) OVERRIDE_CPP17
 get data size of FINESSE slot B buffer
 
int Get3rdFINESSENwords (int n) OVERRIDE_CPP17
 get data size of FINESSE slot C buffer
 
int Get4thFINESSENwords (int n) OVERRIDE_CPP17
 get data size of FINESSE slot D buffer
 
int GetOffset1stFINESSE (int n) OVERRIDE_CPP17
 get # of offset words for FINESSE slot A buffer position
 
int * Get1stDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector buffer of slot A
 
int * Get2ndDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot B
 
int * Get3rdDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot C
 
int * Get4thDetectorBuffer (int n) OVERRIDE_CPP17
 get Detector Buffer of slot D
 
virtual int * GetExpRunSubrunBuf (int n) OVERRIDE_CPP17
 get b2l block from "FEE b2link header" More...
 
unsigned int GetMagicDriverHeader (int n) OVERRIDE_CPP17
 get magic word of COPPER driver header
 
unsigned int GetMagicFPGAHeader (int n) OVERRIDE_CPP17
 get magic word of COPPER FPGA header
 
unsigned int GetMagicFPGATrailer (int n) OVERRIDE_CPP17
 get magic word of COPPER FPGA trailer
 
unsigned int GetMagicDriverTrailer (int n) OVERRIDE_CPP17
 get magic word of COPPER driver trailer
 
unsigned int GetTrailerChksum (int n) OVERRIDE_CPP17
 Get checksum in RawTrailer.
 
unsigned int GetTTCtimeTRGType (int n) OVERRIDE_CPP17
 Check if COPPER Magic words are correct.
 
unsigned int GetTTUtime (int n) OVERRIDE_CPP17
 Check if COPPER Magic words are correct.
 
int GetTTCtime (int n) OVERRIDE_CPP17
 Get ctime.
 
int GetTRGType (int n) OVERRIDE_CPP17
 Get trgtype.
 
void GetTTTimeVal (int n, struct timeval *tv) OVERRIDE_CPP17
 Get timeval.
 
int GetMaxNumOfCh (int n) OVERRIDE_CPP17
 Get the max number of channels in a readout board.
 
int * GetRawTrlBufPtr (int n) OVERRIDE_CPP17
 get buffer pointer of rawcopper trailer
 
int GetExpNo (int n) OVERRIDE_CPP17
 get Experimental # from header
 
unsigned int GetExpRunSubrun (int n) OVERRIDE_CPP17
 get Experimental # from header
 
int GetRunNo (int n) OVERRIDE_CPP17
 Exp# (10bit) run# (14bit) restart # (8bit)
 
int GetSubRunNo (int n) OVERRIDE_CPP17
 get run # (14bit)
 
unsigned int GetEveNo (int n) OVERRIDE_CPP17
 get subrun #(8bit)
 
unsigned int GetNodeID (int n) OVERRIDE_CPP17
 get node-ID from data
 
int GetDataType (int n) OVERRIDE_CPP17
 get contents of header
 
int GetTruncMask (int n) OVERRIDE_CPP17
 get contents of header
 
unsigned int GetErrorBitFlag (int n) OVERRIDE_CPP17
 get contents of header More...
 
void AddErrorBitFlag (int n, unsigned int error_bit_flag) OVERRIDE_CPP17
 Add Detected Error bitflag.
 
int Get1stDetectorNwords (int n) OVERRIDE_CPP17
 get Detector buffer length of slot A
 
int Get2ndDetectorNwords (int n) OVERRIDE_CPP17
 get Detector buffer length of slot B
 
int Get3rdDetectorNwords (int n) OVERRIDE_CPP17
 get Detector buffer length of slot C
 
int Get4thDetectorNwords (int n) OVERRIDE_CPP17
 get Detector buffer length of slot D
 
int Get1stFINESSENwords (int n) OVERRIDE_CPP17
 get data size of FINESSE slot A buffer
 
int Get2ndFINESSENwords (int n) OVERRIDE_CPP17
 get data size of FINESSE slot B buffer
 
int Get3rdFINESSENwords (int n) OVERRIDE_CPP17
 get data size of FINESSE slot C buffer
 
int Get4thFINESSENwords (int n) OVERRIDE_CPP17
 get data size of FINESSE slot D buffer
 
unsigned int GetTTCtimeTRGType (int n) OVERRIDE_CPP17
 get b2l block from "FEE b2link header" More...
 
unsigned int GetTTUtime (int n) OVERRIDE_CPP17
 Check if COPPER Magic words are correct.
 
int GetTTCtime (int n) OVERRIDE_CPP17
 Get ctime.
 
int GetTRGType (int n) OVERRIDE_CPP17
 Get trgtype.
 
void GetTTTimeVal (int n, struct timeval *tv) OVERRIDE_CPP17
 Get timeval.
 
int GetMaxNumOfCh (int n) OVERRIDE_CPP17
 Get the max number of channels in a readout board.
 
int * GetRawTrlBufPtr (int n) OVERRIDE_CPP17
 get buffer pointer of rawcopper trailer
 
int GetExpNo (int n) OVERRIDE_CPP17
 get Experimental # from header
 
unsigned int GetExpRunSubrun (int n) OVERRIDE_CPP17
 get Experimental # from header
 
int GetRunNo (int n) OVERRIDE_CPP17
 Exp# (10bit) run# (14bit) restart # (8bit)
 
int GetSubRunNo (int n) OVERRIDE_CPP17
 get run # (14bit)
 
unsigned int GetEveNo (int n) OVERRIDE_CPP17
 get subrun #(8bit)
 
unsigned int GetNodeID (int n) OVERRIDE_CPP17
 get node-ID from data
 
int GetDataType (int n) OVERRIDE_CPP17
 get contents of header
 
int GetTruncMask (int n) OVERRIDE_CPP17
 get contents of header
 
unsigned int GetErrorBitFlag (int n) OVERRIDE_CPP17
 get contents of header More...
 
void AddErrorBitFlag (int n, unsigned int error_bit_flag) OVERRIDE_CPP17
 Add Detected Error bitflag.
 
int GetPacketCRCError (int n) OVERRIDE_CPP17
 check CRC packet Error
 
int GetEventCRCError (int n) OVERRIDE_CPP17
 check CRC event Error
 
int Get1stDetectorNwords (int n) OVERRIDE_CPP17
 get Detector buffer length of slot A
 
int Get2ndDetectorNwords (int n) OVERRIDE_CPP17
 get Detector buffer length of slot B
 
int Get3rdDetectorNwords (int n) OVERRIDE_CPP17
 get Detector buffer length of slot C
 
int Get4thDetectorNwords (int n) OVERRIDE_CPP17
 get Detector buffer length of slot D
 
int Get1stFINESSENwords (int n) OVERRIDE_CPP17
 get data size of FINESSE slot A buffer
 
int Get2ndFINESSENwords (int n) OVERRIDE_CPP17
 get data size of FINESSE slot B buffer
 
int Get3rdFINESSENwords (int n) OVERRIDE_CPP17
 get data size of FINESSE slot C buffer
 
int Get4thFINESSENwords (int n) OVERRIDE_CPP17
 get data size of FINESSE slot D buffer
 
unsigned int GetTTCtimeTRGType (int n) OVERRIDE_CPP17
 get b2l block from "FEE b2link header" More...
 
unsigned int GetTTUtime (int n) OVERRIDE_CPP17
 Check if COPPER Magic words are correct.
 
int GetTTCtime (int n) OVERRIDE_CPP17
 Get ctime.
 
int GetTRGType (int n) OVERRIDE_CPP17
 Get trgtype.
 
void GetTTTimeVal (int n, struct timeval *tv) OVERRIDE_CPP17
 Get timeval.
 
int GetMaxNumOfCh (int n) OVERRIDE_CPP17
 Get the max number of channels in a readout board.
 
void CheckVersionSetBuffer ()
 Check the version number of data format.
 
unsigned int GetExpRunSubrun (int n) OVERRIDE_CPP17
 Exp# (10bit) run# (14bit) restart # (8bit)
 
int GetRunNo (int n) OVERRIDE_CPP17
 Get run #.
 
int GetSubRunNo (int n) OVERRIDE_CPP17
 Get subrun #.
 
int GetRunNoSubRunNo (int n) OVERRIDE_CPP17
 get a word cotaining run # and subrun #
 
int GetExpNo (int n) OVERRIDE_CPP17
 Get Exp #.
 
unsigned int GetExpRunSubrun (int n) OVERRIDE_CPP17
 Exp# (10bit) run# (14bit) restart # (8bit)
 
int GetRunNo (int n) OVERRIDE_CPP17
 Get run #.
 
int GetSubRunNo (int n) OVERRIDE_CPP17
 Get subrun #.
 
int GetRunNoSubRunNo (int n) OVERRIDE_CPP17
 get a word cotaining run # and subrun #
 
int GetExpNo (int n) OVERRIDE_CPP17
 Get Exp #.
 
unsigned int GetExpRunSubrun (int n) OVERRIDE_CPP17
 Exp# (10bit) run# (14bit) restart # (8bit)
 
int GetRunNo (int n) OVERRIDE_CPP17
 Get run #.
 
int GetSubRunNo (int n) OVERRIDE_CPP17
 Get subrun #.
 
int GetRunNoSubRunNo (int n) OVERRIDE_CPP17
 get a word cotaining run # and subrun #
 
int GetExpNo (int n) OVERRIDE_CPP17
 Get Exp #.
 
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 #.
 
int GetNwords ()
 set contents of header More...
 
int GetHdrNwords ()
 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 GetExpRunSubrun ()
 get contents of header
 
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 GetPacketCRCError ()
 Get Packet CRC error flag.
 
int GetEventCRCError ()
 Get Detected Error bitflag.
 
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 CheckSetBuffer ()
 initialize header
 
void CheckGetBuffer ()
 check if m_buffer exists
 
void Initialize ()
 initialize header
 
void SetMagicWordEntireHeader ()
 set contents of 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 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 SetFTSW2Words (unsigned int word1, unsigned int word2)
 set contents of header More...
 
void SetExpRunNumber (int *exprun_buf)
 Set a word consists of exp #, run # and subrun #.
 
int GetNwords ()
 get contents of header
 
int GetHdrNwords ()
 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 GetExpRunSubrun ()
 get contents of header
 
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
 
int GetNumNodes ()
 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.
 
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 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 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 #.
 
int GetNwords ()
 set contents of header More...
 
int GetHdrNwords ()
 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 GetExpRunSubrun ()
 get contents of header
 
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 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 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 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 #.
 
int GetNwords ()
 set contents of header More...
 
int GetHdrNwords ()
 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 GetExpRunSubrun ()
 get contents of header
 
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 GetPacketCRCError ()
 Get Packet CRC error flag.
 
int GetEventCRCError ()
 Get 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 CheckBuffer ()
 set buffer
 
int * GetBuffer ()
 set buffer
 
void SetBuffer (int *bufin)
 return buffer
 
void Initialize ()
 set buffer
 
void SetChksum (int chksum)
 set buffer
 
void SetMagicWord ()
 initialize header
 
int GetMagicWord ()
 initialize header
 
unsigned int GetChksum ()
 Set # of trailer words.
 
int GetTrlNwords ()
 Set magic word.
 
void CheckBuffer ()
 Destructor.
 
int * GetBuffer ()
 set buffer
 
void SetBuffer (int *bufin)
 return buffer
 
void Initialize ()
 set buffer
 
void SetChksum (int chksum)
 set buffer
 
void SetMagicWord ()
 initialize header
 
int GetMagicWord ()
 initialize header
 
unsigned int GetChksum ()
 Set # of trailer words.
 
int GetTrlNwords ()
 Set magic word.
 
void CheckBuffer ()
 set buffer
 
int * GetBuffer ()
 set buffer
 
void SetBuffer (int *bufin)
 return buffer
 
void Initialize ()
 set buffer
 
void SetChksum (int chksum)
 set buffer
 
void SetMagicWord ()
 initialize header
 
int GetMagicWord ()
 initialize header
 
unsigned int GetChksum ()
 Set # of trailer words.
 
int GetTrlNwords ()
 Set magic word.
 
void CheckBuffer ()
 set buffer
 
int * GetBuffer ()
 set buffer
 
void SetBuffer (int *bufin)
 return buffer
 
void Initialize ()
 set buffer
 
void SetChksum (int chksum)
 set buffer
 
void SetMagicWord ()
 initialize header
 
int GetMagicWord ()
 initialize header
 
unsigned int GetChksum ()
 Set # of trailer words.
 
int GetTrlNwords ()
 Set magic word.
 

Detailed Description

Function Documentation

◆ GetCOPPERCounter() [1/6]

unsigned int GetCOPPERCounter ( int  n)
inlinevirtual

get posistion of COPPER block in unit of word

get COPPER counter(not event number)

Implements RawCOPPERFormat.

Definition at line 225 of file PostRawCOPPERFormat_latest.h.

226  {
227  char err_buf[500];
228  sprintf(err_buf, "[FATAL] This data format does not have COPPER counter.(block %d) Exiting...\n %s %s %d\n",
229  n, __FILE__, __PRETTY_FUNCTION__, __LINE__);
230  printf("%s", err_buf);
231  std::string err_str = err_buf; throw (err_str);
232  return 0;
233  }

◆ GetCOPPERCounter() [2/6]

unsigned int GetCOPPERCounter ( int  n)
inlinevirtual

get posistion of COPPER block in unit of word

get COPPER counter(not event number)

Implements RawCOPPERFormat.

Definition at line 296 of file PostRawCOPPERFormat_v1.h.

297  {
298  char err_buf[500];
299  sprintf(err_buf, "This data format does not have COPPER counter.(block %d) Exiting...\n %s %s %d\n",
300  n, __FILE__, __PRETTY_FUNCTION__, __LINE__);
301  std::string err_str = err_buf; throw (err_str);
302  return 0;
303  }

◆ GetCOPPERCounter() [3/6]

unsigned int GetCOPPERCounter ( int  n)
inlinevirtual

get posistion of COPPER block in unit of word

get COPPER counter(not event number)

Implements RawCOPPERFormat.

Definition at line 305 of file PostRawCOPPERFormat_v2.h.

306  {
307  char err_buf[500];
308  sprintf(err_buf, "[FATAL] This data format does not have COPPER counter.(block %d) Exiting...\n %s %s %d\n",
309  n, __FILE__, __PRETTY_FUNCTION__, __LINE__);
310  printf("%s", err_buf);
311  std::string err_str = err_buf; throw (err_str);
312  return 0;
313  }

◆ GetCOPPERCounter() [4/6]

unsigned int GetCOPPERCounter ( int  n)
inlinevirtual

get posistion of COPPER block in unit of word

get COPPER counter(not event number)

Implements RawCOPPERFormat.

Definition at line 287 of file PreRawCOPPERFormat_latest.h.

288  {
289  char err_buf[500];
290  sprintf(err_buf, "[FATAL] This function is not supported. Exiting...: \n%s %s %d\n",
291  __FILE__, __PRETTY_FUNCTION__, __LINE__);
292  printf("[DEBUG] %s\n", err_buf);
293  B2FATAL(err_buf);
294  return 0;
295  }

◆ GetCOPPERCounter() [5/6]

unsigned int GetCOPPERCounter ( int  n)
inlinevirtual

get posistion of COPPER block in unit of word

get COPPER counter(not event number)

Implements RawCOPPERFormat.

Definition at line 399 of file PreRawCOPPERFormat_v1.h.

400  {
401  int pos_nwords = GetBufferPos(n) + POS_EVE_NUM_COPPER + tmp_header.RAWHEADER_NWORDS;
402  return (unsigned int)(m_buffer[ pos_nwords ]);
403  }
RawHeader_v1 tmp_header
header ( not recorded )
virtual int GetBufferPos(int n)
get position of data block in word

◆ GetCOPPERCounter() [6/6]

unsigned int GetCOPPERCounter ( int  n)
inlinevirtual

get posistion of COPPER block in unit of word

get COPPER counter(not event number)

Implements RawCOPPERFormat.

Definition at line 399 of file PreRawCOPPERFormat_v2.h.

400  {
401  int pos_nwords = GetBufferPos(n) + POS_EVE_NUM_COPPER + tmp_header.RAWHEADER_NWORDS;
402  return (unsigned int)(m_buffer[ pos_nwords ]);
403  }
RawHeader_v2 tmp_header
header ( not recorded )

◆ GetErrorBitFlag() [1/9]

unsigned int GetErrorBitFlag ( )
inline

get contents of header

Get Detected Error bitflag

Definition at line 379 of file RawHeader_latest.h.

380  {
381  CheckGetBuffer();
382  return (unsigned int)(m_buffer[ POS_TRUNC_MASK_DATATYPE ]);
383  }
int * m_buffer
do not record buffer ( RawCOPPER includes buffer of RawHeader_latest and RawTrailer )
void CheckGetBuffer()
check if m_buffer exists

◆ GetErrorBitFlag() [2/9]

unsigned int GetErrorBitFlag ( )
inline

get contents of header

Get Detected Error bitflag

Definition at line 426 of file RawHeader_v0.h.

427  {
428  CheckGetBuffer();
429  return (unsigned int)(m_buffer[ POS_TRUNC_MASK_DATATYPE ]);
430  }
int * m_buffer
do not record buffer ( RawCOPPER includes buffer of RawHeader_v0 and RawTrailer )
Definition: RawHeader_v0.h:222

◆ GetErrorBitFlag() [3/9]

unsigned int GetErrorBitFlag ( )
inline

get contents of header

Get Detected Error bitflag

Definition at line 405 of file RawHeader_v1.h.

406  {
407  CheckGetBuffer();
408  return (unsigned int)(m_buffer[ POS_TRUNC_MASK_DATATYPE ]);
409  }
int * m_buffer
do not record buffer ( RawCOPPER includes buffer of RawHeader_v1 and RawTrailer )
Definition: RawHeader_v1.h:219

◆ GetErrorBitFlag() [4/9]

unsigned int GetErrorBitFlag ( )
inline

get contents of header

Get Detected Error bitflag

Definition at line 420 of file RawHeader_v2.h.

421  {
422  CheckGetBuffer();
423  return (unsigned int)(m_buffer[ POS_TRUNC_MASK_DATATYPE ]);
424  }
int * m_buffer
do not record buffer ( RawCOPPER includes buffer of RawHeader_v2 and RawTrailer )
Definition: RawHeader_v2.h:236

◆ GetErrorBitFlag() [5/9]

unsigned int GetErrorBitFlag ( int  n)
inline

get contents of header

Get Detected Error bitflag

Definition at line 416 of file RawCOPPER.h.

417  {
419  return m_access->GetErrorBitFlag(n);
420  }
virtual unsigned int GetErrorBitFlag(int n)=0
get contents of header
RawCOPPERFormat * m_access
class to access
Definition: RawCOPPER.h:333
void CheckVersionSetBuffer()
Check the version number of data format.
Definition: RawCOPPER.h:741

◆ GetErrorBitFlag() [6/9]

unsigned int GetErrorBitFlag ( int  n)
inlinevirtual

get contents of header

Get Detected Error bitflag

Implements RawCOPPERFormat.

Definition at line 338 of file RawCOPPERFormat_latest.h.

339  {
341  return tmp_header.GetErrorBitFlag();
342  }
RawHeader_latest tmp_header
header ( not recorded )
virtual int * GetBuffer(int n)
get nth buffer pointer
void SetBuffer(int *bufin)
set buffer
unsigned int GetErrorBitFlag()
get contents of header

◆ GetErrorBitFlag() [7/9]

unsigned int GetErrorBitFlag ( int  n)
inlinevirtual

get contents of header

Get Detected Error bitflag

Implements RawCOPPERFormat.

Definition at line 451 of file RawCOPPERFormat_v0.h.

452  {
454  return tmp_header.GetErrorBitFlag();
455  }
RawHeader_v0 tmp_header
header ( not recorded )
void SetBuffer(int *bufin)
set buffer
Definition: RawHeader_v0.h:49

◆ GetErrorBitFlag() [8/9]

unsigned int GetErrorBitFlag ( int  n)
inlinevirtual

get contents of header

Get Detected Error bitflag

Implements RawCOPPERFormat.

Definition at line 259 of file RawCOPPERFormat_v1.h.

260  {
262  return tmp_header.GetErrorBitFlag();
263  }
void SetBuffer(int *bufin)
set buffer
Definition: RawHeader_v1.h:47

◆ GetErrorBitFlag() [9/9]

unsigned int GetErrorBitFlag ( int  n)
inlinevirtual

get contents of header

Get Detected Error bitflag

Implements RawCOPPERFormat.

Definition at line 270 of file RawCOPPERFormat_v2.h.

271  {
273  return tmp_header.GetErrorBitFlag();
274  }
void SetBuffer(int *bufin)
set buffer
Definition: RawHeader_v2.h:47

◆ GetExpRunSubrunBuf() [1/8]

int * GetExpRunSubrunBuf ( int  n)
inlinevirtual

get b2l block from "FEE b2link header"

get b2l block from "FEE b2link header"

Definition at line 572 of file RawCOPPER.h.

◆ GetExpRunSubrunBuf() [2/8]

int * GetExpRunSubrunBuf ( int  n)
inlinevirtual

get b2l block from "FEE b2link header"

get b2l block from "FEE b2link header"

Implements RawCOPPERFormat.

Definition at line 206 of file PostRawCOPPERFormat_latest.h.

◆ GetExpRunSubrunBuf() [3/8]

int * GetExpRunSubrunBuf ( int  n)
inlinevirtual

get b2l block from "FEE b2link header"

get b2l block from "FEE b2link header"

Implements RawCOPPERFormat.

Definition at line 277 of file PostRawCOPPERFormat_v1.h.

◆ GetExpRunSubrunBuf() [4/8]

int * GetExpRunSubrunBuf ( int  n)
inlinevirtual

get b2l block from "FEE b2link header"

get b2l block from "FEE b2link header"

Implements RawCOPPERFormat.

Definition at line 286 of file PostRawCOPPERFormat_v2.h.

◆ GetExpRunSubrunBuf() [5/8]

int * GetExpRunSubrunBuf ( int  n)
inlinevirtual

get b2l block from "FEE b2link header"

get b2l block from "FEE b2link header"

Implements RawCOPPERFormat.

Definition at line 232 of file PreRawCOPPERFormat_latest.h.

◆ GetExpRunSubrunBuf() [6/8]

int * GetExpRunSubrunBuf ( int  n)
inlinevirtual

get b2l block from "FEE b2link header"

get b2l block from "FEE b2link header"

Implements RawCOPPERFormat.

Definition at line 352 of file PreRawCOPPERFormat_v1.h.

◆ GetExpRunSubrunBuf() [7/8]

int * GetExpRunSubrunBuf ( int  n)
inlinevirtual

get b2l block from "FEE b2link header"

get b2l block from "FEE b2link header"

Implements RawCOPPERFormat.

Definition at line 352 of file PreRawCOPPERFormat_v2.h.

◆ GetExpRunSubrunBuf() [8/8]

int * GetExpRunSubrunBuf ( int  n)
inlinevirtual

get b2l block from "FEE b2link header"

get b2l block from "FEE b2link header"

Implements RawCOPPERFormat.

Definition at line 607 of file RawCOPPERFormat_v0.h.

◆ GetNwords() [1/3]

int GetNwords ( )
inline

set contents of header

Add nodeinfo in trace area

Definition at line 313 of file RawHeader_latest.h.

◆ GetNwords() [2/3]

int GetNwords ( )
inline

set contents of header

Add nodeinfo in trace area

Definition at line 340 of file RawHeader_v1.h.

◆ GetNwords() [3/3]

int GetNwords ( )
inline

set contents of header

Add nodeinfo in trace area

Definition at line 354 of file RawHeader_v2.h.

◆ GetTTCtimeTRGType() [1/3]

unsigned int GetTTCtimeTRGType ( int  n)
inlinevirtual

get b2l block from "FEE b2link header"

Check if COPPER Magic words are correct

Implements RawCOPPERFormat.

Definition at line 363 of file RawCOPPERFormat_latest.h.

◆ GetTTCtimeTRGType() [2/3]

unsigned int GetTTCtimeTRGType ( int  n)
inlinevirtual

get b2l block from "FEE b2link header"

Check if COPPER Magic words are correct

Implements RawCOPPERFormat.

Definition at line 316 of file RawCOPPERFormat_v1.h.

◆ GetTTCtimeTRGType() [3/3]

unsigned int GetTTCtimeTRGType ( int  n)
inlinevirtual

get b2l block from "FEE b2link header"

Check if COPPER Magic words are correct

Implements RawCOPPERFormat.

Definition at line 340 of file RawCOPPERFormat_v2.h.

◆ SetFTSW2Words()

void SetFTSW2Words ( unsigned int  word1,
unsigned int  word2 
)
inline

set contents of header

Set values of FTSW info( trigger timing)

Definition at line 338 of file RawHeader_v0.h.