Skip to content

Commit 448a2c7

Browse files
committed
Fix in errors summary reporting formatting
1 parent 59221a9 commit 448a2c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Detectors/ITSMFT/common/reconstruction/src/DecodingStat.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void ChipStat::print(bool skipNoErr, const std::string& pref) const
7171
nErr += errorCounts[i];
7272
}
7373
if (!skipNoErr || nErr) {
74-
LOGP(INFO, "{}#{:x} NHits: {} errors: {}", pref.c_str(), feeID, nHits, nErr);
74+
LOGP(INFO, "{}#{:#04x} NHits: {} errors: {}", pref.c_str(), feeID, nHits, nErr);
7575
for (int i = 0; i < NErrorsDefined; i++) {
7676
if (!skipNoErr || errorCounts[i]) {
7777
LOGP(INFO, "Err.: {}: {}", ErrNames[i].data(), errorCounts[i]);
@@ -89,7 +89,7 @@ void GBTLinkDecodingStat::print(bool skipNoErr) const
8989
nErr += errorCounts[i];
9090
}
9191
if (!skipNoErr || nErr) {
92-
LOGP(INFO, "FEEID#{%s} Packet States Statistics (total packets: {}, triggers: {})", ruLinkID, nPackets, nTriggers);
92+
LOGP(INFO, "FEEID#{:#04x} Packet States Statistics (total packets: {}, triggers: {})", ruLinkID, nPackets, nTriggers);
9393
for (int i = 0; i < GBTDataTrailer::MaxStateCombinations; i++) {
9494
if (packetStates[i]) {
9595
std::bitset<GBTDataTrailer::NStatesDefined> patt(i);

0 commit comments

Comments
 (0)