Go to the documentation of this file.
39 const uint8_t* cArrByt =
reinterpret_cast<const uint8_t*
>(&
fuData);
42 char cPrev = os.fill(
'0');
43 os <<
"BE = " << std::hex << std::setw(2)
44 <<
static_cast<uint16_t
>(cArrByt[0]) <<
":" << std::setw(2)
45 <<
static_cast<uint16_t
>(cArrByt[1]) <<
":" << std::setw(2)
46 <<
static_cast<uint16_t
>(cArrByt[2]) <<
":" << std::setw(2)
47 <<
static_cast<uint16_t
>(cArrByt[3]) <<
" LE = " << std::hex
48 << std::setw(2) <<
static_cast<uint16_t
>(cArrByt[3]) <<
":"
49 << std::setw(2) <<
static_cast<uint16_t
>(cArrByt[2]) <<
":"
50 << std::setw(2) <<
static_cast<uint16_t
>(cArrByt[1]) <<
":"
51 << std::setw(2) <<
static_cast<uint16_t
>(cArrByt[0]) << std::dec
68 <<
" Adc: " << std::setw(2) <<
GetHitAdc()
71 <<
" Ts: " << std::setw(3) <<
GetHitTime() <<
" Missed? "
76 os <<
" TS_MSB => " << std::setw(12) <<
GetTsMsbVal();
80 os <<
" Epoch => " << std::setw(12) <<
GetEpochVal();
86 <<
" Smx TS: " << std::setw(2) <<
GetStatusSxTs() <<
" Status: 0x"
uint16_t GetStatusDpbTs() const
For Status data: Returns the DPB TS when frame received (9 bit field)
uint32_t GetTsMsbVal() const
For TS MSB data: Returns the TS MSB 22 bit field)
uint16_t GetLinkIndex() const
For all data: Returns the (global) index of the eLink on which the message was received (n bit field)
uint16_t GetHitTimeFull() const
For Hit data: Returns Full timestamp (10 bit field including 2 bits overlap)
bool IsHitMissedEvts() const
For Hit data: Returns Missed event flag (1 bit field)
uint16_t GetHitAdc() const
For Hit data: Returns ADC value (5 bit field)
uint32_t GetEpochVal() const
For Epoch data: Returns the Epoch (29 bit field)
uint16_t GetStatusSxTs() const
For Status data: Returns the SMX TS from ACK frame (6 bit field)
MessagePrintMask
Printout control.
uint16_t GetStatusStatus() const
For Status data: Returns the Status field from ACK frame (4 bit field)
MessType GetMessType() const
Returns the message type, see enum MessType.
MessSubType
Non-hit Message sub-types.
uint16_t GetHitChannel() const
For Hit data: Returns StsXYTER channel number (7 bit field)
uint16_t GetStatusLink() const
For Status data: Returns the Link Inedx (9 bit field)
bool PrintMess(std::ostream &os, MessagePrintMask ctrl=MessagePrintMask::msg_print_Human) const
uint32_t GetField(uint32_t uShift, uint32_t uLen) const
uint16_t GetHitTimeOver() const
For Hit data: Returns timestamp overlap bits (2 bits field, overlap with 2 LSBs of TS_MSB message)
bool IsCpFlagOn() const
For Status data: Returns the CP flag from ACK frame (1 bit field)
MessSubType GetSubType() const
For non-Hit data: Returns subtype (2 bit field)
uint16_t GetHitTime() const
For Hit data: Returns timestamp (8 bit field, 2 MSB bits overlap removed)
static const MessField kFieldSubtype(kusPosSubtype, kusLenSubtype)