BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
stsxyter::Message Class Reference

#include <StsXyterMessage.h>

Public Member Functions

 Message ()
 Message (const Message &src)
 Message (uint32_t uDataIn)
 ~Message ()
void assign (const Message &src)
Message & operator= (const Message &src)
void reset ()
uint32_t GetData () const
void SetData (uint32_t uValue)
uint32_t GetField (uint32_t uShift, uint32_t uLen) const
uint8_t GetBit (uint32_t uShift) const
uint32_t GetFieldBE (uint32_t uShift, uint32_t uLen) const
uint8_t GetBitBE (uint32_t uShift) const
uint32_t DataBE () const
void SetField (uint32_t uShift, uint32_t uLen, uint32_t uValue)
void SetBit (uint32_t uShift, uint8_t uValue)
uint32_t GetField (MessField field) const
uint8_t GetBit (MessField field) const
bool GetFlag (MessField field) const
uint32_t GetFieldBE (MessField field) const
uint8_t GetBitBE (MessField field) const
void SetField (MessField field, uint32_t uValue)
void SetBit (MessField field, uint8_t ucValue)
uint16_t GetLinkIndex () const
 For all data: Returns the (global) index of the eLink on which the message was received (n bit field).
bool IsHit () const
 Check if the message if a Hit Message.
bool IsDummy () const
 Check if the message if a Dummy Hit Message.
bool IsTsMsb () const
 Check if the message if a Ts_Msb.
MessType GetMessType () const
 Returns the message type, see enum MessType.
uint16_t GetHitChannel () const
 For Hit data: Returns StsXYTER channel number (7 bit field).
uint16_t GetHitAdc () const
 For Hit data: Returns ADC value (5 bit field).
uint16_t GetHitTimeFull () const
 For Hit data: Returns Full timestamp (10 bit field including 2 bits overlap).
uint16_t GetHitTimeOver () const
 For Hit data: Returns timestamp overlap bits (2 bits field, overlap with 2 LSBs of TS_MSB message).
uint16_t GetHitTime () const
 For Hit data: Returns timestamp (8 bit field, 2 MSB bits overlap removed).
uint16_t GetHitTimeBinning () const
 For Hit data: Returns timestamp (9 bit field + 1b extra on b30) => Quick and dirty hack for binning FW!
uint16_t GetLinkIndexHitBinning () const
 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!
bool IsHitMissedEvts () const
 For Hit data: Returns Missed event flag (1 bit field).
void SetHitChannel (uint16_t usVal)
 For Hit data: Sets StsXYTER channel number (7 bit field).
void SetHitAdc (uint16_t usVal)
 For Hit data: Sets ADC value (5 bit field).
void SetHitTimeFull (uint16_t usVal)
 For Hit data: Sets Full timestamp (10 bit field including 2 bits overlap).
void SetHitTimeOver (uint16_t usVal)
 For Hit data: Sets timestamp overlap bits (2 bits field, overlap with 2 LSBs of TS_MSB message).
void SetHitTime (uint16_t usVal)
 For Hit data: Sets Full timestamp (8 bit field, 2 MSB bits overlap removed).
void SetHitMissEvtsFlag (bool bVal)
 For Hit data: Sets Missed event flag (1 bit field).
MessSubType GetSubType () const
 For non-Hit data: Returns subtype (2 bit field).
uint32_t GetTsMsbVal () const
 For TS MSB data: Returns the TS MSB 22 bit field).
uint32_t GetTsMsbValBinning () const
 For TS MSB data: Returns the TS MSB 29 bit field).
void SetTsMsbVal (uint32_t uVal)
 For TS MSB data: Sets the TS MSB (22 bit field).
uint32_t GetEpochVal () const
 For Epoch data: Returns the Epoch (29 bit field).
void SetEpochVal (uint32_t uVal)
 For Epoch data: Sets the Epoch (29 bit field).
uint16_t GetStatusLink () const
 For Status data: Returns the Link Inedx (9 bit field).
uint16_t GetStatusSxTs () const
 For Status data: Returns the SMX TS from ACK frame (6 bit field).
uint16_t GetStatusStatus () const
 For Status data: Returns the Status field from ACK frame (4 bit field).
uint16_t GetStatusDpbTs () const
 For Status data: Returns the DPB TS when frame received (9 bit field).
bool IsCpFlagOn () const
 For Status data: Returns the CP flag from ACK frame (1 bit field).
void SetStatusLink (uint16_t usVal)
 For Status data: Sets the Status (9 bit field).
void SetStatusSxTs (uint16_t usVal)
 For Status data: Sets the Status (6 bit field).
void SetStatusStatus (uint16_t usVal)
 For Status data: Sets the Status (4 bit field).
void SetStatusDpbTs (uint16_t usVal)
 For Status data: Sets the Status (9 bit field).
void SetCpFlag (bool bVal)
 For Status data: Sets the Status (1 bit field).
bool IsEmptyMsg () const
 For Empty/End of MS data: Check if this is an empty message (1 bit field).
bool IsMsErrorFlagOn () const
 For End of MS data: Returns the MS error flag (1 bit field).
uint16_t GetMsErrorType () const
 For End of MS data: Returns the MS error type field (2 bit field).
void SetEmptyMsgFlag (bool bVal)
 For Empty/End of MS data data: Sets the Empty message flag (1 bit field).
