File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Detectors/FIT/raw/include/FITRaw Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,14 @@ class RawReaderBase
4646 {
4747 size_t srcPos = 0 ;
4848 while (srcPos < binaryPayload.size ()) { // checking element
49- DataBlockType dataBlock;
49+ DataBlockType dataBlock{} ;
5050 dataBlock.decodeBlock (binaryPayload, srcPos);
5151 srcPos += dataBlock.mSize ;
5252 if (dataBlock.isCorrect ()) {
5353 vecDataBlocks.push_back (dataBlock); // change to in-place construction? TODO
5454 } else {
55- LOG (INFO) << " WARNING! INCORRECT DATA BLOCK!" ;
55+ LOG (WARNING) << " INCORRECT DATA BLOCK! Byte position: " << srcPos - dataBlock.mSize << " | " << binaryPayload.size () << " | " << dataBlock.mSize ;
56+ dataBlock.print ();
5657 }
5758 }
5859 return srcPos;
@@ -93,4 +94,4 @@ class RawReaderBase
9394} // namespace fit
9495} // namespace o2
9596
96- #endif
97+ #endif
You can’t perform that action at this time.
0 commit comments