Project

General

Profile

Bug #23345

Incorrect reporting of data size from Fragments in Containers when upgraded

Added by Eric Flumerfelt 12 months ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
09/27/2019
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

Because of a minor error in ContainerFragment.hh, the reported data sizes for contained Fragments that have headers with different size from the current version are off by the difference in size between the previous version and the current. This was caused by an incorrect assumption when allocating the output Fragment in ContainerFragment::at.


Related issues

Related to artdaq - Bug #23319: Problems reading ProtoDUNE-SP raw data file with artdaq_core v3_05_02Closed09/24/2019

Related to artdaq - Feature #23356: Test upgrade of old RawFragmentHeader versionsResolved09/30/2019

History

#1 Updated by Eric Flumerfelt 12 months ago

  • Related to Bug #23319: Problems reading ProtoDUNE-SP raw data file with artdaq_core v3_05_02 added

#2 Updated by Eric Flumerfelt 12 months ago

  • Status changed from New to Resolved

Resolution on artdaq-core:bugfix/23345_ContainerFragment_FixFragmentAllocation

#3 Updated by Pengfei Ding 12 months ago

Ran rawEventDump under artdaq v3_06_01 w/wo the bugfix on files generated by ToySimulator under artdaq v3_05_00 and v3_06_01.

Confirmed the following:

For fragment generated under v3_05_00, with the bug fix, rawEventDump reports:

1) fragment type 3, timestamp 9623, has metadata true, and sizeBytes 240 (hdr=24, data=208, meta (calculated)=8)

without the bugfix, it reports:

1) fragment type 3, timestamp 9623, has metadata true, and sizeBytes 240 (hdr=24, data=216, meta (calculated)=0)

For fragment generated with artdaq v3_06_01, rawEvetnDump reports the following w/wo the bugfix:

 1) fragment type 3, timestamp 0, has metadata true, and sizeBytes 248 (hdr=32, data=208, meta (calculated)=8)

#4 Updated by Pengfei Ding 12 months ago

  • Status changed from Resolved to Reviewed

#5 Updated by Eric Flumerfelt 12 months ago

  • Related to Feature #23356: Test upgrade of old RawFragmentHeader versions added

#6 Updated by Eric Flumerfelt 12 months ago

  • Target version set to artdaq_core v3_05_07
  • Status changed from Reviewed to Closed


Also available in: Atom PDF