void SetMsErrorFlag (bool bVal)
 For End of MS data data: Sets the MS Error flag (1 bit field).
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
 Message ()
 Message (const Message &src)
 Message (uint32_t uDataIn)
 ~Message ()
void assign (const Message &src)
Message & operator= (const Message &src)
void reset ()
uint32_t GetData () const
void SetData (uint32_t uValue)
uint32_t GetField (uint32_t uShift, uint32_t uLen) const
uint8_t GetBit (uint32_t uShift) const
uint32_t GetFieldBE (uint32_t uShift, uint32_t uLen) const
uint8_t GetBitBE (uint32_t uShift) const
uint32_t DataBE () const
void SetField (uint32_t uShift, uint32_t uLen, uint32_t uValue)
void SetBit (uint32_t uShift, uint8_t uValue)
uint32_t GetField (MessField field) const
uint8_t GetBit (MessField field) const
bool GetFlag (MessField field) const
uint32_t GetFieldBE (MessField field) const
uint8_t GetBitBE (MessField field) const
void SetField (MessField field, uint32_t uValue)
void SetBit (MessField field, uint8_t ucValue)
uint16_t GetLinkIndex () const
 For all data: Returns the (global) index of the eLink on which the message was received (n bit field).
bool IsHit () const
 Check if the message if a Hit Message.
bool IsDummy () const
 Check if the message if a Dummy Hit Message.
bool IsTsMsb () const
 Check if the message if a Ts_Msb.
MessType GetMessType () const
 Returns the message type, see enum MessType.
uint16_t GetHitChannel () const
 For Hit data: Returns StsXYTER channel number (7 bit field).
uint16_t GetHitAdc () const
 For Hit data: Returns ADC value (5 bit field).
uint16_t GetHitTimeFull () const
 For Hit data: Returns Full timestamp (10 bit field including 2 bits overlap).
uint16_t GetHitTimeOver () const
 For Hit data: Returns timestamp overlap bits (2 bits field, overlap with 2 LSBs of TS_MSB message).
uint16_t GetHitTime () const
 For Hit data: Returns timestamp (8 bit field, 2 MSB bits overlap removed).
uint16_t GetHitTimeBinning () const
 For Hit data: Returns timestamp (9 bit field + 1b extra on b30) => Quick and dirty hack for binning FW!
uint16_t GetLinkIndexHitBinning () const
 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!
bool IsHitMissedEvts () const
 For Hit data: Returns Missed event flag (1 bit field).
void SetHitChannel (uint16_t usVal)
 For Hit data: Sets StsXYTER channel number (7 bit field).
void SetHitAdc (uint16_t usVal)
 For Hit data: Sets ADC value (5 bit field).
void SetHitTimeFull (uint16_t usVal)
 For Hit data: Sets Full timestamp (10 bit field including 2 bits overlap).
void SetHitTimeOver (uint16_t usVal)
 For Hit data: Sets timestamp overlap bits (2 bits field, overlap with 2 LSBs of TS_MSB message).
void SetHitTime (uint16_t usVal)
 For Hit data: Sets Full timestamp (8 bit field, 2 MSB bits overlap removed).
void SetHitMissEvtsFlag (bool bVal)
 For Hit data: Sets Missed event flag (1 bit field).
MessSubType GetSubType () const
 For non-Hit data: Returns subtype (2 bit field).
uint32_t GetTsMsbVal () const
 For TS MSB data: Returns the TS MSB 22 bit field).
uint32_t GetTsMsbValBinning () const
 For TS MSB data: Returns the TS MSB 29 bit field).
void SetTsMsbVal (uint32_t uVal)
 For TS MSB data: Sets the TS MSB (22 bit field).
uint32_t GetEpochVal () const
 For Epoch data: Returns the Epoch (29 bit field).
void SetEpochVal (uint32_t uVal)
 For Epoch data: Sets the Epoch (29 bit field).
uint16_t GetStatusLink () const
 For Status data: Returns the Link Inedx (9 bit field).
uint16_t GetStatusSxTs () const
 For Status data: Returns the SMX TS from ACK frame (6 bit field).
uint16_t GetStatusStatus () const
 For Status data: Returns the Status field from ACK frame (4 bit field).
uint16_t GetStatusDpbTs () const
 For Status data: Returns the DPB TS when frame received (9 bit field).
bool IsCpFlagOn () const
 For Status data: Returns the CP flag from ACK frame (1 bit field).
void SetStatusLink (uint16_t usVal)
 For Status data: Sets the Status (9 bit field).
void SetStatusSxTs (uint16_t usVal)
 For Status data: Sets the Status (6 bit field).
void SetStatusStatus (uint16_t usVal)
 For Status data: Sets the Status (4 bit field).
void SetStatusDpbTs (uint16_t usVal)
 For Status data: Sets the Status (9 bit field).
void SetCpFlag (bool bVal)
 For Status data: Sets the Status (1 bit field).
bool IsEmptyMsg () const
 For Empty/End of MS data: Check if this is an empty message (1 bit field).
bool IsMsErrorFlagOn () const
 For End of MS data: Returns the MS error flag (1 bit field).
uint16_t GetMsErrorType () const
 For End of MS data: Returns the MS error type field (2 bit field).
