Skip to content

Allow to unpack an event range in the gem-raw-to-* tools

Laurent Petre requested to merge feature/unpack-event-range into main


The title says pretty much all of it. The gem-raw-to-* tools used to allow unpacking a maximum number of events. Experience proved it is more useful to allow selecting a range of events to unpack. Although the new feature can be used to implement the old one, no backward compatibility is implemented (due to the rate usage of the feature).

Additionally, fix a critical bug in the gem-raw-to-histogram tool that prevented threshold scans to be analyzed.

Related Issue

How Has This Been Tested?

New feature tested during event bitstream debugging at P5 (plus synthetic tests). Bugfix tested the GEM-X2O integration tests for the PRR.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)


  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Merge request reports