27 auto inner = [&](
int errIdx) {
39 if (
d.getErrorFlags()) {
40 auto inner = [&](
int errIdx) {
44 "New error registered at bc/orbit {}/{} on the FEEID:{:#04x} "
46 d.getInteractionRecord().bc,
d.getInteractionRecord().orbit,
feeID,
48 d.getErrorDetails(errIdx));
53 d.forEachSetError(inner);
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.
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events d
Transient data classes for single pixel and set of pixels from current chip.
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"