void SetEmptyMsgFlag (bool bVal)
 For Empty/End of MS data data: Sets the Empty message flag (1 bit field).
void SetMsErrorFlag (bool bVal)
 For End of MS data data: Sets the MS Error flag (1 bit field).
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)
static std::string PrintMessType (MessType type)

Protected Attributes

uint32_t fuData

Detailed Description

Definition at line 174 of file StsXyterMessage.h.

Constructor & Destructor Documentation

◆ Message() [1/6]

stsxyter::Message::Message ( )
inline

Definition at line 181 of file StsXyterMessage.h.

References fuData.

Referenced by Message(), assign(), and operator=().

Here is the caller graph for this function:

◆ Message() [2/6]

stsxyter::Message::Message ( const Message & src)
inline

Definition at line 185 of file StsXyterMessage.h.

References Message(), and fuData.

Here is the call graph for this function:

◆ Message() [3/6]

stsxyter::Message::Message ( uint32_t uDataIn)
inline

Definition at line 189 of file StsXyterMessage.h.

References fuData.

◆ ~Message() [1/2]

stsxyter::Message::~Message ( )
inline

Definition at line 193 of file StsXyterMessage.h.

◆ Message() [4/6]

stsxyter::Message::Message ( )
inline

Definition at line 181 of file StsXyterMessage.h.

References fuData.

◆ Message() [5/6]

stsxyter::Message::Message ( const Message & src)
inline

Definition at line 185 of file StsXyterMessage.h.

References Message(), and fuData.

Here is the call graph for this function:

◆ Message() [6/6]

stsxyter::Message::Message ( uint32_t uDataIn)
inline

Definition at line 189 of file StsXyterMessage.h.

References fuData.

◆ ~Message() [2/2]

stsxyter::Message::~Message ( )
inline

Definition at line 193 of file StsXyterMessage.h.

Member Function Documentation

◆ assign() [1/2]

void stsxyter::Message::assign ( const Message & src)
inline

Definition at line 195 of file StsXyterMessage.h.

References Message(), and fuData.

Referenced by operator=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ assign() [2/2]

void stsxyter::Message::assign ( const Message & src)
inline

Definition at line 195 of file StsXyterMessage.h.

References Message(), and fuData.

Here is the call graph for this function:

◆ DataBE() [1/2]

uint32_t stsxyter::Message::DataBE ( ) const
inline

Definition at line 221 of file StsXyterMessage.h.

References fuData.

Referenced by GetBitBE(), and GetFieldBE().

Here is the caller graph for this function:

◆ DataBE() [2/2]

uint32_t stsxyter::Message::DataBE ( ) const
inline

Definition at line 221 of file StsXyterMessage.h.

References fuData.

◆ GetBit() [1/4]

uint8_t stsxyter::Message::GetBit ( MessField field) const
inline

Definition at line 242 of file StsXyterMessage.h.

References stsxyter::MessField::fusPos, and GetBit().

Referenced by GetBit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetBit() [2/4]

uint8_t stsxyter::Message::GetBit ( MessField field) const
inline

Definition at line 242 of file StsXyterMessage.h.

References GetBit().

Referenced by GetBit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetBit() [3/4]

uint8_t stsxyter::Message::GetBit ( uint32_t uShift) const
inline

Definition at line 214 of file StsXyterMessage.h.

References fuData.

Referenced by GetFlag(), and GetHitTimeBinning().

Here is the caller graph for this function:

◆ GetBit() [4/4]

uint8_t stsxyter::Message::GetBit ( uint32_t uShift) const
inline

Definition at line 214 of file StsXyterMessage.h.

References fuData.

◆ GetBitBE() [1/4]

uint8_t stsxyter::Message::GetBitBE ( MessField field) const
inline

Definition at line 245 of file StsXyterMessage.h.

References stsxyter::MessField::fusPos, and GetBitBE().

Referenced by GetBitBE().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetBitBE() [2/4]

uint8_t stsxyter::Message::GetBitBE ( MessField field) const
inline

Definition at line 245 of file StsXyterMessage.h.

References GetBitBE().

Referenced by GetBitBE().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetBitBE() [3/4]

uint8_t stsxyter::Message::GetBitBE ( uint32_t uShift) const
inline

Definition at line 220 of file StsXyterMessage.h.

References DataBE().

Here is the call graph for this function:

◆ GetBitBE() [4/4]

uint8_t stsxyter::Message::GetBitBE ( uint32_t uShift) const
inline

Definition at line 220 of file StsXyterMessage.h.

References DataBE().

Here is the call graph for this function:

◆ GetData() [1/2]

uint32_t stsxyter::Message::GetData ( ) const
inline

Definition at line 206 of file StsXyterMessage.h.

References fuData.

◆ GetData() [2/2]

uint32_t stsxyter::Message::GetData ( ) const
inline

Definition at line 206 of file StsXyterMessage.h.

References fuData.

◆ GetEpochVal() [1/2]

uint32_t stsxyter::Message::GetEpochVal ( ) const
inline

Definition at line 350 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldEpochVal().

Referenced by BmnConverterThread::FillVSP(), and BmnRawSource::FillVSP().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetEpochVal() [2/2]

uint32_t stsxyter::Message::GetEpochVal ( ) const
inline

Definition at line 350 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldEpochVal().

Here is the call graph for this function:

◆ GetField() [1/4]

