Skip to content

Sort ToolHandleArray RepeatedConditionConfigTool.conditionMakers

Rafal Bielski requested to merge rbielski/athena:ordering-conditionMakers into master

Random ordering of tools in a ToolHandleArray resulted in irreproducible Trigger Configuration, which is a problem for a) ensuring unique configurations in database, and b) comparing logs when debugging. Fix this by sorting the list by tool name.

Note: Old Configurable has a method name() while new GaudiConfig2 Configurable has a string attribute name. The solution handles both cases.

Fixes ATR-23167

cc @peter

Merge request reports