27 auto inner = [&](
int errIdx) {
40 auto inner = [&](
int errIdx) {
44 "New error registered at bc/orbit {}/{} on the FEEID:{:#04x} "
66 if (!skipNoErr || nErr) {
67 std::string rep = fmt::format(
"{}#{:#04x} NHits: {} errors: {}", pref.c_str(),
feeID,
nHits, nErr);
85 if (!skipNoErr || nErr) {
86 std::string rep = fmt::format(
"FEEID#{:#04x} Packet States Statistics (total packets: {}, triggers: {})",
feeID,
nPackets,
nTriggers);
87 bool countsSeen =
false;
92 rep +=
" | counts for triggers: ";
96 std::bitset<GBTDataTrailer::NStatesDefined> patt(
i);
97 rep += fmt::format(
"b{:s}: {}", patt.to_string().c_str(),
packetStates[
i]);
100 rep += fmt::format(
" | Decoding errors: {}", nErr);
Alpide Chip and GBT link decoding statistics.
Transient data classes for single pixel and set of pixels from current chip.
const o2::InteractionRecord & getInteractionRecord() const
auto getErrorFlags() const
std::string getErrorDetails(int pos) const
uint16_t getChipID() const
void forEachSetError(Func f) const
uint16_t bc
bunch crossing ID of interaction
static constexpr std::array< uint32_t, NErrorsDefined > ErrActions
uint32_t addErrors(const ChipPixelData &d, int verbosity)
void print(bool skipNoErr=true, const std::string &pref="FEEID") const
static constexpr std::array< std::string_view, NErrorsDefined > ErrNames
std::array< uint32_t, NErrorsDefined > errorCounts
static void forEachError(Func f)
uint32_t getNErrors() const
void print(bool skipNoErr=true) const
std::array< uint32_t, GBTDataTrailer::MaxStateCombinations > packetStates
static constexpr std::array< std::string_view, NErrorsDefined > ErrNames
std::array< uint32_t, NErrorsDefined > errorCounts
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"