uint32_t stsxyter::Message::GetField ( MessField field) const
inline

Definition at line 241 of file StsXyterMessage.h.

References stsxyter::MessField::fusLen, stsxyter::MessField::fusPos, and GetField().

Referenced by GetField().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetField() [2/4]

uint32_t stsxyter::Message::GetField ( MessField field) const
inline

Definition at line 241 of file StsXyterMessage.h.

References GetField().

Referenced by GetField().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetField() [3/4]

uint32_t stsxyter::Message::GetField ( uint32_t uShift,
uint32_t uLen ) const
inline

Definition at line 209 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().

Here is the caller graph for this function:

◆ GetField() [4/4]

uint32_t stsxyter::Message::GetField ( uint32_t uShift,
uint32_t uLen ) const
inline

Definition at line 209 of file StsXyterMessage.h.

References fuData.

◆ GetFieldBE() [1/4]

uint32_t stsxyter::Message::GetFieldBE ( MessField field) const
inline

Definition at line 244 of file StsXyterMessage.h.

References stsxyter::MessField::fusLen, stsxyter::MessField::fusPos, and GetFieldBE().

Referenced by GetFieldBE().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetFieldBE() [2/4]

uint32_t stsxyter::Message::GetFieldBE ( MessField field) const
inline

Definition at line 244 of file StsXyterMessage.h.

References GetFieldBE().

Referenced by GetFieldBE().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetFieldBE() [3/4]

uint32_t stsxyter::Message::GetFieldBE ( uint32_t uShift,
uint32_t uLen ) const
inline

Definition at line 216 of file StsXyterMessage.h.

References DataBE().

Here is the call graph for this function:

◆ GetFieldBE() [4/4]

uint32_t stsxyter::Message::GetFieldBE ( uint32_t uShift,
uint32_t uLen ) const
inline

Definition at line 216 of file StsXyterMessage.h.

References DataBE().

Here is the call graph for this function:

◆ GetFlag() [1/2]

bool stsxyter::Message::GetFlag ( MessField field) const
inline

Definition at line 243 of file StsXyterMessage.h.

References stsxyter::MessField::fusPos, and GetBit().

Referenced by GetMessType(), IsHit(), and IsHitMissedEvts().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetFlag() [2/2]

bool stsxyter::Message::GetFlag ( MessField field) const
inline

Definition at line 243 of file StsXyterMessage.h.

References GetBit().

Here is the call graph for this function:

◆ GetHitAdc() [1/2]

uint16_t stsxyter::Message::GetHitAdc ( ) const
inline

Definition at line 278 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldHitAdc().

Referenced by BmnConverterThread::FillVSP(), BmnRawSource::FillVSP(), GetMessType(), and IsDummy().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetHitAdc() [2/2]

uint16_t stsxyter::Message::GetHitAdc ( ) const
inline

Definition at line 278 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldHitAdc().

Here is the call graph for this function:

◆ GetHitChannel() [1/2]

uint16_t stsxyter::Message::GetHitChannel ( ) const
inline

Definition at line 275 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldHitChannel().

Referenced by BmnConverterThread::FillVSP(), and BmnRawSource::FillVSP().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetHitChannel() [2/2]

uint16_t stsxyter::Message::GetHitChannel ( ) const
inline

Definition at line 275 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldHitChannel().

Here is the call graph for this function:

◆ GetHitTime() [1/2]

uint16_t stsxyter::Message::GetHitTime ( ) const
inline

Definition at line 287 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldHitTs().

Here is the call graph for this function:

◆ GetHitTime() [2/2]

uint16_t stsxyter::Message::GetHitTime ( ) const
inline

Definition at line 287 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldHitTs().

Here is the call graph for this function:

◆ GetHitTimeBinning() [1/2]

uint16_t stsxyter::Message::GetHitTimeBinning ( ) const
inline

!!

Definition at line 291 of file StsXyterMessage.h.

References GetBit(), GetField(), and stsxyter::kFieldHitTs().

Referenced by BmnConverterThread::FillVSP(), and BmnRawSource::FillVSP().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetHitTimeBinning() [2/2]

uint16_t stsxyter::Message::GetHitTimeBinning ( ) const
inline

!!

Definition at line 291 of file StsXyterMessage.h.

References GetBit(), GetField(), and stsxyter::kFieldHitTs().

Here is the call graph for this function:

◆ GetHitTimeFull() [1/2]

uint16_t stsxyter::Message::GetHitTimeFull ( ) const
inline

Definition at line 281 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldHitTsFull().

Here is the call graph for this function:

◆ GetHitTimeFull() [2/2]

uint16_t stsxyter::Message::GetHitTimeFull ( ) const
inline

Definition at line 281 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldHitTsFull().

Here is the call graph for this function:

◆ GetHitTimeOver() [1/2]

uint16_t stsxyter::Message::GetHitTimeOver ( ) const
inline

Definition at line 284 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldHitTsOver().

Here is the call graph for this function:

◆ GetHitTimeOver() [2/2]

uint16_t stsxyter::Message::GetHitTimeOver ( ) const
inline

Definition at line 284 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldHitTsOver().

Here is the call graph for this function:

◆ GetLinkIndex() [1/2]

uint16_t stsxyter::Message::GetLinkIndex ( ) const
inline

Definition at line 252 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldLinkIndex().

