Skip to content

Introduce local run numbers

Laurent Petre requested to merge feature/local-run-numbers into main


This MR introduce local run numbers with the format E.DDDD.SSSSSL (E = Era, D = Day in Era, S = Second in Day). Longer than traditional run numbers, they have the advantage to be based on the current date and time while remaining 32-bits numbers. In absence of a global run number, the local run numbers are automatically generated by the GEMSupervisor.

All xDAQ applications have been updated. The output files are now stored in a run-specific directory. The GEM function manager is capable to launch lifetime-only configurations.

Related Issue

Fixes #217 (closed) and #221 (closed).

How Has This Been Tested?

Local run numbers are generated seamlessly on the GE1/1 integration setup. Output files are all stored in the run-specific directory. The function manager requires tests on an RCMS setup.

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.
Edited by Laurent Petre

Merge request reports