CbmRoot
|
#include <gDpbMessv100.h>
Public Member Functions | |
Message () | |
Message (const Message &src) | |
Message (uint64_t dataIn) | |
~Message () | |
void | assign (const Message &src) |
Message & | operator= (const Message &src) |
void | reset () |
uint64_t | getData () const |
void | setData (uint64_t value) |
uint64_t | getFieldLong (uint32_t shift, uint32_t len) const |
uint32_t | getField (uint32_t shift, uint32_t len) const |
void | setField (uint32_t shift, uint32_t len, uint32_t value) |
void | setFieldLong (uint32_t shift, uint32_t len, uint64_t value) |
uint8_t | getBit (uint32_t shift) const |
void | setBit (uint32_t shift, uint8_t value) |
uint32_t | getFieldBE (uint32_t shift, uint32_t len) const |
uint8_t | getBitBE (uint32_t shift) const |
uint64_t | dataBE () const |
uint8_t | getMessageType () const |
Returns the message type. Valid for all message types. 4 bit. | |
void | setMessageType (uint8_t v) |
Sets the message type field in the current message. | |
uint16_t | getGdpbGenGdpbId () const |
void | setGdpbGenGdpbId (uint32_t v) |
uint16_t | getGdpbGenChipId () const |
void | setGdpbGenChipId (uint32_t v) |
uint16_t | getGdpbHitIs24b () const |
uint16_t | getGdpbHitChanId () const |
uint32_t | getGdpbHitFullTs () const |
uint16_t | getGdpbHitCoarse () const |
uint16_t | getGdpbHitFineTs () const |
bool | getGdpbHit24Edge () const |
bool | getGdpbHit32DllLck () const |
uint16_t | getGdpbHit32Tot () const |
bool | getGdpbEpLinkId () const |
uint32_t | getGdpbEpEpochNb () const |
bool | getGdpbEpSync () const |
bool | getGdpbEpDataLoss () const |
bool | getGdpbEpEpochLoss () const |
bool | getGdpbEpMissmatch () const |
uint32_t | getGdpbSlcMess () const |
uint32_t | getGdpbSlcChan () const |
uint32_t | getGdpbSlcEdge () const |
uint32_t | getGdpbSlcType () const |
uint32_t | getGdpbSlcData () const |
uint16_t | getGdpbSysSubType () const |
bool | getGdpbSysLinkId () const |
bool | getGdpbSysErrRoType () const |
uint16_t | getGdpbSysErrUnused () const |
uint16_t | getGdpbSysErrInfo () const |
uint16_t | getGdpbSysErrChanId () const |
bool | getGdpbSysErrEdge () const |
uint16_t | getGdpbSysErrData () const |
uint32_t | getGdpbSysUnkwData () const |
uint32_t | getGdpbSysFwErrResync () const |
uint16_t | getGdpbSysPattType () const |
uint16_t | getGdpbSysPattIndex () const |
uint32_t | getGdpbSysPattPattern () const |
uint16_t | getStarTrigMsgIndex () const |
uint64_t | getGdpbTsMsbStarA () const |
uint64_t | getGdpbTsLsbStarB () const |
uint64_t | getStarTsMsbStarB () const |
uint64_t | getStarTsMidStarC () const |
uint64_t | getStarTsLsbStarD () const |
uint32_t | getStarFillerD () const |
12 bits in between are set to 0 | |
uint32_t | getStarTrigCmdStarD () const |
uint32_t | getStarDaqCmdStarD () const |
uint32_t | getStarTokenStarD () const |
void | setGdpbEpEpochNb (uint32_t v) |
void | setGdpbSysSubType (uint16_t v) |
void | setGdpbSysPattType (uint16_t v) |
void | setGdpbSysPattIndex (uint16_t v) |
void | setGdpbSysPattPattern (uint32_t v) |
void | setStarTrigMsgIndex (uint8_t v) |
void | setGdpbTsMsbStarA (uint64_t fullGdpbTs) |
void | setGdpbTsLsbStarB (uint64_t fullGdpbTs) |
void | setStarTsMsbStarB (uint64_t fullStarTs) |
void | setStarTsMidStarC (uint64_t fullStarTs) |
void | setStarTsLsbStarD (uint64_t fullStarTs) |
void | setStarFillerD () |
12 bits in between are set to 0 | |
void | setStarTrigCmdStarD (uint8_t v) |
void | setStarDaqCmdStarD (uint8_t v) |
void | setStarTokenStarD (uint16_t v) |
bool | isHitMsg () const |
Returns true is message type is MSG_HIT (Get4 hit data) | |
bool | isEpochMsg () const |
Returns true is message type is MSG_EPOCH (epoch2 marker) | |
bool | isGet4SlCtrMsg () const |
Returns true is message type is MSG_SLOWC (GET4 Slow Control) | |
bool | isSysMsg () const |
Returns true is message type is MSG_SYST (system message) | |
bool | isStarTrigger () const |
Returns true is message type is MSG_STAR_TRI_A, _B, _C, _D (STAR Trigger message) | |
void | printDataCout (unsigned kind=msg_print_Prefix|msg_print_Data, uint32_t epoch=0) const |
Print message in human readable format to cout. | |
void | printDataLog (unsigned kind=msg_print_Prefix|msg_print_Data, uint32_t epoch=0) const |
Print message in human readable format to the Fairroot logger. | |
void | printData (unsigned outType=msg_print_Cout, unsigned kind=msg_print_Human, uint32_t epoch=0, std::ostream &os=std::cout) const |
Print message in binary or human readable format to a stream. | |
uint64_t | getMsgFullTime (uint64_t epoch) const |
Returns expanded and adjusted time of message (in ns) | |
double | getMsgFullTimeD (uint64_t epoch) const |
Returns expanded and adjusted time of message in double (in ns) | |
bool | operator< (const gdpbv100::Message &other) const |
strict weak ordering operator, assumes same epoch for both messages | |
bool | operator== (const gdpbv100::Message &other) const |
equality operator, assumes same epoch for both messages | |
bool | operator!= (const gdpbv100::Message &other) const |
inequality operator, assumes same epoch for both messages | |
Static Public Member Functions | |
static uint64_t | FullTimeStamp (uint64_t epoch, uint32_t ts) |
Expanded timestamp for 160 MHz * 19 bit (12 + 7) epochs. | |
static uint64_t | CalcDistance (uint64_t start, uint64_t stop) |
Returns the time difference between two expanded time stamps. | |
static double | CalcDistanceD (double start, double stop) |
Returns the time difference between two expanded time stamps. | |
Protected Attributes | |
uint64_t | data |
Definition at line 134 of file gDpbMessv100.h.
|
inline |
Definition at line 140 of file gDpbMessv100.h.
|
inline |
Definition at line 142 of file gDpbMessv100.h.
|
inline |
Definition at line 144 of file gDpbMessv100.h.
|
inline |
Definition at line 146 of file gDpbMessv100.h.
|
inline |
Definition at line 148 of file gDpbMessv100.h.
References data.
Referenced by gdpbv100::FullMessage::assign(), and operator=().
|
static |
Returns the time difference between two expanded time stamps.
Definition at line 127 of file gDpbMessv100.cxx.
|
static |
Returns the time difference between two expanded time stamps.
Definition at line 144 of file gDpbMessv100.cxx.
|
inline |
Definition at line 196 of file gDpbMessv100.h.
References data.
Referenced by getBitBE(), and getFieldBE().
|
inlinestatic |
Expanded timestamp for 160 MHz * 19 bit (12 + 7) epochs.
Definition at line 331 of file gDpbMessv100.h.
|
inline |
Definition at line 183 of file gDpbMessv100.h.
References data.
Referenced by getGdpbEpDataLoss(), getGdpbEpEpochLoss(), getGdpbEpLinkId(), getGdpbEpMissmatch(), getGdpbEpSync(), getGdpbHit24Edge(), getGdpbHit32DllLck(), getGdpbHitIs24b(), getGdpbSlcEdge(), getGdpbSysErrEdge(), getGdpbSysErrRoType(), getGdpbSysFwErrResync(), and getGdpbSysLinkId().
|
inline |
Definition at line 195 of file gDpbMessv100.h.
References dataBE().
|
inline |
Definition at line 158 of file gDpbMessv100.h.
References data.
Referenced by CbmMcbm2018MonitorTof::PrintGenInfo(), CbmMcbm2018MonitorTofPulser::PrintGenInfo(), CbmMcbm2018TofTestFee::PrintGenInfo(), CbmStar2019MonitorTof::PrintGenInfo(), CbmMcbm2018MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorTofPulser::PrintSysInfo(), CbmMcbm2018TofTestFee::PrintSysInfo(), CbmStar2019MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorAlgoTof::ProcessEpoch(), CbmStar2019MonitorAlgo::ProcessEpoch(), CbmMcbm2018MonitorAlgoTof::ProcessSysMess(), CbmMcbm2018UnpackerAlgoTof::ProcessSysMess(), CbmStar2019EventBuilderEtofAlgo::ProcessSysMess(), and CbmStar2019MonitorAlgo::ProcessSysMess().
|
inline |
Definition at line 166 of file gDpbMessv100.h.
References data.
Referenced by getGdpbEpEpochNb(), getGdpbGenChipId(), getGdpbGenGdpbId(), getGdpbHit32Tot(), getGdpbHitChanId(), getGdpbHitCoarse(), getGdpbHitFineTs(), getGdpbHitFullTs(), getGdpbSlcChan(), getGdpbSlcData(), getGdpbSlcMess(), getGdpbSlcType(), getGdpbSysErrChanId(), getGdpbSysErrData(), getGdpbSysErrInfo(), getGdpbSysErrUnused(), getGdpbSysPattIndex(), getGdpbSysPattPattern(), getGdpbSysPattType(), getGdpbSysSubType(), getGdpbSysUnkwData(), getMessageType(), getStarDaqCmdStarD(), getStarFillerD(), getStarTokenStarD(), getStarTrigCmdStarD(), and getStarTrigMsgIndex().
|
inline |
Definition at line 191 of file gDpbMessv100.h.
References dataBE().
|
inline |
Definition at line 161 of file gDpbMessv100.h.
References data.
Referenced by getGdpbTsLsbStarB(), getGdpbTsMsbStarA(), getStarTsLsbStarD(), getStarTsMidStarC(), and getStarTsMsbStarB().
|
inline |
Definition at line 234 of file gDpbMessv100.h.
References getBit().
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmMcbm2018MonitorTofPulser::DoUnpack(), CbmMcbm2018TofTestFee::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmMcbm2018MonitorTof::FillEpochInfo(), CbmStar2019MonitorTof::FillEpochInfo(), CbmMcbm2018MonitorAlgoTof::ProcessEpoch(), and CbmStar2019MonitorAlgo::ProcessEpoch().
|
inline |
Definition at line 235 of file gDpbMessv100.h.
References getBit().
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmMcbm2018MonitorTofPulser::DoUnpack(), CbmMcbm2018TofTestFee::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmMcbm2018MonitorTof::FillEpochInfo(), CbmStar2019MonitorTof::FillEpochInfo(), CbmMcbm2018MonitorAlgoTof::ProcessEpoch(), and CbmStar2019MonitorAlgo::ProcessEpoch().
|
inline |
Definition at line 232 of file gDpbMessv100.h.
References getField().
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmMcbm2018MonitorTofPulser::DoUnpack(), CbmMcbm2018TofTestFee::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmMcbm2018MonitorTof::FillEpochInfo(), CbmMcbm2018MonitorTofPulser::FillEpochInfo(), CbmMcbm2018TofTestFee::FillEpochInfo(), CbmStar2019MonitorTof::FillEpochInfo(), CbmMcbm2018MonitorMcbmPulser::FillTofEpochInfo(), CbmMcbm2018MonitorMcbmRate::FillTofEpochInfo(), CbmMcbm2018MonitorMcbmSync::FillTofEpochInfo(), CbmMcbm2018MonitorAlgoTof::ProcessEpoch(), CbmMcbm2018MonitorAlgoTofPulser::ProcessEpoch(), CbmMcbm2018UnpackerAlgoTof::ProcessEpoch(), CbmStar2019EventBuilderEtofAlgo::ProcessEpoch(), CbmStar2019MonitorAlgo::ProcessEpoch(), and CbmStar2019MonitorPulserAlgo::ProcessEpoch().
|
inline |
Definition at line 231 of file gDpbMessv100.h.
References getBit().
Referenced by CbmMcbm2018MonitorTof::DoUnpack(), CbmMcbm2018MonitorTofPulser::DoUnpack(), CbmMcbm2018TofTestFee::DoUnpack(), and CbmStar2019MonitorTof::DoUnpack().
|
inline |
Definition at line 236 of file gDpbMessv100.h.
References getBit().
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmMcbm2018MonitorTofPulser::DoUnpack(), CbmMcbm2018TofTestFee::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmMcbm2018MonitorTof::FillEpochInfo(), CbmStar2019MonitorTof::FillEpochInfo(), CbmMcbm2018MonitorAlgoTof::ProcessEpoch(), and CbmStar2019MonitorAlgo::ProcessEpoch().
|
inline |
Definition at line 233 of file gDpbMessv100.h.
References getBit().
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmMcbm2018MonitorTofPulser::DoUnpack(), CbmMcbm2018TofTestFee::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmMcbm2018MonitorTof::FillEpochInfo(), CbmStar2019MonitorTof::FillEpochInfo(), CbmMcbm2018MonitorAlgoTof::ProcessEpoch(), and CbmStar2019MonitorAlgo::ProcessEpoch().
|
inline |
Definition at line 215 of file gDpbMessv100.h.
References getField().
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmMcbm2018MonitorTofPulser::DoUnpack(), CbmMcbm2018TofFeeThr::DoUnpack(), CbmMcbm2018TofTestFee::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmStar2019TofFeeThr::DoUnpack(), CbmStar2019MonitorTof::PrintSlcInfo(), CbmMcbm2018MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorTofPulser::PrintSysInfo(), CbmMcbm2018TofTestFee::PrintSysInfo(), CbmStar2019MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorAlgoTof::ProcessError(), CbmStar2019MonitorAlgo::ProcessError(), CbmMcbm2018MonitorAlgoBmon::ProcessMs(), CbmMcbm2018MonitorAlgoTof::ProcessMs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessMs(), CbmMcbm2018UnpackerAlgoTof::ProcessMs(), CbmMcbmSpillFindAlgo::ProcessMs(), CbmStar2019EventBuilderEtofAlgo::ProcessMs(), CbmStar2019MonitorAlgo::ProcessMs(), CbmStar2019MonitorPulserAlgo::ProcessMs(), CbmMcbm2018MonitorAlgoTof::ProcessSysMess(), CbmMcbm2018UnpackerAlgoTof::ProcessSysMess(), CbmStar2019EventBuilderEtofAlgo::ProcessSysMess(), CbmStar2019MonitorAlgo::ProcessSysMess(), CbmMcbm2018MonitorMcbmPulser::ProcessTofMs(), CbmMcbm2018MonitorMcbmRate::ProcessTofMs(), and CbmMcbm2018MonitorMcbmSync::ProcessTofMs().
|
inline |
Definition at line 213 of file gDpbMessv100.h.
References getField().
|
inline |
Definition at line 225 of file gDpbMessv100.h.
References getBit().
|
inline |
Definition at line 227 of file gDpbMessv100.h.
References getBit().
|
inline |
Definition at line 228 of file gDpbMessv100.h.
References getField().
Referenced by CbmMcbm2018MonitorTof::FillHitInfo(), CbmMcbm2018MonitorTofPulser::FillHitInfo(), CbmMcbm2018TofTestFee::FillHitInfo(), CbmStar2019MonitorTof::FillHitInfo(), CbmMcbm2018MonitorAlgoTof::ProcessHit(), CbmMcbm2018MonitorAlgoTofPulser::ProcessHit(), CbmMcbm2018UnpackerAlgoTof::ProcessHit(), CbmStar2019MonitorAlgo::ProcessHit(), CbmStar2019MonitorPulserAlgo::ProcessHit(), CbmMcbm2018MonitorAlgoBmon::ProcessMs(), and CbmMcbmSpillFindAlgo::ProcessMs().
|
inline |
Definition at line 220 of file gDpbMessv100.h.
References getField().
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::FillHitInfo(), CbmMcbm2018MonitorTofPulser::FillHitInfo(), CbmMcbm2018TofTestFee::FillHitInfo(), CbmStar2019MonitorTof::FillHitInfo(), CbmMcbm2018MonitorTof::PrintGenInfo(), CbmMcbm2018MonitorTofPulser::PrintGenInfo(), CbmMcbm2018TofTestFee::PrintGenInfo(), CbmStar2019MonitorTof::PrintGenInfo(), CbmMcbm2018MonitorAlgoTof::ProcessHit(), CbmMcbm2018MonitorAlgoTofPulser::ProcessHit(), CbmMcbm2018UnpackerAlgoTof::ProcessHit(), CbmStar2019EventBuilderEtofAlgo::ProcessHit(), CbmStar2019MonitorAlgo::ProcessHit(), and CbmStar2019MonitorPulserAlgo::ProcessHit().
|
inline |
Definition at line 222 of file gDpbMessv100.h.
References getField().
|
inline |
Definition at line 223 of file gDpbMessv100.h.
References getField().
Referenced by CbmMcbm2018MonitorTof::FillHitInfo(), CbmMcbm2018MonitorTofPulser::FillHitInfo(), CbmMcbm2018TofTestFee::FillHitInfo(), and CbmStar2019MonitorTof::FillHitInfo().
|
inline |
Definition at line 221 of file gDpbMessv100.h.
References getField().
Referenced by CbmMcbm2018MonitorTof::FillHitInfo(), CbmMcbm2018MonitorTofPulser::FillHitInfo(), CbmMcbm2018TofTestFee::FillHitInfo(), CbmStar2019MonitorTof::FillHitInfo(), operator<(), CbmMcbm2018MonitorAlgoTof::ProcessHit(), and CbmStar2019MonitorAlgo::ProcessHit().
|
inline |
Definition at line 219 of file gDpbMessv100.h.
References getBit().
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmMcbm2018MonitorTofPulser::DoUnpack(), CbmMcbm2018TofTestFee::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmMcbm2018MonitorAlgoBmon::ProcessMs(), CbmMcbm2018MonitorAlgoTof::ProcessMs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessMs(), CbmMcbmSpillFindAlgo::ProcessMs(), CbmStar2019EventBuilderEtofAlgo::ProcessMs(), CbmStar2019MonitorAlgo::ProcessMs(), CbmStar2019MonitorPulserAlgo::ProcessMs(), CbmMcbm2018MonitorMcbmPulser::ProcessTofMs(), CbmMcbm2018MonitorMcbmRate::ProcessTofMs(), and CbmMcbm2018MonitorMcbmSync::ProcessTofMs().
|
inline |
Definition at line 240 of file gDpbMessv100.h.
References getField().
Referenced by CbmMcbm2018MonitorTof::PrintSlcInfo(), CbmMcbm2018TofFeeThr::PrintSlcInfo(), CbmStar2019MonitorTof::PrintSlcInfo(), CbmStar2019TofFeeThr::PrintSlcInfo(), CbmMcbm2018MonitorAlgoTof::ProcessSlowCtrl(), and CbmStar2019MonitorAlgo::ProcessSlowCtrl().
|
inline |
Definition at line 243 of file gDpbMessv100.h.
References getField().
Referenced by CbmMcbm2018MonitorTof::PrintSlcInfo(), CbmMcbm2018TofFeeThr::PrintSlcInfo(), CbmStar2019MonitorTof::PrintSlcInfo(), CbmStar2019TofFeeThr::PrintSlcInfo(), CbmMcbm2018MonitorAlgoTof::ProcessSlowCtrl(), and CbmStar2019MonitorAlgo::ProcessSlowCtrl().
|
inline |
Definition at line 241 of file gDpbMessv100.h.
References getBit().
Referenced by CbmMcbm2018MonitorTof::PrintSlcInfo(), CbmMcbm2018TofFeeThr::PrintSlcInfo(), CbmStar2019MonitorTof::PrintSlcInfo(), CbmStar2019TofFeeThr::PrintSlcInfo(), CbmMcbm2018MonitorAlgoTof::ProcessSlowCtrl(), and CbmStar2019MonitorAlgo::ProcessSlowCtrl().
|
inline |
Definition at line 239 of file gDpbMessv100.h.
References getField().
|
inline |
Definition at line 242 of file gDpbMessv100.h.
References getField().
Referenced by CbmMcbm2018MonitorTof::PrintSlcInfo(), CbmMcbm2018TofFeeThr::PrintSlcInfo(), CbmStar2019MonitorTof::PrintSlcInfo(), CbmStar2019TofFeeThr::PrintSlcInfo(), CbmMcbm2018MonitorAlgoTof::ProcessSlowCtrl(), and CbmStar2019MonitorAlgo::ProcessSlowCtrl().
|
inline |
Definition at line 252 of file gDpbMessv100.h.
References getField().
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmMcbm2018MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorTofPulser::PrintSysInfo(), CbmMcbm2018TofTestFee::PrintSysInfo(), CbmStar2019MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorAlgoTof::ProcessError(), CbmStar2019MonitorAlgo::ProcessError(), and CbmStar2019EventBuilderEtofAlgo::ProcessSysMess().
|
inline |
Definition at line 254 of file gDpbMessv100.h.
References getField().
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmMcbm2018MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorTofPulser::PrintSysInfo(), CbmMcbm2018TofTestFee::PrintSysInfo(), CbmStar2019MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorAlgoTof::ProcessError(), CbmMcbm2018UnpackerAlgoTof::ProcessError(), CbmStar2019MonitorAlgo::ProcessError(), CbmMcbm2018MonitorAlgoBmon::ProcessMs(), CbmStar2019EventBuilderEtofAlgo::ProcessSysMess(), and CbmStar2019EventBuilderEtofAlgo::StoreMessageInBuffer().
|
inline |
Definition at line 253 of file gDpbMessv100.h.
References getBit().
Referenced by CbmMcbm2018MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorTofPulser::PrintSysInfo(), CbmMcbm2018TofTestFee::PrintSysInfo(), CbmStar2019MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorAlgoTof::ProcessError(), CbmStar2019MonitorAlgo::ProcessError(), and CbmStar2019EventBuilderEtofAlgo::ProcessSysMess().
|
inline |
Definition at line 251 of file gDpbMessv100.h.
References getField().
|
inline |
Definition at line 249 of file gDpbMessv100.h.
References getBit().
|
inline |
Definition at line 250 of file gDpbMessv100.h.
References getField().
Referenced by CbmMcbm2018MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorTofPulser::PrintSysInfo(), CbmMcbm2018TofTestFee::PrintSysInfo(), CbmStar2019MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorAlgoTof::ProcessError(), CbmStar2019MonitorAlgo::ProcessError(), and CbmStar2019EventBuilderEtofAlgo::ProcessSysMess().
|
inline |
Definition at line 258 of file gDpbMessv100.h.
References getBit().
Referenced by CbmMcbm2018MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorTofPulser::PrintSysInfo(), CbmMcbm2018TofTestFee::PrintSysInfo(), CbmMcbm2018MonitorAlgoTof::ProcessSysMess(), CbmMcbm2018UnpackerAlgoTof::ProcessSysMess(), and CbmStar2019MonitorAlgo::ProcessSysMess().
|
inline |
Definition at line 247 of file gDpbMessv100.h.
References getBit().
|
inline |
Definition at line 261 of file gDpbMessv100.h.
References getField().
Referenced by CbmMcbm2018MonitorTof::FillPattInfo(), CbmStar2019MonitorTof::FillPattInfo(), CbmMcbm2018MonitorAlgoTof::ProcessPattern(), CbmMcbm2018UnpackerAlgoTof::ProcessPattern(), CbmStar2019EventBuilderEtofAlgo::ProcessPattern(), and CbmStar2019MonitorAlgo::ProcessPattern().
|
inline |
Definition at line 262 of file gDpbMessv100.h.
References getField().
Referenced by CbmMcbm2018MonitorTof::FillPattInfo(), CbmStar2019MonitorTof::FillPattInfo(), CbmMcbm2018MonitorAlgoTof::ProcessPattern(), CbmMcbm2018UnpackerAlgoTof::ProcessPattern(), CbmStar2019EventBuilderEtofAlgo::ProcessPattern(), and CbmStar2019MonitorAlgo::ProcessPattern().
|
inline |
Definition at line 260 of file gDpbMessv100.h.
References getField().
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmMcbm2018MonitorTof::FillPattInfo(), CbmStar2019MonitorTof::FillPattInfo(), CbmMcbm2018MonitorAlgoTof::ProcessPattern(), CbmMcbm2018UnpackerAlgoTof::ProcessPattern(), CbmStar2019EventBuilderEtofAlgo::ProcessPattern(), and CbmStar2019MonitorAlgo::ProcessPattern().
|
inline |
Definition at line 246 of file gDpbMessv100.h.
References getField().
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmMcbm2018MonitorTofPulser::DoUnpack(), CbmMcbm2018TofTestFee::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmMcbm2018MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorTofPulser::PrintSysInfo(), CbmMcbm2018TofTestFee::PrintSysInfo(), CbmStar2019MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorAlgoTof::ProcessEpSupprBuffer(), CbmStar2019EventBuilderEtofAlgo::ProcessEpSupprBuffer(), CbmStar2019MonitorAlgo::ProcessEpSupprBuffer(), CbmMcbm2018MonitorAlgoBmon::ProcessMs(), CbmMcbm2018MonitorAlgoTof::ProcessSysMess(), CbmMcbm2018UnpackerAlgoTof::ProcessSysMess(), CbmStar2019EventBuilderEtofAlgo::ProcessSysMess(), CbmStar2019MonitorAlgo::ProcessSysMess(), and CbmStar2019EventBuilderEtofAlgo::StoreMessageInBuffer().
|
inline |
Definition at line 256 of file gDpbMessv100.h.
References getField().
Referenced by CbmMcbm2018MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorTofPulser::PrintSysInfo(), CbmMcbm2018TofTestFee::PrintSysInfo(), CbmStar2019MonitorTof::PrintSysInfo(), CbmMcbm2018MonitorAlgoTof::ProcessSysMess(), CbmMcbm2018UnpackerAlgoTof::ProcessSysMess(), CbmStar2019EventBuilderEtofAlgo::ProcessSysMess(), and CbmStar2019MonitorAlgo::ProcessSysMess().
|
inline |
Definition at line 269 of file gDpbMessv100.h.
References getFieldLong().
Referenced by CbmMcbm2018MonitorTof::FillStarTrigInfo(), CbmMcbm2018MonitorTofPulser::FillStarTrigInfo(), CbmMcbm2018TofTestFee::FillStarTrigInfo(), CbmMcbm2018MonitorAlgoTof::ProcessStarTrig(), CbmStar2019MonitorAlgo::ProcessStarTrig(), CbmMcbm2018UnpackerAlgoTof::ProcessStarTrigger(), and CbmStar2019EventBuilderEtofAlgo::ProcessStarTrigger().
|
inline |
Definition at line 267 of file gDpbMessv100.h.
References getFieldLong().
Referenced by CbmMcbm2018MonitorTof::FillStarTrigInfo(), CbmMcbm2018MonitorTofPulser::FillStarTrigInfo(), CbmMcbm2018TofTestFee::FillStarTrigInfo(), CbmMcbm2018MonitorAlgoTof::ProcessStarTrig(), CbmStar2019MonitorAlgo::ProcessStarTrig(), CbmMcbm2018UnpackerAlgoTof::ProcessStarTrigger(), and CbmStar2019EventBuilderEtofAlgo::ProcessStarTrigger().
|
inline |
Returns the message type. Valid for all message types. 4 bit.
Definition at line 207 of file gDpbMessv100.h.
References getField().
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmMcbm2018MonitorTofPulser::DoUnpack(), CbmMcbm2018TofFeeThr::DoUnpack(), CbmMcbm2018TofTestFee::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmStar2019TofFeeThr::DoUnpack(), isEpochMsg(), isGet4SlCtrMsg(), isHitMsg(), isStarTrigger(), isSysMsg(), operator<(), CbmMcbm2018MonitorTof::PrintGenInfo(), CbmMcbm2018MonitorTofPulser::PrintGenInfo(), CbmMcbm2018TofTestFee::PrintGenInfo(), CbmStar2019MonitorTof::PrintGenInfo(), CbmMcbm2018MonitorAlgoBmon::ProcessMs(), CbmMcbm2018MonitorAlgoTof::ProcessMs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessMs(), CbmMcbm2018UnpackerAlgoTof::ProcessMs(), CbmMcbmSpillFindAlgo::ProcessMs(), CbmStar2019EventBuilderEtofAlgo::ProcessMs(), CbmStar2019MonitorAlgo::ProcessMs(), CbmStar2019MonitorPulserAlgo::ProcessMs(), CbmMcbm2018MonitorMcbmPulser::ProcessTofMs(), CbmMcbm2018MonitorMcbmRate::ProcessTofMs(), CbmMcbm2018MonitorMcbmSync::ProcessTofMs(), and CbmStar2019EventBuilderEtofAlgo::StoreMessageInBuffer().
uint64_t gdpbv100::Message::getMsgFullTime | ( | uint64_t | epoch | ) | const |
Returns expanded and adjusted time of message (in ns)
Definition at line 95 of file gDpbMessv100.cxx.
Referenced by CbmMcbm2018MonitorTof::FillEpochInfo(), CbmMcbm2018MonitorTofPulser::FillEpochInfo(), CbmMcbm2018TofTestFee::FillEpochInfo(), CbmStar2019MonitorTof::FillEpochInfo(), CbmMcbm2018MonitorTof::FillHitInfo(), CbmMcbm2018MonitorTofPulser::FillHitInfo(), CbmMcbm2018TofTestFee::FillHitInfo(), CbmStar2019MonitorTof::FillHitInfo(), CbmMcbm2018MonitorMcbmPulser::FillTofEpochInfo(), CbmMcbm2018MonitorMcbmRate::FillTofEpochInfo(), and CbmMcbm2018MonitorMcbmSync::FillTofEpochInfo().
double gdpbv100::Message::getMsgFullTimeD | ( | uint64_t | epoch | ) | const |
Returns expanded and adjusted time of message in double (in ns)
Definition at line 98 of file gDpbMessv100.cxx.
References gdpbv100::kdClockCycleSizeNs, gdpbv100::kdEpochInNs, gdpbv100::kdFtBinsNb, gdpbv100::kdFtSize, gdpbv100::MSG_EPOCH, gdpbv100::MSG_HIT, gdpbv100::MSG_SLOWC, gdpbv100::MSG_STAR_TRI_A, gdpbv100::MSG_STAR_TRI_B, gdpbv100::MSG_STAR_TRI_C, gdpbv100::MSG_STAR_TRI_D, and gdpbv100::MSG_SYST.
Referenced by CbmMcbm2018MonitorTof::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmMcbm2018MonitorTof::FillHitInfo(), CbmMcbm2018MonitorTofPulser::FillHitInfo(), CbmMcbm2018TofTestFee::FillHitInfo(), CbmStar2019MonitorTof::FillHitInfo(), and gdpbv100::FullMessage::GetFullTimeNs().
|
inline |
Definition at line 278 of file gDpbMessv100.h.
References getField().
Referenced by CbmMcbm2018MonitorTof::FillStarTrigInfo(), CbmMcbm2018MonitorTofPulser::FillStarTrigInfo(), CbmMcbm2018TofTestFee::FillStarTrigInfo(), CbmMcbm2018MonitorAlgoTof::ProcessStarTrig(), CbmStar2019MonitorAlgo::ProcessStarTrig(), CbmMcbm2018UnpackerAlgoTof::ProcessStarTrigger(), and CbmStar2019EventBuilderEtofAlgo::ProcessStarTrigger().
|
inline |
12 bits in between are set to 0
Definition at line 276 of file gDpbMessv100.h.
References getField().
|
inline |
Definition at line 279 of file gDpbMessv100.h.
References getField().
Referenced by CbmMcbm2018MonitorTof::FillStarTrigInfo(), CbmMcbm2018MonitorTofPulser::FillStarTrigInfo(), CbmMcbm2018TofTestFee::FillStarTrigInfo(), CbmMcbm2018MonitorAlgoTof::ProcessStarTrig(), CbmStar2019MonitorAlgo::ProcessStarTrig(), CbmMcbm2018UnpackerAlgoTof::ProcessStarTrigger(), and CbmStar2019EventBuilderEtofAlgo::ProcessStarTrigger().
|
inline |
Definition at line 277 of file gDpbMessv100.h.
References getField().
Referenced by CbmMcbm2018MonitorTof::FillStarTrigInfo(), CbmMcbm2018MonitorTofPulser::FillStarTrigInfo(), CbmMcbm2018TofTestFee::FillStarTrigInfo(), CbmMcbm2018MonitorAlgoTof::ProcessStarTrig(), CbmStar2019MonitorAlgo::ProcessStarTrig(), CbmMcbm2018UnpackerAlgoTof::ProcessStarTrigger(), and CbmStar2019EventBuilderEtofAlgo::ProcessStarTrigger().
|
inline |
Definition at line 265 of file gDpbMessv100.h.
References getField().
Referenced by CbmMcbm2018MonitorTof::FillStarTrigInfo(), CbmMcbm2018MonitorTofPulser::FillStarTrigInfo(), CbmMcbm2018TofTestFee::FillStarTrigInfo(), CbmMcbm2018MonitorAlgoTof::ProcessStarTrig(), CbmStar2019MonitorAlgo::ProcessStarTrig(), CbmMcbm2018UnpackerAlgoTof::ProcessStarTrigger(), and CbmStar2019EventBuilderEtofAlgo::ProcessStarTrigger().
|
inline |
Definition at line 274 of file gDpbMessv100.h.
References getFieldLong().
Referenced by CbmMcbm2018MonitorTof::FillStarTrigInfo(), CbmMcbm2018MonitorTofPulser::FillStarTrigInfo(), CbmMcbm2018TofTestFee::FillStarTrigInfo(), CbmMcbm2018MonitorAlgoTof::ProcessStarTrig(), CbmStar2019MonitorAlgo::ProcessStarTrig(), CbmMcbm2018UnpackerAlgoTof::ProcessStarTrigger(), and CbmStar2019EventBuilderEtofAlgo::ProcessStarTrigger().
|
inline |
Definition at line 272 of file gDpbMessv100.h.
References getFieldLong().
Referenced by CbmMcbm2018MonitorTof::FillStarTrigInfo(), CbmMcbm2018MonitorTofPulser::FillStarTrigInfo(), CbmMcbm2018TofTestFee::FillStarTrigInfo(), CbmMcbm2018MonitorAlgoTof::ProcessStarTrig(), CbmStar2019MonitorAlgo::ProcessStarTrig(), CbmMcbm2018UnpackerAlgoTof::ProcessStarTrigger(), and CbmStar2019EventBuilderEtofAlgo::ProcessStarTrigger().
|
inline |
Definition at line 270 of file gDpbMessv100.h.
References getFieldLong().
Referenced by CbmMcbm2018MonitorTof::FillStarTrigInfo(), CbmMcbm2018MonitorTofPulser::FillStarTrigInfo(), CbmMcbm2018TofTestFee::FillStarTrigInfo(), CbmMcbm2018MonitorAlgoTof::ProcessStarTrig(), CbmStar2019MonitorAlgo::ProcessStarTrig(), CbmMcbm2018UnpackerAlgoTof::ProcessStarTrigger(), and CbmStar2019EventBuilderEtofAlgo::ProcessStarTrigger().
|
inline |
Returns true is message type is MSG_EPOCH (epoch2 marker)
Definition at line 312 of file gDpbMessv100.h.
References getMessageType(), and gdpbv100::MSG_EPOCH.
|
inline |
Returns true is message type is MSG_SLOWC (GET4 Slow Control)
Definition at line 314 of file gDpbMessv100.h.
References getMessageType(), and gdpbv100::MSG_SLOWC.
|
inline |
Returns true is message type is MSG_HIT (Get4 hit data)
Definition at line 310 of file gDpbMessv100.h.
References getMessageType(), and gdpbv100::MSG_HIT.
|
inline |
Returns true is message type is MSG_STAR_TRI_A, _B, _C, _D (STAR Trigger message)
Definition at line 318 of file gDpbMessv100.h.
References getMessageType(), and gdpbv100::MSG_STAR_TRI_A.
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmMcbm2018MonitorTofPulser::DoUnpack(), CbmMcbm2018TofFeeThr::DoUnpack(), CbmMcbm2018TofTestFee::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmStar2019TofFeeThr::DoUnpack(), CbmMcbm2018MonitorAlgoBmon::ProcessMs(), CbmMcbm2018MonitorAlgoTof::ProcessMs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessMs(), CbmMcbmSpillFindAlgo::ProcessMs(), CbmStar2019EventBuilderEtofAlgo::ProcessMs(), CbmStar2019MonitorAlgo::ProcessMs(), and CbmStar2019MonitorPulserAlgo::ProcessMs().
|
inline |
Returns true is message type is MSG_SYST (system message)
Definition at line 316 of file gDpbMessv100.h.
References getMessageType(), and gdpbv100::MSG_SYST.
bool gdpbv100::Message::operator!= | ( | const gdpbv100::Message & | other | ) | const |
inequality operator, assumes same epoch for both messages
Definition at line 92 of file gDpbMessv100.cxx.
References data.
bool gdpbv100::Message::operator< | ( | const gdpbv100::Message & | other | ) | const |
strict weak ordering operator, assumes same epoch for both messages
Definition at line 60 of file gDpbMessv100.cxx.
References getGdpbHitFullTs(), getMessageType(), and gdpbv100::MSG_HIT.
Referenced by gdpbv100::FullMessage::operator<().
Definition at line 150 of file gDpbMessv100.h.
References assign().
bool gdpbv100::Message::operator== | ( | const gdpbv100::Message & | other | ) | const |
equality operator, assumes same epoch for both messages
Definition at line 89 of file gDpbMessv100.cxx.
References data.
void gdpbv100::Message::printData | ( | unsigned | outType = msg_print_Cout, |
unsigned | kind = msg_print_Human, | ||
uint32_t | epoch = 0, | ||
std::ostream & | os = std::cout ) const |
Print message in binary or human readable format to a stream.
Prints a one line representation of the message in to a stream, selected by outType. The stream is cout if outType is false and FairLogger if outType is true. The parameter kind is mask with 4 bits
If bit msg_print_Human in kind is not set, raw format output is generated. All data fields are shown in hexadecimal. This is the format of choice when chasing hardware problems at the bit level.
If bit msg_print_Human is set, a more human readable output is generated. The timestamp is shown as fully extended and adjusted time as returned by the getMsgFullTime(uint32_t) const method. All data fields are represented in decimal.
os | output stream |
kind | mask determing output format |
epoch | current epoch number (from last epoch message) |
Definition at line 205 of file gDpbMessv100.cxx.
References gdpbv100::FormatHexPrintout(), gdpbv100::MSG_EPOCH, gdpbv100::MSG_HIT, gdpbv100::msg_print_Cout, gdpbv100::msg_print_Data, gdpbv100::msg_print_File, gdpbv100::msg_print_Hex, gdpbv100::msg_print_Human, gdpbv100::msg_print_Prefix, gdpbv100::MSG_SLOWC, gdpbv100::MSG_STAR_TRI_A, gdpbv100::MSG_STAR_TRI_B, gdpbv100::MSG_STAR_TRI_C, gdpbv100::MSG_STAR_TRI_D, gdpbv100::MSG_SYST, gdpbv100::SYS_GDPB_UNKWN, gdpbv100::SYS_GET4_ERROR, gdpbv100::SYS_GET4_SYNC_MISS, and gdpbv100::SYS_PATTERN.
void gdpbv100::Message::printDataCout | ( | unsigned | kind = msg_print_Prefix | msg_print_Data, |
uint32_t | epoch = 0 ) const |
Print message in human readable format to cout.
Prints a one line representation of the message in to cout. See printData(std::ostream&, unsigned, uint32_t) const for full documentation.
Definition at line 165 of file gDpbMessv100.cxx.
References gdpbv100::msg_print_Cout.
Referenced by CbmMcbm2018MonitorTof::DoUnpack(), CbmMcbm2018MonitorTofPulser::DoUnpack(), CbmMcbm2018TofTestFee::DoUnpack(), CbmStar2019MonitorTof::DoUnpack(), CbmMcbm2018MonitorMcbmPulser::ProcessTofMs(), CbmMcbm2018MonitorMcbmRate::ProcessTofMs(), and CbmMcbm2018MonitorMcbmSync::ProcessTofMs().
void gdpbv100::Message::printDataLog | ( | unsigned | kind = msg_print_Prefix | msg_print_Data, |
uint32_t | epoch = 0 ) const |
Print message in human readable format to the Fairroot logger.
Prints a one line representation of the message in to the Fairroot logger. TODO: Add coloring of possible See printData(std::ostream&, unsigned, uint32_t) const for full documentation.
Definition at line 176 of file gDpbMessv100.cxx.
References gdpbv100::msg_print_FairLog.
|
inline |
Definition at line 156 of file gDpbMessv100.h.
References data.
Referenced by gdpbv100::FullMessage::reset().
|
inline |
Definition at line 185 of file gDpbMessv100.h.
References data.
|
inline |
Definition at line 159 of file gDpbMessv100.h.
References data.
|
inline |
Definition at line 171 of file gDpbMessv100.h.
References data.
Referenced by setGdpbEpEpochNb(), setGdpbGenChipId(), setGdpbGenGdpbId(), setGdpbSysPattIndex(), setGdpbSysPattPattern(), setGdpbSysPattType(), setGdpbSysSubType(), setMessageType(), setStarDaqCmdStarD(), setStarFillerD(), setStarTokenStarD(), setStarTrigCmdStarD(), and setStarTrigMsgIndex().
|
inline |
Definition at line 177 of file gDpbMessv100.h.
References data.
Referenced by setGdpbTsLsbStarB(), setGdpbTsMsbStarA(), setStarTsLsbStarD(), setStarTsMidStarC(), and setStarTsMsbStarB().
|
inline |
Definition at line 282 of file gDpbMessv100.h.
References setField(), and v.
Referenced by CbmMcbm2018MonitorTof::FillEpochInfo(), CbmMcbm2018MonitorTofPulser::FillEpochInfo(), CbmMcbm2018TofTestFee::FillEpochInfo(), CbmStar2019MonitorTof::FillEpochInfo(), CbmMcbm2018MonitorMcbmPulser::FillTofEpochInfo(), CbmMcbm2018MonitorMcbmRate::FillTofEpochInfo(), CbmMcbm2018MonitorMcbmSync::FillTofEpochInfo(), and CbmStar2019EventBuilderEtofAlgo::ProcessEpoch().
|
inline |
Definition at line 216 of file gDpbMessv100.h.
References setField(), and v.
Referenced by CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmMcbm2018MonitorTofPulser::DoUnpack(), CbmMcbm2018TofTestFee::DoUnpack(), and CbmStar2019MonitorTof::DoUnpack().
|
inline |
Definition at line 214 of file gDpbMessv100.h.
References setField(), and v.
Referenced by CbmStar2019EventBuilderEtofAlgo::CreateStatusMessage().
|
inline |
Definition at line 288 of file gDpbMessv100.h.
References setField(), and v.
Referenced by CbmStar2019EventBuilderEtofAlgo::CreateStatusMessage().
|
inline |
Definition at line 289 of file gDpbMessv100.h.
References setField(), and v.
Referenced by CbmStar2019EventBuilderEtofAlgo::CreateStatusMessage().
|
inline |
Definition at line 287 of file gDpbMessv100.h.
References setField(), and v.
Referenced by CbmStar2019EventBuilderEtofAlgo::CreateStatusMessage().
|
inline |
Definition at line 285 of file gDpbMessv100.h.
References setField(), and v.
Referenced by CbmStar2019EventBuilderEtofAlgo::CreateStatusMessage().
|
inline |
Definition at line 296 of file gDpbMessv100.h.
References setFieldLong().
|
inline |
Definition at line 294 of file gDpbMessv100.h.
References setFieldLong().
|
inline |
Sets the message type field in the current message.
Definition at line 210 of file gDpbMessv100.h.
References setField(), and v.
Referenced by CbmStar2019EventBuilderEtofAlgo::CreateStatusMessage().
|
inline |
Definition at line 305 of file gDpbMessv100.h.
References setField(), and v.
|
inline |
12 bits in between are set to 0
Definition at line 303 of file gDpbMessv100.h.
References setField().
|
inline |
Definition at line 306 of file gDpbMessv100.h.
References setField(), and v.
|
inline |
Definition at line 304 of file gDpbMessv100.h.
References setField(), and v.
|
inline |
Definition at line 292 of file gDpbMessv100.h.
References setField(), and v.
|
inline |
Definition at line 301 of file gDpbMessv100.h.
References setFieldLong().
|
inline |
Definition at line 299 of file gDpbMessv100.h.
References setFieldLong().
|
inline |
Definition at line 297 of file gDpbMessv100.h.
References setFieldLong().
|
protected |
Definition at line 137 of file gDpbMessv100.h.
Referenced by assign(), dataBE(), getBit(), getData(), getField(), getFieldLong(), operator!=(), operator==(), reset(), setBit(), setData(), setField(), and setFieldLong().