Here is the call graph for this function:

◆ GetLinkIndex() [2/2]

uint16_t stsxyter::Message::GetLinkIndex ( ) const
inline

Definition at line 252 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldLinkIndex().

Here is the call graph for this function:

◆ GetLinkIndexHitBinning() [1/2]

uint16_t stsxyter::Message::GetLinkIndexHitBinning ( ) const
inline

!!

Definition at line 298 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldLinkIndex().

Referenced by BmnConverterThread::FillVSP(), and BmnRawSource::FillVSP().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetLinkIndexHitBinning() [2/2]

uint16_t stsxyter::Message::GetLinkIndexHitBinning ( ) const
inline

!!

Definition at line 298 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldLinkIndex().

Here is the call graph for this function:

◆ GetMessType() [1/2]

MessType stsxyter::Message::GetMessType ( ) const
inline

Definition at line 260 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 BmnConverterThread::FillVSP(), and BmnRawSource::FillVSP().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetMessType() [2/2]

MessType stsxyter::Message::GetMessType ( ) const
inline

Definition at line 260 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.

Here is the call graph for this function:

◆ GetMsErrorType() [1/2]

uint16_t stsxyter::Message::GetMsErrorType ( ) const
inline

Definition at line 394 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldMsErrType().

Here is the call graph for this function:

◆ GetMsErrorType() [2/2]

uint16_t stsxyter::Message::GetMsErrorType ( ) const
inline

Definition at line 394 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldMsErrType().

Here is the call graph for this function:

◆ GetStatusDpbTs() [1/2]

uint16_t stsxyter::Message::GetStatusDpbTs ( ) const
inline

Definition at line 366 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldStatDpbTs().

Here is the call graph for this function:

◆ GetStatusDpbTs() [2/2]

uint16_t stsxyter::Message::GetStatusDpbTs ( ) const
inline

Definition at line 366 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldStatDpbTs().

Here is the call graph for this function:

◆ GetStatusLink() [1/2]

uint16_t stsxyter::Message::GetStatusLink ( ) const
inline

Definition at line 357 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldStatLinkId().

Here is the call graph for this function:

◆ GetStatusLink() [2/2]

uint16_t stsxyter::Message::GetStatusLink ( ) const
inline

Definition at line 357 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldStatLinkId().

Here is the call graph for this function:

◆ GetStatusStatus() [1/2]

uint16_t stsxyter::Message::GetStatusStatus ( ) const
inline

Definition at line 363 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldStatStatus().

Here is the call graph for this function:

◆ GetStatusStatus() [2/2]

uint16_t stsxyter::Message::GetStatusStatus ( ) const
inline

Definition at line 363 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldStatStatus().

Here is the call graph for this function:

◆ GetStatusSxTs() [1/2]

uint16_t stsxyter::Message::GetStatusSxTs ( ) const
inline

Definition at line 360 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldStatSxTs().

Here is the call graph for this function:

◆ GetStatusSxTs() [2/2]

uint16_t stsxyter::Message::GetStatusSxTs ( ) const
inline

Definition at line 360 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldStatSxTs().

Here is the call graph for this function:

◆ GetSubType() [1/2]

MessSubType stsxyter::Message::GetSubType ( ) const
inline

Definition at line 324 of file StsXyterMessage.h.

References stsxyter::Empty, stsxyter::Epoch, GetField(), stsxyter::kFieldSubtype(), stsxyter::Status, and stsxyter::TsMsb.

Referenced by GetMessType(), and IsTsMsb().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSubType() [2/2]

MessSubType stsxyter::Message::GetSubType ( ) const
inline

Definition at line 324 of file StsXyterMessage.h.

References stsxyter::Empty, stsxyter::Epoch, GetField(), stsxyter::kFieldSubtype(), stsxyter::Status, and stsxyter::TsMsb.

Here is the call graph for this function:

◆ GetTsMsbVal() [1/2]

uint32_t stsxyter::Message::GetTsMsbVal ( ) const
inline

Definition at line 340 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldTsMsbVal().

Here is the call graph for this function:

◆ GetTsMsbVal() [2/2]

uint32_t stsxyter::Message::GetTsMsbVal ( ) const
inline

Definition at line 340 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldTsMsbVal().

Here is the call graph for this function:

◆ GetTsMsbValBinning() [1/2]

uint32_t stsxyter::Message::GetTsMsbValBinning ( ) const
inline

Definition at line 343 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldTsMsbValBinning().

Referenced by BmnConverterThread::FillVSP(), and BmnRawSource::FillVSP().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTsMsbValBinning() [2/2]

uint32_t stsxyter::Message::GetTsMsbValBinning ( ) const
inline

Definition at line 343 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldTsMsbValBinning().

Here is the call graph for this function:

◆ IsCpFlagOn() [1/2]

bool stsxyter::Message::IsCpFlagOn ( ) const
inline

Definition at line 369 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldStatCpFlag().

Here is the call graph for this function:

◆ IsCpFlagOn() [2/2]

bool stsxyter::Message::IsCpFlagOn ( ) const
inline

Definition at line 369 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldStatCpFlag().

Here is the call graph for this function:

◆ IsDummy() [1/2]

bool stsxyter::Message::IsDummy ( ) const
inline

