L1CaloFEXSimCfg.py: Support R3 data inputs, add full job config, add unit tests
Overhaul the L1CaloFEXSimCfg.py
config file with the following changes:
- 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
- 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
- Add support for Run-3 data inputs where SCells are decoded from data - configuration provided by @damazio in ATR-24627
- 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.