7class fmt::formatter<
srs::ReceiveDataHeader>
10 static constexpr auto parse(format_parse_context& ctx) {
return ctx.end(); }
11 template <
typename FmtContent>
16 "Header data: [frame counter: {}, vmm tag: {}, fec id: {:08b}, udp timestamp: {}, overflow: {}]",
26class fmt::formatter<
srs::MarkerData>
29 static constexpr auto parse(format_parse_context& ctx) {
return ctx.end(); }
30 template <
typename FmtContent>
33 return fmt::format_to(
34 ctn.out(),
"Marker data: [vmm id: {}, srs timestamp: {}]", marker.
vmm_id, marker.
srs_timestamp);
39class fmt::formatter<
srs::HitData>
42 static constexpr auto parse(format_parse_context& ctx) {
return ctx.end(); }
43 template <
typename FmtContent>
46 return fmt::format_to(
48 "Hit data: [Over threshold: {}, channel num: {}, tdc: {}, adc: {}, offset: {}, vmm id: {}, bc id: {}]",
63 static constexpr auto parse(format_parse_context& ctx) {
return ctx.end(); }
64 template <
typename FmtContent>
67 return format_to(ctn.out(),
71 fmt::join(struct_data.
hit_data,
"\n"));
bool is_over_threshold
whether the hit data is over the threshould
uint8_t channel_num
Channel number.
uint8_t offset
Offset value.
uint64_t srs_timestamp
Timestamp value.
uint8_t vmm_id
VMM ID for the marker data.
ReceiveDataHeader header
Header data.
std::vector< MarkerData > marker_data
Marker data.
std::vector< HitData > hit_data
Hit data.