Definition at line 256 of file StsXyterMessage.h.

References GetHitAdc(), and IsHit().

Here is the call graph for this function:

◆ IsDummy() [2/2]

bool stsxyter::Message::IsDummy ( ) const
inline

Definition at line 256 of file StsXyterMessage.h.

References GetHitAdc(), and IsHit().

Here is the call graph for this function:

◆ IsEmptyMsg() [1/2]

bool stsxyter::Message::IsEmptyMsg ( ) const
inline

Definition at line 388 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldEmptyFlag().

Referenced by GetMessType().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsEmptyMsg() [2/2]

bool stsxyter::Message::IsEmptyMsg ( ) const
inline

Definition at line 388 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldEmptyFlag().

Here is the call graph for this function:

◆ IsHit() [1/2]

bool stsxyter::Message::IsHit ( ) const
inline

Definition at line 254 of file StsXyterMessage.h.

References GetFlag(), and stsxyter::kFieldNotHitFlag().

Referenced by IsDummy(), and IsTsMsb().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsHit() [2/2]

bool stsxyter::Message::IsHit ( ) const
inline

Definition at line 254 of file StsXyterMessage.h.

References GetFlag(), and stsxyter::kFieldNotHitFlag().

Here is the call graph for this function:

◆ IsHitMissedEvts() [1/2]

bool stsxyter::Message::IsHitMissedEvts ( ) const
inline

Definition at line 301 of file StsXyterMessage.h.

References GetFlag(), and stsxyter::kFieldHitEmFlag().

Referenced by BmnConverterThread::FillVSP(), and BmnRawSource::FillVSP().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsHitMissedEvts() [2/2]

bool stsxyter::Message::IsHitMissedEvts ( ) const
inline

Definition at line 301 of file StsXyterMessage.h.

References GetFlag(), and stsxyter::kFieldHitEmFlag().

Here is the call graph for this function:

◆ IsMsErrorFlagOn() [1/2]

bool stsxyter::Message::IsMsErrorFlagOn ( ) const
inline

Definition at line 391 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldMsErrFlag().

Here is the call graph for this function:

◆ IsMsErrorFlagOn() [2/2]

bool stsxyter::Message::IsMsErrorFlagOn ( ) const
inline

Definition at line 391 of file StsXyterMessage.h.

References GetField(), and stsxyter::kFieldMsErrFlag().

Here is the call graph for this function:

◆ IsTsMsb() [1/2]

bool stsxyter::Message::IsTsMsb ( ) const
inline

Definition at line 258 of file StsXyterMessage.h.

References GetSubType(), IsHit(), and stsxyter::TsMsb.

Here is the call graph for this function:

◆ IsTsMsb() [2/2]

bool stsxyter::Message::IsTsMsb ( ) const
inline

Definition at line 258 of file StsXyterMessage.h.

References GetSubType(), IsHit(), and stsxyter::TsMsb.

Here is the call graph for this function:

◆ operator=() [1/2]

Message & stsxyter::Message::operator= ( const Message & src)
inline

Definition at line 197 of file StsXyterMessage.h.

References Message(), and assign().

Here is the call graph for this function:

◆ operator=() [2/2]

Message & stsxyter::Message::operator= ( const Message & src)
inline

Definition at line 197 of file StsXyterMessage.h.

References Message(), and assign().

Here is the call graph for this function:

◆ PrintMess() [1/2]

bool stsxyter::Message::PrintMess ( std::ostream & os,
MessagePrintMask ctrl = MessagePrintMask::msg_print_Human,
bool bBinning = true ) const

◆ PrintMess() [2/2]

bool stsxyter::Message::PrintMess ( std::ostream & os,
MessagePrintMask ctrl = MessagePrintMask::msg_print_Human,
bool bBinning = true ) const

◆ PrintMessType() [1/2]

std::string stsxyter::Message::PrintMessType ( MessType type)
static

◆ PrintMessType() [2/2]

std::string stsxyter::Message::PrintMessType ( MessType type)
static

◆ reset() [1/2]

void stsxyter::Message::reset ( )
inline

Definition at line 203 of file StsXyterMessage.h.

References fuData.

◆ reset() [2/2]

void stsxyter::Message::reset ( )
inline

Definition at line 203 of file StsXyterMessage.h.

References fuData.

◆ SetBit() [1/4]

void stsxyter::Message::SetBit ( MessField field,
uint8_t ucValue )
inline

Definition at line 248 of file StsXyterMessage.h.

References stsxyter::MessField::fusPos, and SetBit().

Referenced by SetBit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetBit() [2/4]

void stsxyter::Message::SetBit ( MessField field,
uint8_t ucValue )
inline

Definition at line 248 of file StsXyterMessage.h.

References SetBit().

Referenced by SetBit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetBit() [3/4]

void stsxyter::Message::SetBit ( uint32_t uShift,
uint8_t uValue )
inline

Definition at line 234 of file StsXyterMessage.h.

References fuData.

Referenced by SetHitMissEvtsFlag().

Here is the caller graph for this function:

◆ SetBit() [4/4]

void stsxyter::Message::SetBit ( uint32_t uShift,
uint8_t uValue )
inline

Definition at line 234 of file StsXyterMessage.h.

References fuData.

◆ SetCpFlag() [1/2]

void stsxyter::Message::SetCpFlag ( bool bVal)
inline

