42 while (
auto timeslice =
fSource->get()) {
43 const fles::Timeslice& ts = *timeslice;
44 auto tsIndex = ts.index();
46 if (0 == tsIndex % 1000) { LOG(info) <<
"Reading Timeslice " << tsIndex; }
48 UInt_t fuNbCoreMsPerTs = ts.num_core_microslices();
49 UInt_t fuNbComponents = ts.num_components();
51 for (UInt_t uMsIdx = 0; uMsIdx < fuNbCoreMsPerTs; uMsIdx++) {
53 for (UInt_t uMsCompIdx = 0; uMsCompIdx < fuNbComponents; ++uMsCompIdx) {
54 bool bCrcOk = ts.get_microslice(uMsCompIdx, uMsIdx).check_crc();
57 auto msDescriptor = ts.descriptor(uMsCompIdx, uMsIdx);
58 uint32_t uSize = msDescriptor.size;
59 const uint8_t* msContent =
reinterpret_cast<const uint8_t*
>(ts.content(uMsCompIdx, uMsIdx));
60 LOG(info) <<
"-----------------------------------------------------"
64 << Form(
" MS %3u Component %2u, dump following", uMsIdx, uMsCompIdx);
65 LOG(info) <<
"-----------------------------------------------------"
78 for (UInt_t uByte = 0; uByte < uSize; ++uByte) {
79 ss << Form(
"%02x", msContent[uByte]);
80 if (3 == uByte % 4) ss <<
" ";
81 if (15 == uByte % 16) ss <<
"\n";
83 if (0 == uSize % 16) ss <<
"\n";
84 LOG(info) << ss.str();
91 LOG(info) <<
"Analysed " <<
fTSCounter <<
" TS ";