20#include "fmt/format.h"
48 static int contDeadBeef = 0;
49 if (++contDeadBeef <= maxWarn) {
50 LOGP(alarm,
"Found input [{}/{}/0xDEADBEEF] assuming no payload for all links in this TF{}", dh->
dataOrigin.
as<std::string>(), dh->
dataDescription.
as<std::string>(), contDeadBeef == maxWarn ? fmt::format(
". {} such inputs in row received, stopping reporting", contDeadBeef) :
"");
56 static constexpr const char* sFormatString =
"{:>5} {:>4} {:>4} {:>4} {:>4} {:>3} {:>3} {:>3} {:>1} {:>2}";
60 os << fmt::format(sFormatString,
"PkC",
"pCnt",
"fId",
"sId",
"Mem",
"CRU",
"EP",
"LID",
"s",
"df");
62 os << fmt::format(sFormatString,
78 static constexpr const char* sFormatString =
"{:>5} {:>4} {:>4} {:>4} {:>4} {:>3} {:>3} {:>3} {:>1}";
82 os << fmt::format(sFormatString,
"PkC",
"pCnt",
"fId",
"sId",
"Mem",
"CRU",
"EP",
"LID",
"s");
84 os << fmt::format(sFormatString,
100 static constexpr const char* sFormatString =
"{:>5} {:>4} {:>4} {:>4} {:>3} {:>3} {:>3} {:>1}";
104 os << fmt::format(sFormatString,
"PkC",
"pCnt",
"fId",
"Mem",
"CRU",
"EP",
"LID",
"s");
106 os << fmt::format(sFormatString,
107 header.packetCounter,
121 static constexpr const char* sFormatString =
"{:>5} {:>4} {:>4} {:>4} {:>3} {:>3} {:>3} {:>10} {:>5} {:>1}";
125 os << fmt::format(sFormatString,
"PkC",
"pCnt",
"fId",
"Mem",
"CRU",
"EP",
"LID",
"HBOrbit",
"HBBC",
"s");
127 os << fmt::format(sFormatString,
128 header.packetCounter,
135 header.heartbeatOrbit,
Generic parser for consecutive raw pages.
static const VerbosityConfig & Instance()
workspace for raw parser internal utilities
header::RAWDataHeaderV5 V5
FormatSpec
specifier for printout
header::RAWDataHeaderV6 V6
header::RAWDataHeaderV4 V4
static unsigned long sErrorLimit
static void warnDeadBeef(const o2::header::DataHeader *dh)
static bool checkPrintError(size_t &localCounter)
static int sCheckIncompleteHBF
static unsigned long sErrorScale
static unsigned long sErrors