Definition at line 384 of file StsXyterMessage.h.

References stsxyter::kFieldStatCpFlag(), and SetField().

Here is the call graph for this function:

◆ SetCpFlag() [2/2]

void stsxyter::Message::SetCpFlag ( bool bVal)
inline

Definition at line 384 of file StsXyterMessage.h.

References stsxyter::kFieldStatCpFlag(), and SetField().

Here is the call graph for this function:

◆ SetData() [1/2]

void stsxyter::Message::SetData ( uint32_t uValue)
inline

Definition at line 207 of file StsXyterMessage.h.

References fuData.

◆ SetData() [2/2]

void stsxyter::Message::SetData ( uint32_t uValue)
inline

Definition at line 207 of file StsXyterMessage.h.

References fuData.

◆ SetEmptyMsgFlag() [1/2]

void stsxyter::Message::SetEmptyMsgFlag ( bool bVal)
inline

Definition at line 397 of file StsXyterMessage.h.

References stsxyter::kFieldEmptyFlag(), and SetField().

Here is the call graph for this function:

◆ SetEmptyMsgFlag() [2/2]

void stsxyter::Message::SetEmptyMsgFlag ( bool bVal)
inline

Definition at line 397 of file StsXyterMessage.h.

References stsxyter::kFieldEmptyFlag(), and SetField().

Here is the call graph for this function:

◆ SetEpochVal() [1/2]

void stsxyter::Message::SetEpochVal ( uint32_t uVal)
inline

Definition at line 353 of file StsXyterMessage.h.

References stsxyter::kFieldEpochVal(), and SetField().

Here is the call graph for this function:

◆ SetEpochVal() [2/2]

void stsxyter::Message::SetEpochVal ( uint32_t uVal)
inline

Definition at line 353 of file StsXyterMessage.h.

References stsxyter::kFieldEpochVal(), and SetField().

Here is the call graph for this function:

◆ SetField() [1/4]

void stsxyter::Message::SetField ( MessField field,
uint32_t uValue )
inline

Definition at line 247 of file StsXyterMessage.h.

References stsxyter::MessField::fusLen, stsxyter::MessField::fusPos, and SetField().

Referenced by SetField().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetField() [2/4]

void stsxyter::Message::SetField ( MessField field,
uint32_t uValue )
inline

Definition at line 247 of file StsXyterMessage.h.

References SetField().

Referenced by SetField().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetField() [3/4]

void stsxyter::Message::SetField ( uint32_t uShift,
uint32_t uLen,
uint32_t uValue )
inline

Definition at line 228 of file StsXyterMessage.h.

References fuData.

Referenced by SetCpFlag(), SetEmptyMsgFlag(), SetEpochVal(), SetHitAdc(), SetHitChannel(), SetHitTime(), SetHitTimeFull(), SetHitTimeOver(), SetMsErrorFlag(), SetMsErrorType(), SetStatusDpbTs(), SetStatusLink(), SetStatusStatus(), SetStatusSxTs(), and SetTsMsbVal().

Here is the caller graph for this function:

◆ SetField() [4/4]

void stsxyter::Message::SetField ( uint32_t uShift,
uint32_t uLen,
uint32_t uValue )
inline

Definition at line 228 of file StsXyterMessage.h.

References fuData.

◆ SetHitAdc() [1/2]

void stsxyter::Message::SetHitAdc ( uint16_t usVal)
inline

Definition at line 307 of file StsXyterMessage.h.

References stsxyter::kFieldHitAdc(), and SetField().

Here is the call graph for this function:

◆ SetHitAdc() [2/2]

void stsxyter::Message::SetHitAdc ( uint16_t usVal)
inline

Definition at line 307 of file StsXyterMessage.h.

References stsxyter::kFieldHitAdc(), and SetField().

Here is the call graph for this function:

◆ SetHitChannel() [1/2]

void stsxyter::Message::SetHitChannel ( uint16_t usVal)
inline

Definition at line 304 of file StsXyterMessage.h.

References stsxyter::kFieldHitChannel(), and SetField().

Here is the call graph for this function:

◆ SetHitChannel() [2/2]

void stsxyter::Message::SetHitChannel ( uint16_t usVal)
inline

Definition at line 304 of file StsXyterMessage.h.

References stsxyter::kFieldHitChannel(), and SetField().

Here is the call graph for this function:

◆ SetHitMissEvtsFlag() [1/2]

void stsxyter::Message::SetHitMissEvtsFlag ( bool bVal)
inline

Definition at line 319 of file StsXyterMessage.h.

References stsxyter::kFieldHitEmFlag(), and SetBit().

Here is the call graph for this function:

◆ SetHitMissEvtsFlag() [2/2]

void stsxyter::Message::SetHitMissEvtsFlag ( bool bVal)
inline

Definition at line 319 of file StsXyterMessage.h.

References stsxyter::kFieldHitEmFlag(), and SetBit().

Here is the call graph for this function:

◆ SetHitTime() [1/2]

void stsxyter::Message::SetHitTime ( uint16_t usVal)
inline

Definition at line 316 of file StsXyterMessage.h.

References stsxyter::kFieldHitTs(), and SetField().

Here is the call graph for this function:

◆ SetHitTime() [2/2]

void stsxyter::Message::SetHitTime ( uint16_t usVal)
inline

