Skip to content

TrigConfigSvcCfg: Use AccumulatorCache for PrescaleCondAlgs and BunchGroupCondAlg

Walter Lampl requested to merge wlampl/athena:PrescaleCondAlgCache into 24.0

While working on something else, I noticed the log-file is cluttered by lines like:

Py:TrigConfigSvcCfg    INFO Setting up L1PrescaleCondAlg
Py:TrigConfigSvcCfg    INFO Setting up HLTPrescaleCondAlg
Py:TrigConfigSvcCfg    INFO Setting up BunchGroupCondAlg

repeated 44 times.

IMHO these functions are worth using the AccumulatorCache functionality

I am aware that these functions do have side-effects, they (can) create a json file containing the menu. But this feature is already protected by python's functools.cache

Merge request reports