71 errMsg.errInfo1 = (chipData->
getErrorInfo() >> 16) & 0xffff;
83 const auto* cdat =
cableData[icab].data();
84 size_t cdats =
cableData[icab].getUnusedSize(), cdi = 0;
86 LOGP(info,
"RU#{} Cab{} Nbytes: {} IR: {} | {}",
ruSWID, icab, cdats, lll->ir.asString(), lll->describe());
89 dmp += fmt::format(
" {:#04x}", cdat[cdi++]);
90 if (cdi && (cdi % 9) == 0) {
91 LOGP(info,
"wrd#{}: {}", cdi / 9 - 1, dmp);
96 LOGP(info,
"wrd#{}: {}", cdi / 9 - 1, dmp);
105 if (link->ir ==
ir) {
106 link->rofJumpWasSeen =
false;
114 link->rofJumpWasSeen =
true;
115#ifdef _RAW_READER_ERROR_CHECKS_
117 linkHBFToDump[(uint64_t(link->subSpec) << 32) + link->hbfEntry] = link->irHBF.orbit;
119 LOGP(info,
"{} (cable {}) has IR={} > current majority IR={} -> {}", link->describe(),
124#ifdef _RAW_READER_ERROR_CHECKS_
126 linkHBFToDump[(uint64_t(link->subSpec) << 32) + link->hbfEntry] = link->irHBF.orbit;
128 LOGP(error,
"{} (cable {}) has IR={} for current majority IR={} -> {}", link->describe(),
138 link->rofJumpWasSeen =
false;
Alpide Chip and GBT link decoding statistics.
Declarations of helper classes for the ITS/MFT raw data decoding.
Declaration of the Readout Unite decoder class.
void setInteractionRecord(const o2::InteractionRecord &r)
auto getErrorInfo() const
bool isErrorSet(ChipStat::DecErrors i) const
void setTrigger(uint32_t t)
auto getErrorFlags() const
uint16_t getChipID() const
const std::vector< PixelData > & getData() const
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::string asString() const
static uint32_t composeID(uint16_t feeID, int16_t chipID)
support for the GBT single link data
std::unordered_map< uint64_t, uint32_t > linkHBFToDump
void dumpcabledata(int icab)
std::unordered_map< uint32_t, std::pair< uint32_t, uint32_t > > chipErrorsTF
void setROFInfo(ChipPixelData *chipData, const GBTLink *lnk)
std::array< PayLoadCont, MaxCablesPerRU > cableData
std::array< uint8_t, MaxCablesPerRU > cableHWID
std::array< GBTLink *, MaxCablesPerRU > cableLinkPtr
std::vector< ErrorMessage > errMsgVecTF
bool checkLinkInSync(int icab, const o2::InteractionRecord ir)
void fillChipStatistics(int icab, const ChipPixelData *chipData)
o2::InteractionRecord ir(0, 0)