Definition at line 316 of file StsXyterMessage.h.

References stsxyter::kFieldHitTs(), and SetField().

Here is the call graph for this function:

◆ SetHitTimeFull() [1/2]

void stsxyter::Message::SetHitTimeFull ( uint16_t usVal)
inline

Definition at line 310 of file StsXyterMessage.h.

References stsxyter::kFieldHitTsFull(), and SetField().

Here is the call graph for this function:

◆ SetHitTimeFull() [2/2]

void stsxyter::Message::SetHitTimeFull ( uint16_t usVal)
inline

Definition at line 310 of file StsXyterMessage.h.

References stsxyter::kFieldHitTsFull(), and SetField().

Here is the call graph for this function:

◆ SetHitTimeOver() [1/2]

void stsxyter::Message::SetHitTimeOver ( uint16_t usVal)
inline

Definition at line 313 of file StsXyterMessage.h.

References stsxyter::kFieldHitTsOver(), and SetField().

Here is the call graph for this function:

◆ SetHitTimeOver() [2/2]

void stsxyter::Message::SetHitTimeOver ( uint16_t usVal)
inline

Definition at line 313 of file StsXyterMessage.h.

References stsxyter::kFieldHitTsOver(), and SetField().

Here is the call graph for this function:

◆ SetMsErrorFlag() [1/2]

void stsxyter::Message::SetMsErrorFlag ( bool bVal)
inline

Definition at line 400 of file StsXyterMessage.h.

References stsxyter::kFieldMsErrFlag(), and SetField().

Here is the call graph for this function:

◆ SetMsErrorFlag() [2/2]

void stsxyter::Message::SetMsErrorFlag ( bool bVal)
inline

Definition at line 400 of file StsXyterMessage.h.

References stsxyter::kFieldMsErrFlag(), and SetField().

Here is the call graph for this function:

◆ SetMsErrorType() [1/2]

void stsxyter::Message::SetMsErrorType ( uint16_t usVal)
inline

Definition at line 403 of file StsXyterMessage.h.

References stsxyter::kFieldMsErrType(), and SetField().

Here is the call graph for this function:

◆ SetMsErrorType() [2/2]

void stsxyter::Message::SetMsErrorType ( uint16_t usVal)
inline

Definition at line 403 of file StsXyterMessage.h.

References stsxyter::kFieldMsErrType(), and SetField().

Here is the call graph for this function:

◆ SetStatusDpbTs() [1/2]

void stsxyter::Message::SetStatusDpbTs ( uint16_t usVal)
inline

Definition at line 381 of file StsXyterMessage.h.

References stsxyter::kFieldStatDpbTs(), and SetField().

Here is the call graph for this function:

◆ SetStatusDpbTs() [2/2]

void stsxyter::Message::SetStatusDpbTs ( uint16_t usVal)
inline

Definition at line 381 of file StsXyterMessage.h.

References stsxyter::kFieldStatDpbTs(), and SetField().

Here is the call graph for this function:

◆ SetStatusLink() [1/2]

void stsxyter::Message::SetStatusLink ( uint16_t usVal)
inline

Definition at line 372 of file StsXyterMessage.h.

References stsxyter::kFieldStatLinkId(), and SetField().

Here is the call graph for this function:

◆ SetStatusLink() [2/2]

void stsxyter::Message::SetStatusLink ( uint16_t usVal)
inline

Definition at line 372 of file StsXyterMessage.h.

References stsxyter::kFieldStatLinkId(), and SetField().

Here is the call graph for this function:

◆ SetStatusStatus() [1/2]

void stsxyter::Message::SetStatusStatus ( uint16_t usVal)
inline

Definition at line 378 of file StsXyterMessage.h.

References stsxyter::kFieldStatStatus(), and SetField().

Here is the call graph for this function:

◆ SetStatusStatus() [2/2]

void stsxyter::Message::SetStatusStatus ( uint16_t usVal)
inline

Definition at line 378 of file StsXyterMessage.h.

References stsxyter::kFieldStatStatus(), and SetField().

Here is the call graph for this function:

◆ SetStatusSxTs() [1/2]

void stsxyter::Message::SetStatusSxTs ( uint16_t usVal)
inline

Definition at line 375 of file StsXyterMessage.h.

References stsxyter::kFieldStatSxTs(), and SetField().

Here is the call graph for this function:

◆ SetStatusSxTs() [2/2]

void stsxyter::Message::SetStatusSxTs ( uint16_t usVal)
inline

Definition at line 375 of file StsXyterMessage.h.

References stsxyter::kFieldStatSxTs(), and SetField().

Here is the call graph for this function:

◆ SetTsMsbVal() [1/2]

void stsxyter::Message::SetTsMsbVal ( uint32_t uVal)
inline

Definition at line 346 of file StsXyterMessage.h.

References stsxyter::kFieldTsMsbVal(), and SetField().

Here is the call graph for this function:

◆ SetTsMsbVal() [2/2]

void stsxyter::Message::SetTsMsbVal ( uint32_t uVal)
inline

Definition at line 346 of file StsXyterMessage.h.

References stsxyter::kFieldTsMsbVal(), and SetField().

Here is the call graph for this function:

Member Data Documentation

◆ fuData

uint32_t stsxyter::Message::fuData
protected

The documentation for this class was generated from the following files: