Skip to content

[ATR-24099] Change the default TrigDecisiontool config tool and service handles between Athena instances

Tim Martin requested to merge tamartin/athena:tdt_inc_guard into master

Ideally components should not be using a default-initialised TrigDecisionTool, rather they should call the getTrigDecisionTool function in python.

But we cannot stop this, and if it does happen then we want to avoid an instance of the TrigConf::xAODConfigTool being added to the ToolSvc in athena as this is not thread-safe.

Change the precompile macros to give a TrigConf::xAODConfigSvc by default in Athena and a TrigConf::xAODConfigTool by default in AnalysisBase.

Does not appear to affect the CI jobs.

Fixes [ATR-24099]

Merge request reports

Loading