Skip to content

Move L1Topo simulation configuration to L1TopoSimulation/L1TopoSimulationConfig.py

Rafal Bielski requested to merge rbielski/athena:move-l1toposim-config into master

Move the L1Topo simulation configuration from TriggerJobOpts to L1TopoSimulation package where it really belongs. Also reduce code duplication by putting it into a function with an isLegacy flag and simply calling it twice with true and false in the client code (TriggerJobOpts).

Advantages:

  • reduced code duplication
  • configuration is in the same package as the algorithms code
  • allows to reuse the configuration in other places

The last point is a requirement for ATR-23432 and this MR is a spin-off from the main development there. The simulation has to be scheduled for running online as part of the online monitoring chain for L1Topo, so the same configuration needs to be called from a different place (in the online monitoring sequence configuration).

Merge request reports