Skip to content

[TrigP1Test] Add forceAFPLinkNum=True Modifier in the preload test and protect against missing alg

The "preload" test in TrigP1Test runs on Run-2 data but with a future run number (999999) to test the Technical Run preloaded-data workflow at P1. Since AFP reconstruction currently configures some options based on the run number, it is incorrectly choosing the Run-3 config despite running on Run-2 data. Use the forceAFPLinkNum=True option to prevent this. This fixes ATR-23936.

Also fix the Modifier itself to avoid crashes if the relevant algorithm is not configured as part of the job. That fixes an issue reported in ATR-24073.

With both changes, both "preload" tests finish successfully:

  • test_trigP1_v1Dev_noL1Sim_preload_build.py
  • test_trigP1_v1PhysP1_noL1Sim_preload_build.py
Edited by Rafal Bielski

Merge request reports