12#ifndef CbmTofStarData2019_H
13#define CbmTofStarData2019_H
24 CbmTofStarTrigger2019(ULong64_t ulGdpbTsFullIn, ULong64_t ulStarTsFullIn, UInt_t uStarTokenIn, UInt_t uStarDaqCmdIn,
25 UInt_t uStarTrigCmdIn, UShort_t usGdpbId = 0);
143 Bool_t
LoadInput(
void* pBuff, Int_t iInputSizeBytes);
void SetEmptyEventFlag(Bool_t bFlagState=kTRUE)
void SetTrigger(CbmTofStarTrigger2019 triggerIn)
static const uint64_t kulFlagEndBorderEvt
Event containing data from previous overlap MS.
void SetBadEventFlag(Bool_t bFlagState=kTRUE)
void SetEndBorderEventFlag(Bool_t bFlagState=kTRUE)
Bool_t GetIncompleteEventFlag() const
Bool_t GetEndBorderEventFlag() const
static const uint32_t kuMaxOutputSize
static const uint64_t kulEventSizeMask
static const uint64_t kulSourceIdMask
void * BuildOutput(Int_t &iOutputSizeBytes)
Bool_t GetStartBorderEventFlag() const
void SetSource(UShort_t sourceIdIn)
static const uint64_t kulFlagStartBorderEvt
Empty event.
static const uint64_t kulSourceIdOffset
Incomplete event: at least one gDPB missed the trigger signal.
Bool_t GetBadEventFlag() const
std::vector< gdpbv100::FullMessage > fvMsgBuffer
ULong64_t fulEventStatusFlags
static const uint64_t kulFlagOverlapEvt
General flag for bad event.
UInt_t GetMsgBuffSize() const
Bool_t LoadInput(void *pBuff, Int_t iInputSizeBytes)
CbmTofStarTrigger2019 GetTrigger() const
void SetIncompleteEventFlag(Bool_t bFlagState=kTRUE)
void AddMsg(const gdpbv100::FullMessage &msgIn)
Bool_t GetEmptyEventFlag() const
static const uint64_t kulFlagIncompleteEvt
Event containing data from following overlap MS.
static const uint64_t kulFlagEmptyEvt
Event in overlap with the previous event.
static const uint32_t kuMaxNbMsgs
void SetStartBorderEventFlag(Bool_t bFlagState=kTRUE)
gdpbv100::Message GetMsg(UInt_t uMsgIdx) const
Double_t GetEventTimeSec() const
static uint32_t GetMaxOutputSize()
void SetOverlapEventFlag(Bool_t bFlagState=kTRUE)
static const uint64_t kulEventSizeOffset
ULong64_t fpulBuff[kuMaxOutputSize]
CbmTofStarTrigger2019 fTrigger
~CbmTofStarSubevent2019()
Int_t GetEventSize() const
Bool_t GetOverlapEventFlag() const
UShort_t GetSource() const
CbmTofStarSubevent2019 operator=(const CbmTofStarSubevent2019 &)
static const uint64_t kulFlagBadEvt
UInt_t GetFullGdpbEpoch() const
ULong64_t GetFullGdpbTs() const
std::vector< gdpbv100::FullMessage > GetGdpbMessages() const
UShort_t GetStarTrigCmd() const
CbmTofStarTrigger2019(ULong64_t ulGdpbTsFullIn, ULong64_t ulStarTsFullIn, UInt_t uStarTokenIn, UInt_t uStarDaqCmdIn, UInt_t uStarTrigCmdIn, UShort_t usGdpbId=0)
ULong64_t GetFullStarTs() const
void SetFullStarTs(ULong64_t ulStarTsFullIn)
void SetStarDaqCmd(UInt_t uStarDaqCmdIn)
UInt_t GetStarTrigerWord() const
void SetStarTRigCmd(UInt_t uStarTrigCmdIn)
void SetStarToken(UInt_t uStarTokenIn)
UShort_t GetStarDaqCmd() const
bool operator<(const CbmTofStarTrigger2019 &other) const
strict weak ordering operator, assumes same TS cycle for both triggers
void SetFullGdpbTs(ULong64_t ulGdpbTsFullIn)
UInt_t GetStarToken() const
const double kdClockCycleSizeNs