Skip to content

Commit c9e9cc8

Browse files
committed
DataModel: improve DataHeader formatter
Add splitPayloadIndex / splitPayloadParts to the default printout
1 parent 1ce6469 commit c9e9cc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

DataFormats/Headers/include/Headers/DataHeaderHelpers.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ struct fmt::formatter<o2::header::DataHeader> {
7979
fmt::format(" payloadSize : {}\n", (long long unsigned int)h.payloadSize) +
8080
fmt::format(" firstTForbit : {}\n", h.firstTForbit) +
8181
fmt::format(" tfCounter : {}\n", h.tfCounter) +
82-
fmt::format(" runNumber : {}\n", h.runNumber);
82+
fmt::format(" runNumber : {}\n", h.runNumber) +
83+
fmt::format(" split : {}/{}\n", h.splitPayloadIndex, h.splitPayloadParts);
8384
return fmt::format_to(ctx.out(), "{}", res);
8485
} else {
8586
auto res = fmt::format("{}/{}/{}",

0 commit comments

Comments
 (0)