Skip to content

L1CaloFEXSimCfg.py: Support R3 data inputs, add full job config, add unit tests

Rafal Bielski requested to merge rbielski/athena:fex-sim-scell-inputs into master

Overhaul the L1CaloFEXSimCfg.py config file with the following changes:

  1. Make it complete by adding the configuration of inputs to the FEX simulation (SCells + TriggerTowers)
    • includes some updates/fixes to upstream code in TrigT1CaloSim and TrigT2CaloCommon
  2. Make the executable into a fully functional job that allows to run just the FEX simulation and its input creators, nothing else
    • a few command line options are provided to select inputs, number of events, and whether to just configure or also run over the events
  3. Add support for Run-3 data inputs where SCells are decoded from data - configuration provided by @damazio in ATR-24627
    • also changed the Run-3 data file in TrigValInputs.json to a stable beam run from the pilot beam period in October 2021, cc @vmartin, @okumura, @tbuanes
  4. Add unit tests running the simulation over 5 events with all supported input types: MC, R2 data, R3 data
    • a comparison to a reference listing the control flow tree is included

FYI @smh, @afaulkne, @serodrig

Next step for ATR-24627 is to run this with runHLT_standalone.py which I haven't tried but should work out of the box. Then perhaps create an ART test on R3 data.

Merge request reports