CbmRoot
|
#include <StsXyterMessage.h>
Public Member Functions | |
XPU_D | Message () |
XPU_D | Message (const Message &src) |
XPU_D | Message (uint32_t uDataIn) |
XPU_D | ~Message () |
XPU_D void | assign (const Message &src) |
XPU_D Message & | operator= (const Message &src) |
XPU_D void | reset () |
XPU_D uint32_t | GetData () const |
XPU_D void | SetData (uint32_t uValue) |
XPU_D uint32_t | GetField (uint32_t uShift, uint32_t uLen) const |
XPU_D uint8_t | GetBit (uint32_t uShift) const |
XPU_D uint32_t | GetFieldBE (uint32_t uShift, uint32_t uLen) const |
XPU_D uint8_t | GetBitBE (uint32_t uShift) const |
XPU_D uint32_t | DataBE () const |
XPU_D void | SetField (uint32_t uShift, uint32_t uLen, uint32_t uValue) |
XPU_D void | SetBit (uint32_t uShift, uint8_t uValue) |
XPU_D uint32_t | GetField (MessField field) const |
XPU_D uint8_t | GetBit (MessField field) const |
XPU_D bool | GetFlag (MessField field) const |
XPU_D uint32_t | GetFieldBE (MessField field) const |
XPU_D uint8_t | GetBitBE (MessField field) const |
XPU_D void | SetField (MessField field, uint32_t uValue) |
XPU_D void | SetBit (MessField field, uint8_t ucValue) |
XPU_D uint16_t | GetLinkIndex () const |
For all data: Returns the (global) index of the eLink on which the message was received (n bit field) | |
XPU_D bool | IsHit () const |
Check if the message if a Hit Message. | |
XPU_D bool | IsDummy () const |
Check if the message if a Dummy Hit Message. | |
XPU_D bool | IsTsMsb () const |
Check if the message if a Ts_Msb. | |
XPU_D MessType | GetMessType () const |
Returns the message type, see enum MessType. | |
XPU_D uint16_t | GetHitChannel () const |
For Hit data: Returns StsXYTER channel number (7 bit field) | |
XPU_D uint16_t | GetHitAdc () const |
For Hit data: Returns ADC value (5 bit field) | |
XPU_D uint16_t | GetHitTimeFull () const |
For Hit data: Returns Full timestamp (10 bit field including 2 bits overlap) | |
XPU_D uint16_t | GetHitTimeOver () const |
For Hit data: Returns timestamp overlap bits (2 bits field, overlap with 2 LSBs of TS_MSB message) | |
XPU_D uint16_t | GetHitTime () const |
For Hit data: Returns timestamp (8 bit field, 2 MSB bits overlap removed) | |
XPU_D uint16_t | GetHitTimeBinning () const |
XPU_D uint16_t | GetLinkIndexHitBinning () const |
XPU_D bool | IsHitMissedEvts () const |
For Hit data: Returns Missed event flag (1 bit field) | |
XPU_D void | SetHitChannel (uint16_t usVal) |
For Hit data: Sets StsXYTER channel number (7 bit field) | |
XPU_D void | SetHitAdc (uint16_t usVal) |
For Hit data: Sets ADC value (5 bit field) | |
XPU_D void | SetHitTimeFull (uint16_t usVal) |
For Hit data: Sets Full timestamp (10 bit field including 2 bits overlap) | |
XPU_D void | SetHitTimeOver (uint16_t usVal) |
For Hit data: Sets timestamp overlap bits (2 bits field, overlap with 2 LSBs of TS_MSB message) | |
XPU_D void | SetHitTime (uint16_t usVal) |
For Hit data: Sets Full timestamp (8 bit field, 2 MSB bits overlap removed) | |
XPU_D void | SetHitMissEvtsFlag (bool bVal) |
For Hit data: Sets Missed event flag (1 bit field) | |
XPU_D MessSubType | GetSubType () const |
For non-Hit data: Returns subtype (2 bit field) | |
XPU_D uint32_t | GetTsMsbVal () const |
For TS MSB data: Returns the TS MSB 22 bit field) | |
XPU_D uint32_t | GetTsMsbValBinning () const |
For TS MSB data: Returns the TS MSB 29 bit field) | |
XPU_D void | SetTsMsbVal (uint32_t uVal) |
For TS MSB data: Sets the TS MSB (22 bit field) | |
XPU_D uint32_t | GetEpochVal () const |
For Epoch data: Returns the Epoch (29 bit field) | |
XPU_D void | SetEpochVal (uint32_t uVal) |
For Epoch data: Sets the Epoch (29 bit field) | |
XPU_D uint16_t | GetStatusLink () const |
For Status data: Returns the Link Inedx (9 bit field) | |
XPU_D uint16_t | GetStatusSxTs () const |
For Status data: Returns the SMX TS from ACK frame (6 bit field) | |
XPU_D uint16_t | GetStatusStatus () const |
For Status data: Returns the Status field from ACK frame (4 bit field) | |
XPU_D uint16_t | GetStatusDpbTs () const |
For Status data: Returns the DPB TS when frame received (9 bit field) | |
XPU_D bool | IsCpFlagOn () const |
For Status data: Returns the CP flag from ACK frame (1 bit field) | |
XPU_D void | SetStatusLink (uint16_t usVal) |
For Status data: Sets the Status (9 bit field) | |
XPU_D void | SetStatusSxTs (uint16_t usVal) |
For Status data: Sets the Status (6 bit field) | |
XPU_D void | SetStatusStatus (uint16_t usVal) |
For Status data: Sets the Status (4 bit field) | |
XPU_D void | SetStatusDpbTs (uint16_t usVal) |
For Status data: Sets the Status (9 bit field) | |
XPU_D void | SetCpFlag (bool bVal) |
For Status data: Sets the Status (1 bit field) | |
XPU_D bool | IsEmptyMsg () const |
For Empty/End of MS data: Check if this is an empty message (1 bit field) | |
XPU_D bool | IsMsErrorFlagOn () const |
For End of MS data: Returns the MS error flag (1 bit field) | |
XPU_D uint16_t | GetMsErrorType () const |
For End of MS data: Returns the MS error type field (2 bit field) | |
XPU_D void | SetEmptyMsgFlag (bool bVal) |
For Empty/End of MS data data: Sets the Empty message flag (1 bit field) | |
XPU_D void | SetMsErrorFlag (bool bVal) |
For End of MS data data: Sets the MS Error flag (1 bit field) | |
XPU_D void | SetMsErrorType (uint16_t usVal) |
For End of MS data: Sets the MS error type field (2 bit field) | |
bool | PrintMess (std::ostream &os, MessagePrintMask ctrl=MessagePrintMask::msg_print_Human, bool bBinning=true) const |
Static Public Member Functions | |
static std::string | PrintMessType (MessType type) |
Protected Attributes | |
uint32_t | fuData |
Definition at line 171 of file StsXyterMessage.h.
|
inline |
Definition at line 177 of file StsXyterMessage.h.
|
inline |
Definition at line 179 of file StsXyterMessage.h.
|
inline |
Definition at line 181 of file StsXyterMessage.h.
|
inline |
Definition at line 183 of file StsXyterMessage.h.
|
inline |
|
inline |
Definition at line 211 of file StsXyterMessage.h.
References fuData.
Referenced by GetBitBE(), and GetFieldBE().
|
inline |
Definition at line 232 of file StsXyterMessage.h.
References stsxyter::MessField::fusPos, and GetBit().
Referenced by GetBit().
|
inline |
Definition at line 204 of file StsXyterMessage.h.
References fuData.
Referenced by GetFlag(), and GetHitTimeBinning().
|
inline |
Definition at line 235 of file StsXyterMessage.h.
References stsxyter::MessField::fusPos, and GetBitBE().
Referenced by GetBitBE().
|
inline |
Definition at line 210 of file StsXyterMessage.h.
References DataBE().
|
inline |
Definition at line 196 of file StsXyterMessage.h.
References fuData.
Referenced by CbmMcbm2018UnpackerAlgoMuch::ProcessStatusInfo(), CbmMcbm2018UnpackerAlgoSts::ProcessStatusInfo(), CbmStsUnpackAlgoLegacy::ProcessStatusInfo(), CbmMuchUnpackAlgo::processStatusInfo(), and CbmStsUnpackAlgo::processStatusInfo().
|
inline |
For Epoch data: Returns the Epoch (29 bit field)
Definition at line 335 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldEpochVal().
Referenced by PrintMess().
|
inline |
Definition at line 231 of file StsXyterMessage.h.
References stsxyter::MessField::fusLen, stsxyter::MessField::fusPos, and GetField().
Referenced by GetField().
|
inline |
Definition at line 199 of file StsXyterMessage.h.
References fuData.
Referenced by GetEpochVal(), GetHitAdc(), GetHitChannel(), GetHitTime(), GetHitTimeBinning(), GetHitTimeFull(), GetHitTimeOver(), GetLinkIndex(), GetLinkIndexHitBinning(), GetMsErrorType(), GetStatusDpbTs(), GetStatusLink(), GetStatusStatus(), GetStatusSxTs(), GetSubType(), GetTsMsbVal(), GetTsMsbValBinning(), IsCpFlagOn(), IsEmptyMsg(), and IsMsErrorFlagOn().
|
inline |
Definition at line 234 of file StsXyterMessage.h.
References stsxyter::MessField::fusLen, stsxyter::MessField::fusPos, and GetFieldBE().
Referenced by GetFieldBE().
|
inline |
Definition at line 206 of file StsXyterMessage.h.
References DataBE().
|
inline |
Definition at line 233 of file StsXyterMessage.h.
References stsxyter::MessField::fusPos, and GetBit().
Referenced by GetMessType(), IsHit(), and IsHitMissedEvts().
|
inline |
For Hit data: Returns ADC value (5 bit field)
Definition at line 267 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldHitAdc().
Referenced by CbmCosy2018MonitorPulser::FillHitInfo(), CbmMcbm2018MonitorAlgoMuchLite::FillHitInfo(), CbmMcbm2018MonitorMuch::FillHitInfo(), CbmMcbm2018MonitorMuchLite::FillHitInfo(), CbmMcbm2018MonitorSts::FillHitInfo(), CbmMcbm2018MonitorStsSync::FillHitInfo(), CbmMcbm2018MonitorMcbmPulser::FillStsHitInfo(), CbmMcbm2018MonitorMcbmRate::FillStsHitInfo(), CbmMcbm2018MonitorMcbmSync::FillStsHitInfo(), GetMessType(), IsDummy(), PrintMess(), CbmCosy2019MonitorAlgoHodo::ProcessHitInfo(), CbmCosy2019UnpackerAlgoHodo::ProcessHitInfo(), CbmMcbm2018UnpackerAlgoMuch::ProcessHitInfo(), CbmMcbm2018UnpackerAlgoSts::ProcessHitInfo(), CbmStsUnpackAlgoLegacy::ProcessHitInfo(), CbmMuchUnpackAlgo::processHitInfo(), and CbmStsUnpackAlgo::processHitInfo().
|
inline |
For Hit data: Returns StsXYTER channel number (7 bit field)
Definition at line 264 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldHitChannel().
Referenced by CbmCosy2018MonitorPulser::FillHitInfo(), CbmMcbm2018MonitorAlgoMuchLite::FillHitInfo(), CbmMcbm2018MonitorMuch::FillHitInfo(), CbmMcbm2018MonitorMuchLite::FillHitInfo(), CbmMcbm2018MonitorSts::FillHitInfo(), CbmMcbm2018MonitorStsSync::FillHitInfo(), CbmMcbm2018MonitorMcbmPulser::FillStsHitInfo(), CbmMcbm2018MonitorMcbmRate::FillStsHitInfo(), CbmMcbm2018MonitorMcbmSync::FillStsHitInfo(), PrintMess(), CbmCosy2019MonitorAlgoHodo::ProcessHitInfo(), CbmCosy2019UnpackerAlgoHodo::ProcessHitInfo(), CbmMcbm2018UnpackerAlgoMuch::ProcessHitInfo(), CbmMcbm2018UnpackerAlgoSts::ProcessHitInfo(), CbmStsUnpackAlgoLegacy::ProcessHitInfo(), CbmMuchUnpackAlgo::processHitInfo(), and CbmStsUnpackAlgo::processHitInfo().
|
inline |
For Hit data: Returns timestamp (8 bit field, 2 MSB bits overlap removed)
Definition at line 276 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldHitTs().
Referenced by CbmCosy2018MonitorPulser::FillHitInfo(), CbmMcbm2018MonitorAlgoMuchLite::FillHitInfo(), CbmMcbm2018MonitorMuch::FillHitInfo(), CbmMcbm2018MonitorMuchLite::FillHitInfo(), CbmMcbm2018MonitorSts::FillHitInfo(), CbmMcbm2018MonitorStsSync::FillHitInfo(), CbmMcbm2018MonitorMcbmPulser::FillStsHitInfo(), CbmMcbm2018MonitorMcbmRate::FillStsHitInfo(), CbmMcbm2018MonitorMcbmSync::FillStsHitInfo(), PrintMess(), CbmCosy2019MonitorAlgoHodo::ProcessHitInfo(), CbmCosy2019UnpackerAlgoHodo::ProcessHitInfo(), CbmMcbm2018UnpackerAlgoMuch::ProcessHitInfo(), and CbmMcbm2018UnpackerAlgoSts::ProcessHitInfo().
|
inline |
For Hit data: Returns timestamp (9 bit field + 1b extra on b30) => Quick and dirty hack for binning FW!!!
Definition at line 280 of file StsXyterMessage.h.
References GetBit(), GetField(), and stsxyter::kFieldHitTs().
Referenced by CbmMcbm2018MonitorAlgoMuchLite::FillHitInfo(), CbmMcbm2018MonitorMuchLite::FillHitInfo(), CbmMcbm2018MonitorSts::FillHitInfo(), PrintMess(), CbmMcbm2018UnpackerAlgoMuch::ProcessHitInfo(), CbmMcbm2018UnpackerAlgoSts::ProcessHitInfo(), CbmStsUnpackAlgoLegacy::ProcessHitInfo(), CbmMuchUnpackAlgo::processHitInfo(), and CbmStsUnpackAlgo::processHitInfo().
|
inline |
For Hit data: Returns Full timestamp (10 bit field including 2 bits overlap)
Definition at line 270 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldHitTsFull().
Referenced by PrintMess(), and CbmStsUnpackAlgoLegacy::ProcessHitInfo().
|
inline |
For Hit data: Returns timestamp overlap bits (2 bits field, overlap with 2 LSBs of TS_MSB message)
Definition at line 273 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldHitTsOver().
Referenced by CbmCosy2018MonitorPulser::FillHitInfo(), and PrintMess().
|
inline |
For all data: Returns the (global) index of the eLink on which the message was received (n bit field)
Definition at line 242 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldLinkIndex().
Referenced by CbmCosy2018MonitorPulser::DoUnpack(), CbmMcbm2018MonitorStsSync::DoUnpack(), CbmMcbm2018MonitorMcbmPulser::FillStsHitInfo(), CbmMcbm2018MonitorMcbmRate::FillStsHitInfo(), CbmMcbm2018MonitorMcbmSync::FillStsHitInfo(), PrintMess(), CbmMuchUnpackMonitor::ProcessDebugInfo(), CbmStsUnpackMonitor::ProcessDebugInfo(), CbmStsUnpackAlgoLegacy::ProcessHitInfo(), CbmCosy2019MonitorAlgoHodo::ProcessMs(), CbmCosy2019UnpackerAlgoHodo::ProcessMs(), CbmMcbm2018MonitorAlgoMuchLite::ProcessMs(), CbmMcbm2018UnpackerAlgoMuch::ProcessMs(), CbmMcbm2018UnpackerAlgoSts::ProcessMs(), CbmMcbm2018MonitorMuchLite::ProcessMuchMs(), CbmMcbm2018MonitorMuch::ProcessStsMs(), and CbmMcbm2018MonitorSts::ProcessStsMs().
|
inline |
For Hit data: Returns (global) index of the eLink on which the message was received (6 bit field) => Quick and dirty hack for binning FW!!!
Definition at line 287 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldLinkIndex().
Referenced by PrintMess(), CbmMuchUnpackMonitor::ProcessDebugInfo(), CbmStsUnpackMonitor::ProcessDebugInfo(), CbmStsUnpackAlgoLegacy::ProcessHitInfo(), CbmMuchUnpackAlgo::processHitInfo(), CbmStsUnpackAlgo::processHitInfo(), CbmMcbm2018MonitorAlgoMuchLite::ProcessMs(), CbmMcbm2018UnpackerAlgoMuch::ProcessMs(), CbmMcbm2018UnpackerAlgoSts::ProcessMs(), CbmMcbm2018MonitorMuchLite::ProcessMuchMs(), and CbmMcbm2018MonitorSts::ProcessStsMs().
|
inline |
Returns the message type, see enum MessType.
Definition at line 250 of file StsXyterMessage.h.
References stsxyter::Dummy, stsxyter::Empty, stsxyter::EndOfMs, stsxyter::Epoch, GetFlag(), GetHitAdc(), GetSubType(), stsxyter::Hit, IsEmptyMsg(), stsxyter::kFieldNotHitFlag(), stsxyter::Status, and stsxyter::TsMsb.
Referenced by CbmCosy2018MonitorPulser::DoUnpack(), CbmMcbm2018MonitorStsSync::DoUnpack(), CbmStsUnpackAlgoLegacy::LoopMsMessages(), CbmMuchUnpackAlgo::loopMsMessages(), CbmStsUnpackAlgo::loopMsMessages(), PrintMess(), CbmMuchUnpackMonitor::ProcessDebugInfo(), CbmStsUnpackMonitor::ProcessDebugInfo(), CbmCosy2019MonitorAlgoHodo::ProcessMs(), CbmCosy2019UnpackerAlgoHodo::ProcessMs(), CbmMcbm2018MonitorAlgoMuchLite::ProcessMs(), CbmMcbm2018UnpackerAlgoMuch::ProcessMs(), CbmMcbm2018UnpackerAlgoSts::ProcessMs(), CbmMcbm2018MonitorMuchLite::ProcessMuchMs(), CbmMcbm2018MonitorMcbmPulser::ProcessStsMs(), CbmMcbm2018MonitorMcbmRate::ProcessStsMs(), CbmMcbm2018MonitorMcbmSync::ProcessStsMs(), CbmMcbm2018MonitorMuch::ProcessStsMs(), and CbmMcbm2018MonitorSts::ProcessStsMs().
|
inline |
For End of MS data: Returns the MS error type field (2 bit field)
Definition at line 379 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldMsErrType().
Referenced by CbmStsUnpackAlgoLegacy::ProcessErrorInfo(), CbmMuchUnpackAlgo::processErrorInfo(), CbmStsUnpackAlgo::processErrorInfo(), CbmMcbm2018MonitorAlgoMuchLite::ProcessMs(), CbmMcbm2018MonitorMuchLite::ProcessMuchMs(), and CbmMcbm2018MonitorSts::ProcessStsMs().
|
inline |
For Status data: Returns the DPB TS when frame received (9 bit field)
Definition at line 351 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldStatDpbTs().
Referenced by PrintMess().
|
inline |
For Status data: Returns the Link Inedx (9 bit field)
Definition at line 342 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldStatLinkId().
Referenced by CbmMcbm2018MonitorStsSync::DoUnpack(), PrintMess(), CbmCosy2019MonitorAlgoHodo::ProcessMs(), CbmMcbm2018UnpackerAlgoMuch::ProcessMs(), CbmMcbm2018UnpackerAlgoSts::ProcessMs(), CbmStsUnpackAlgoLegacy::ProcessStatusInfo(), CbmMuchUnpackAlgo::processStatusInfo(), CbmStsUnpackAlgo::processStatusInfo(), CbmMcbm2018MonitorMuch::ProcessStsMs(), and CbmMcbm2018MonitorSts::ProcessStsMs().
|
inline |
For Status data: Returns the Status field from ACK frame (4 bit field)
Definition at line 348 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldStatStatus().
Referenced by CbmMcbm2018MonitorStsSync::DoUnpack(), PrintMess(), CbmMcbm2018UnpackerAlgoMuch::ProcessStatusInfo(), CbmMcbm2018UnpackerAlgoSts::ProcessStatusInfo(), CbmStsUnpackAlgoLegacy::ProcessStatusInfo(), CbmMuchUnpackAlgo::processStatusInfo(), CbmStsUnpackAlgo::processStatusInfo(), CbmMcbm2018MonitorMuch::ProcessStsMs(), and CbmMcbm2018MonitorSts::ProcessStsMs().
|
inline |
For Status data: Returns the SMX TS from ACK frame (6 bit field)
Definition at line 345 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldStatSxTs().
Referenced by PrintMess().
|
inline |
For non-Hit data: Returns subtype (2 bit field)
Definition at line 313 of file StsXyterMessage.h.
References stsxyter::Empty, stsxyter::Epoch, GetField(), stsxyter::kFieldSubtype(), stsxyter::Status, and stsxyter::TsMsb.
Referenced by GetMessType(), and IsTsMsb().
|
inline |
For TS MSB data: Returns the TS MSB 22 bit field)
Definition at line 325 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldTsMsbVal().
Referenced by CbmCosy2018MonitorPulser::FillEpochInfo(), CbmMcbm2018MonitorMcbmPulser::FillStsTsMsbInfo(), CbmMcbm2018MonitorMcbmRate::FillStsTsMsbInfo(), CbmMcbm2018MonitorMcbmSync::FillStsTsMsbInfo(), CbmCosy2018MonitorPulser::FillTsMsbInfo(), CbmMcbm2018MonitorAlgoMuchLite::FillTsMsbInfo(), CbmMcbm2018MonitorMuch::FillTsMsbInfo(), CbmMcbm2018MonitorMuchLite::FillTsMsbInfo(), CbmMcbm2018MonitorSts::FillTsMsbInfo(), CbmMcbm2018MonitorStsSync::FillTsMsbInfo(), PrintMess(), CbmCosy2019MonitorAlgoHodo::ProcessTsMsbInfo(), CbmCosy2019UnpackerAlgoHodo::ProcessTsMsbInfo(), CbmMcbm2018UnpackerAlgoMuch::ProcessTsMsbInfo(), CbmMcbm2018UnpackerAlgoSts::ProcessTsMsbInfo(), and CbmStsUnpackAlgoLegacy::ProcessTsMsbInfo().
|
inline |
For TS MSB data: Returns the TS MSB 29 bit field)
Definition at line 328 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldTsMsbValBinning().
Referenced by CbmMcbm2018MonitorAlgoMuchLite::FillTsMsbInfo(), CbmMcbm2018MonitorMuchLite::FillTsMsbInfo(), CbmMcbm2018MonitorSts::FillTsMsbInfo(), PrintMess(), CbmMcbm2018UnpackerAlgoMuch::ProcessTsMsbInfo(), CbmMcbm2018UnpackerAlgoSts::ProcessTsMsbInfo(), CbmStsUnpackAlgoLegacy::ProcessTsMsbInfo(), CbmMuchUnpackAlgo::processTsMsbInfo(), CbmStsUnpackAlgo::processTsMsbInfo(), cbm::algo::much::UnpackMS::ProcessTsmsbMessage(), and cbm::algo::sts::UnpackMS::ProcessTsmsbMessage().
|
inline |
For Status data: Returns the CP flag from ACK frame (1 bit field)
Definition at line 354 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldStatCpFlag().
Referenced by PrintMess().
|
inline |
Check if the message if a Dummy Hit Message.
Definition at line 246 of file StsXyterMessage.h.
References GetHitAdc(), and IsHit().
|
inline |
For Empty/End of MS data: Check if this is an empty message (1 bit field)
Definition at line 373 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldEmptyFlag().
Referenced by GetMessType().
|
inline |
Check if the message if a Hit Message.
Definition at line 244 of file StsXyterMessage.h.
References GetFlag(), and stsxyter::kFieldNotHitFlag().
|
inline |
For Hit data: Returns Missed event flag (1 bit field)
Definition at line 290 of file StsXyterMessage.h.
References GetFlag(), and stsxyter::kFieldHitEmFlag().
Referenced by CbmCosy2018MonitorPulser::FillHitInfo(), CbmMcbm2018MonitorMuch::FillHitInfo(), CbmMcbm2018MonitorSts::FillHitInfo(), CbmMcbm2018MonitorStsSync::FillHitInfo(), PrintMess(), CbmCosy2019MonitorAlgoHodo::ProcessHitInfo(), CbmMcbm2018UnpackerAlgoMuch::ProcessHitInfo(), CbmMcbm2018UnpackerAlgoSts::ProcessHitInfo(), CbmStsUnpackAlgoLegacy::ProcessHitInfo(), CbmMuchUnpackAlgo::processHitInfo(), and CbmStsUnpackAlgo::processHitInfo().
|
inline |
For End of MS data: Returns the MS error flag (1 bit field)
Definition at line 376 of file StsXyterMessage.h.
References GetField(), and stsxyter::kFieldMsErrFlag().
Referenced by CbmMuchUnpackMonitor::ProcessDebugInfo(), CbmStsUnpackMonitor::ProcessDebugInfo(), CbmStsUnpackAlgoLegacy::ProcessErrorInfo(), CbmMuchUnpackAlgo::processErrorInfo(), CbmStsUnpackAlgo::processErrorInfo(), CbmMcbm2018MonitorAlgoMuchLite::ProcessMs(), CbmMcbm2018MonitorMuchLite::ProcessMuchMs(), and CbmMcbm2018MonitorSts::ProcessStsMs().
|
inline |
Check if the message if a Ts_Msb.
Definition at line 248 of file StsXyterMessage.h.
References GetSubType(), IsHit(), and stsxyter::TsMsb.
Definition at line 187 of file StsXyterMessage.h.
References assign().
bool Message::PrintMess | ( | std::ostream & | os, |
MessagePrintMask | ctrl = MessagePrintMask::msg_print_Human, | ||
bool | bBinning = true ) const |
Definition at line 22 of file StsXyterMessage.cxx.
References stsxyter::Dummy, stsxyter::Empty, stsxyter::Epoch, fuData, GetEpochVal(), GetHitAdc(), GetHitChannel(), GetHitTime(), GetHitTimeBinning(), GetHitTimeFull(), GetHitTimeOver(), GetLinkIndex(), GetLinkIndexHitBinning(), GetMessType(), GetStatusDpbTs(), GetStatusLink(), GetStatusStatus(), GetStatusSxTs(), GetTsMsbVal(), GetTsMsbValBinning(), stsxyter::Hit, IsCpFlagOn(), IsHitMissedEvts(), stsxyter::msg_print_Data, stsxyter::msg_print_Hex, stsxyter::msg_print_Human, stsxyter::msg_print_Prefix, stsxyter::Status, and stsxyter::TsMsb.
Referenced by CbmCosy2018MonitorPulser::DoUnpack(), CbmMcbm2018MonitorStsSync::DoUnpack(), CbmMcbm2018MonitorAlgoMuchLite::ProcessMs(), CbmMcbm2018MonitorMuchLite::ProcessMuchMs(), CbmStsUnpackAlgoLegacy::ProcessStatusInfo(), CbmMuchUnpackAlgo::processStatusInfo(), CbmStsUnpackAlgo::processStatusInfo(), CbmMcbm2018MonitorMcbmPulser::ProcessStsMs(), CbmMcbm2018MonitorMcbmRate::ProcessStsMs(), CbmMcbm2018MonitorMcbmSync::ProcessStsMs(), CbmMcbm2018MonitorMuch::ProcessStsMs(), and CbmMcbm2018MonitorSts::ProcessStsMs().
|
static |
Definition at line 141 of file StsXyterMessage.cxx.
References stsxyter::Dummy, stsxyter::Empty, stsxyter::EndOfMs, stsxyter::Epoch, stsxyter::Hit, stsxyter::Status, and stsxyter::TsMsb.
Referenced by CbmMuchUnpackAlgo::loopMsMessages(), and CbmStsUnpackAlgo::loopMsMessages().
|
inline |
Definition at line 193 of file StsXyterMessage.h.
References fuData.
|
inline |
Definition at line 238 of file StsXyterMessage.h.
References stsxyter::MessField::fusPos, and SetBit().
Referenced by SetBit().
|
inline |
Definition at line 224 of file StsXyterMessage.h.
References fuData.
Referenced by SetHitMissEvtsFlag().
|
inline |
For Status data: Sets the Status (1 bit field)
Definition at line 369 of file StsXyterMessage.h.
References stsxyter::kFieldStatCpFlag(), and SetField().
|
inline |
Definition at line 197 of file StsXyterMessage.h.
References fuData.
|
inline |
For Empty/End of MS data data: Sets the Empty message flag (1 bit field)
Definition at line 382 of file StsXyterMessage.h.
References stsxyter::kFieldEmptyFlag(), and SetField().
|
inline |
For Epoch data: Sets the Epoch (29 bit field)
Definition at line 338 of file StsXyterMessage.h.
References stsxyter::kFieldEpochVal(), and SetField().
|
inline |
Definition at line 237 of file StsXyterMessage.h.
References stsxyter::MessField::fusLen, stsxyter::MessField::fusPos, and SetField().
Referenced by SetField().
|
inline |
Definition at line 218 of file StsXyterMessage.h.
References fuData.
Referenced by SetCpFlag(), SetEmptyMsgFlag(), SetEpochVal(), SetHitAdc(), SetHitChannel(), SetHitTime(), SetHitTimeFull(), SetHitTimeOver(), SetMsErrorFlag(), SetMsErrorType(), SetStatusDpbTs(), SetStatusLink(), SetStatusStatus(), SetStatusSxTs(), and SetTsMsbVal().
|
inline |
For Hit data: Sets ADC value (5 bit field)
Definition at line 296 of file StsXyterMessage.h.
References stsxyter::kFieldHitAdc(), and SetField().
|
inline |
For Hit data: Sets StsXYTER channel number (7 bit field)
Definition at line 293 of file StsXyterMessage.h.
References stsxyter::kFieldHitChannel(), and SetField().
|
inline |
For Hit data: Sets Missed event flag (1 bit field)
Definition at line 308 of file StsXyterMessage.h.
References stsxyter::kFieldHitEmFlag(), and SetBit().
|
inline |
For Hit data: Sets Full timestamp (8 bit field, 2 MSB bits overlap removed)
Definition at line 305 of file StsXyterMessage.h.
References stsxyter::kFieldHitTs(), and SetField().
|
inline |
For Hit data: Sets Full timestamp (10 bit field including 2 bits overlap)
Definition at line 299 of file StsXyterMessage.h.
References stsxyter::kFieldHitTsFull(), and SetField().
|
inline |
For Hit data: Sets timestamp overlap bits (2 bits field, overlap with 2 LSBs of TS_MSB message)
Definition at line 302 of file StsXyterMessage.h.
References stsxyter::kFieldHitTsOver(), and SetField().
|
inline |
For End of MS data data: Sets the MS Error flag (1 bit field)
Definition at line 385 of file StsXyterMessage.h.
References stsxyter::kFieldMsErrFlag(), and SetField().
|
inline |
For End of MS data: Sets the MS error type field (2 bit field)
Definition at line 388 of file StsXyterMessage.h.
References stsxyter::kFieldMsErrType(), and SetField().
|
inline |
For Status data: Sets the Status (9 bit field)
Definition at line 366 of file StsXyterMessage.h.
References stsxyter::kFieldStatDpbTs(), and SetField().
|
inline |
For Status data: Sets the Status (9 bit field)
Definition at line 357 of file StsXyterMessage.h.
References stsxyter::kFieldStatLinkId(), and SetField().
|
inline |
For Status data: Sets the Status (4 bit field)
Definition at line 363 of file StsXyterMessage.h.
References stsxyter::kFieldStatStatus(), and SetField().
|
inline |
For Status data: Sets the Status (6 bit field)
Definition at line 360 of file StsXyterMessage.h.
References stsxyter::kFieldStatSxTs(), and SetField().
|
inline |
For TS MSB data: Sets the TS MSB (22 bit field)
Definition at line 331 of file StsXyterMessage.h.
References stsxyter::kFieldTsMsbVal(), and SetField().
|
protected |
Definition at line 174 of file StsXyterMessage.h.
Referenced by assign(), DataBE(), GetBit(), GetData(), GetField(), PrintMess(), reset(), SetBit(), SetData(), and SetField().