Skip to content

TrigValTools: add support for CA jobs and flags

Frank Winklmeier requested to merge fwinkl/athena:trigvaltools_ca into 23.0

Add support for ComponentAccumulator jobs to TrigValSteering. Instead of running them as type='other' they should be run as their usual type (athena, athenaHLT, etc.). For athena and transforms the --CA command line arg should be added.

In addition, ConfigFlags should now be set via the new flags member. The framework takes care of forming the proper command line for both legacy and CA jobs.

Migrate the relevant tests from TriggerTest to the new syntax (others will follow in separate MR). Also adapt to the name change of the main CA module from !63464 (merged).

A typical legacy job with flags looks like this:

ex = ExecStep.ExecStep()
ex.type = 'athena'
ex.job_options = 'TriggerJobOpts/runHLT_standalone.py'
ex.flags = ['Trigger.MyFlag="foo"']

and a CA job:

ex = ExecStep.ExecStep()
ex.type = 'athena'
ex.args = '--CA'
ex.job_options = 'TriggerJobOpts/runHLT.py'
ex.flags = ['Trigger.MyFlag="foo"']
Edited by Frank Winklmeier

Merge request reports