CbmRoot
|
#include <CbmTofStarData2019.h>
Public Member Functions | |
CbmTofStarSubevent2019 () | |
CbmTofStarSubevent2019 (CbmTofStarTrigger2019 triggerIn, UShort_t sourceIdIn) | |
CbmTofStarSubevent2019 (const CbmTofStarSubevent2019 &) | |
CbmTofStarSubevent2019 | operator= (const CbmTofStarSubevent2019 &) |
~CbmTofStarSubevent2019 () | |
void | SetTrigger (CbmTofStarTrigger2019 triggerIn) |
void | SetSource (UShort_t sourceIdIn) |
void | SetBadEventFlag (Bool_t bFlagState=kTRUE) |
void | SetOverlapEventFlag (Bool_t bFlagState=kTRUE) |
void | SetEmptyEventFlag (Bool_t bFlagState=kTRUE) |
void | SetStartBorderEventFlag (Bool_t bFlagState=kTRUE) |
void | SetEndBorderEventFlag (Bool_t bFlagState=kTRUE) |
void | SetIncompleteEventFlag (Bool_t bFlagState=kTRUE) |
void | AddMsg (const gdpbv100::FullMessage &msgIn) |
CbmTofStarTrigger2019 | GetTrigger () const |
UShort_t | GetSource () const |
Bool_t | GetBadEventFlag () const |
Bool_t | GetOverlapEventFlag () const |
Bool_t | GetEmptyEventFlag () const |
Bool_t | GetStartBorderEventFlag () const |
Bool_t | GetEndBorderEventFlag () const |
Bool_t | GetIncompleteEventFlag () const |
Int_t | GetEventSize () const |
gdpbv100::Message | GetMsg (UInt_t uMsgIdx) const |
UInt_t | GetMsgBuffSize () const |
Double_t | GetEventTimeSec () const |
void | ClearSubEvent () |
void | SortMessages () |
void * | BuildOutput (Int_t &iOutputSizeBytes) |
Bool_t | LoadInput (void *pBuff, Int_t iInputSizeBytes) |
void | PrintSubEvent () |
Static Public Member Functions | |
static uint32_t | GetMaxOutputSize () |
Private Attributes | |
Bool_t | fbTriggerSet |
CbmTofStarTrigger2019 | fTrigger |
UShort_t | fusSourceId |
ULong64_t | fulEventStatusFlags |
UInt_t | fuEventSizeBytes |
std::vector< gdpbv100::FullMessage > | fvMsgBuffer |
ULong64_t | fpulBuff [kuMaxOutputSize] |
Static Private Attributes | |
static const uint32_t | kuMaxOutputSize = 131072 |
static const uint32_t | kuMaxNbMsgs |
static const uint64_t | kulFlagBadEvt |
static const uint64_t | kulFlagOverlapEvt |
General flag for bad event. More... | |
static const uint64_t | kulFlagEmptyEvt = 0x1 << 2 |
Event in overlap with the previous event. More... | |
static const uint64_t | kulFlagStartBorderEvt |
Empty event. More... | |
static const uint64_t | kulFlagEndBorderEvt |
Event containing data from previous overlap MS. More... | |
static const uint64_t | kulFlagIncompleteEvt |
Event containing data from following overlap MS. More... | |
static const uint64_t | kulSourceIdOffset = 16 |
Incomplete event: at least one gDPB missed the trigger signal. More... | |
static const uint64_t | kulSourceIdMask = 0xFFFF |
static const uint64_t | kulEventSizeOffset = 32 |
static const uint64_t | kulEventSizeMask = 0xFFFFFFFF |
Definition at line 72 of file CbmTofStarData2019.h.
CbmTofStarSubevent2019::CbmTofStarSubevent2019 | ( | ) |
Definition at line 85 of file CbmTofStarData2019.cxx.
CbmTofStarSubevent2019::CbmTofStarSubevent2019 | ( | CbmTofStarTrigger2019 | triggerIn, |
UShort_t | sourceIdIn | ||
) |
Definition at line 92 of file CbmTofStarData2019.cxx.
References SetSource().
CbmTofStarSubevent2019::CbmTofStarSubevent2019 | ( | const CbmTofStarSubevent2019 & | eventIn | ) |
Buffer ignored as always refilled when accessed with BuildOutput
Definition at line 102 of file CbmTofStarData2019.cxx.
CbmTofStarSubevent2019::~CbmTofStarSubevent2019 | ( | ) |
Definition at line 125 of file CbmTofStarData2019.cxx.
References ClearSubEvent().
|
inline |
Definition at line 119 of file CbmTofStarData2019.h.
References fuEventSizeBytes, and fvMsgBuffer.
Referenced by CbmStar2019EventBuilderEtofAlgo::BuildEvents().
void * CbmTofStarSubevent2019::BuildOutput | ( | Int_t & | iOutputSizeBytes | ) |
Store the event size in the free part of the status member for consistency checks
Definition at line 134 of file CbmTofStarData2019.cxx.
References fbTriggerSet, fpulBuff, fTrigger, fuEventSizeBytes, fulEventStatusFlags, fvMsgBuffer, CbmTofStarTrigger2019::GetFullGdpbTs(), CbmTofStarTrigger2019::GetFullStarTs(), CbmTofStarTrigger2019::GetStarDaqCmd(), CbmTofStarTrigger2019::GetStarToken(), CbmTofStarTrigger2019::GetStarTrigCmd(), kulEventSizeMask, kulEventSizeOffset, kulFlagBadEvt, kuMaxNbMsgs, and kuMaxOutputSize.
void CbmTofStarSubevent2019::ClearSubEvent | ( | ) |
Definition at line 126 of file CbmTofStarData2019.cxx.
References fbTriggerSet, fulEventStatusFlags, and fvMsgBuffer.
Referenced by LoadInput(), and ~CbmTofStarSubevent2019().
|
inline |
Definition at line 127 of file CbmTofStarData2019.h.
References fulEventStatusFlags, and kulFlagBadEvt.
|
inline |
Definition at line 133 of file CbmTofStarData2019.h.
References fulEventStatusFlags, and kulFlagEmptyEvt.
|
inline |
Definition at line 139 of file CbmTofStarData2019.h.
References fulEventStatusFlags, and kulFlagEndBorderEvt.
|
inline |
Definition at line 145 of file CbmTofStarData2019.h.
References fuEventSizeBytes.
|
inline |
Definition at line 149 of file CbmTofStarData2019.h.
References fTrigger, CbmTofStarTrigger2019::GetFullGdpbTs(), and gdpbv100::kdClockCycleSizeNs.
|
inline |
Definition at line 142 of file CbmTofStarData2019.h.
References fulEventStatusFlags, and kulFlagIncompleteEvt.
|
inlinestatic |
Definition at line 148 of file CbmTofStarData2019.h.
References kuMaxOutputSize.
Referenced by CbmStar2019EventBuilderEtofAlgo::CreateHistograms().
|
inline |
|
inline |
Definition at line 147 of file CbmTofStarData2019.h.
References fvMsgBuffer.
|
inline |
Definition at line 130 of file CbmTofStarData2019.h.
References fulEventStatusFlags, and kulFlagOverlapEvt.
|
inline |
Definition at line 126 of file CbmTofStarData2019.h.
References fusSourceId.
|
inline |
Definition at line 136 of file CbmTofStarData2019.h.
References fulEventStatusFlags, and kulFlagStartBorderEvt.
|
inline |
Definition at line 125 of file CbmTofStarData2019.h.
References fTrigger.
Bool_t CbmTofStarSubevent2019::LoadInput | ( | void * | pBuff, |
Int_t | iInputSizeBytes | ||
) |
Definition at line 184 of file CbmTofStarData2019.cxx.
References ClearSubEvent(), fTrigger, fuEventSizeBytes, fulEventStatusFlags, fusSourceId, fvMsgBuffer, kulEventSizeMask, kulEventSizeOffset, kulSourceIdMask, kulSourceIdOffset, CbmTofStarTrigger2019::SetFullGdpbTs(), CbmTofStarTrigger2019::SetFullStarTs(), CbmTofStarTrigger2019::SetStarDaqCmd(), CbmTofStarTrigger2019::SetStarToken(), and CbmTofStarTrigger2019::SetStarTRigCmd().
CbmTofStarSubevent2019 CbmTofStarSubevent2019::operator= | ( | const CbmTofStarSubevent2019 & | eventIn | ) |
Buffer ignored as always refilled when accessed with BuildOutput
Definition at line 113 of file CbmTofStarData2019.cxx.
References fbTriggerSet, fTrigger, fuEventSizeBytes, fulEventStatusFlags, fusSourceId, and fvMsgBuffer.
void CbmTofStarSubevent2019::PrintSubEvent | ( | ) |
Definition at line 228 of file CbmTofStarData2019.cxx.
References fTrigger, fulEventStatusFlags, fvMsgBuffer, CbmTofStarTrigger2019::GetFullGdpbTs(), CbmTofStarTrigger2019::GetFullStarTs(), CbmTofStarTrigger2019::GetStarDaqCmd(), CbmTofStarTrigger2019::GetStarToken(), CbmTofStarTrigger2019::GetStarTrigCmd(), gdpbv100::msg_print_Data, and gdpbv100::msg_print_Prefix.
|
inline |
Definition at line 95 of file CbmTofStarData2019.h.
References fulEventStatusFlags, and kulFlagBadEvt.
|
inline |
Definition at line 103 of file CbmTofStarData2019.h.
References fulEventStatusFlags, and kulFlagEmptyEvt.
|
inline |
Definition at line 111 of file CbmTofStarData2019.h.
References fulEventStatusFlags, and kulFlagEndBorderEvt.
|
inline |
Definition at line 115 of file CbmTofStarData2019.h.
References fulEventStatusFlags, and kulFlagIncompleteEvt.
Referenced by CbmStar2019EventBuilderEtofAlgo::BuildEvents().
|
inline |
Definition at line 99 of file CbmTofStarData2019.h.
References fulEventStatusFlags, and kulFlagOverlapEvt.
|
inline |
Definition at line 89 of file CbmTofStarData2019.h.
References fulEventStatusFlags, fusSourceId, kulSourceIdMask, and kulSourceIdOffset.
Referenced by CbmTofStarSubevent2019().
|
inline |
Definition at line 107 of file CbmTofStarData2019.h.
References fulEventStatusFlags, and kulFlagStartBorderEvt.
|
inline |
Definition at line 85 of file CbmTofStarData2019.h.
References fbTriggerSet, and fTrigger.
Referenced by CbmStar2019EventBuilderEtofAlgo::BuildEvents().
void CbmTofStarSubevent2019::SortMessages | ( | ) |
Definition at line 131 of file CbmTofStarData2019.cxx.
References fvMsgBuffer.
|
private |
Definition at line 188 of file CbmTofStarData2019.h.
Referenced by BuildOutput(), ClearSubEvent(), operator=(), and SetTrigger().
|
private |
Definition at line 194 of file CbmTofStarData2019.h.
Referenced by BuildOutput().
|
private |
Definition at line 189 of file CbmTofStarData2019.h.
Referenced by BuildOutput(), GetEventTimeSec(), GetTrigger(), LoadInput(), operator=(), PrintSubEvent(), and SetTrigger().
|
private |
Definition at line 192 of file CbmTofStarData2019.h.
Referenced by AddMsg(), BuildOutput(), GetEventSize(), LoadInput(), and operator=().
|
private |
Definition at line 191 of file CbmTofStarData2019.h.
Referenced by BuildOutput(), ClearSubEvent(), GetBadEventFlag(), GetEmptyEventFlag(), GetEndBorderEventFlag(), GetIncompleteEventFlag(), GetOverlapEventFlag(), GetStartBorderEventFlag(), LoadInput(), operator=(), PrintSubEvent(), SetBadEventFlag(), SetEmptyEventFlag(), SetEndBorderEventFlag(), SetIncompleteEventFlag(), SetOverlapEventFlag(), SetSource(), and SetStartBorderEventFlag().
|
private |
Definition at line 190 of file CbmTofStarData2019.h.
Referenced by GetSource(), LoadInput(), operator=(), and SetSource().
|
private |
Definition at line 193 of file CbmTofStarData2019.h.
Referenced by AddMsg(), BuildOutput(), ClearSubEvent(), GetMsgBuffSize(), LoadInput(), operator=(), PrintSubEvent(), and SortMessages().
|
staticprivate |
Definition at line 186 of file CbmTofStarData2019.h.
Referenced by BuildOutput(), and LoadInput().
|
staticprivate |
Definition at line 185 of file CbmTofStarData2019.h.
Referenced by BuildOutput(), and LoadInput().
|
staticprivate |
Definition at line 172 of file CbmTofStarData2019.h.
Referenced by BuildOutput(), GetBadEventFlag(), and SetBadEventFlag().
|
staticprivate |
Event in overlap with the previous event.
Definition at line 176 of file CbmTofStarData2019.h.
Referenced by GetEmptyEventFlag(), and SetEmptyEventFlag().
|
staticprivate |
Event containing data from previous overlap MS.
Definition at line 179 of file CbmTofStarData2019.h.
Referenced by GetEndBorderEventFlag(), and SetEndBorderEventFlag().
|
staticprivate |
Event containing data from following overlap MS.
Definition at line 181 of file CbmTofStarData2019.h.
Referenced by GetIncompleteEventFlag(), and SetIncompleteEventFlag().
|
staticprivate |
General flag for bad event.
Definition at line 174 of file CbmTofStarData2019.h.
Referenced by GetOverlapEventFlag(), and SetOverlapEventFlag().
|
staticprivate |
Empty event.
Definition at line 177 of file CbmTofStarData2019.h.
Referenced by GetStartBorderEventFlag(), and SetStartBorderEventFlag().
|
staticprivate |
Definition at line 184 of file CbmTofStarData2019.h.
Referenced by LoadInput(), and SetSource().
|
staticprivate |
Incomplete event: at least one gDPB missed the trigger signal.
Definition at line 183 of file CbmTofStarData2019.h.
Referenced by LoadInput(), and SetSource().
|
staticprivate |
Definition at line 170 of file CbmTofStarData2019.h.
Referenced by BuildOutput().
|
staticprivate |
Definition at line 169 of file CbmTofStarData2019.h.
Referenced by BuildOutput(), and GetMaxOutputSize().