Skip to content
Snippets Groups Projects
Commit 1dadc6cd authored by Adam Edward Barton's avatar Adam Edward Barton :speech_balloon:
Browse files

Merge branch 'mtcalibpeb-fix' into 'master'

MTCalibPebConfig.py: call getHLTConfigSvc and always add it to svcMgr

Closes ATR-22101

See merge request atlas/athena!36863
parents 3da4b94f a2392dd3
No related branches found
No related tags found
No related merge requests found
...@@ -271,10 +271,10 @@ def configure_hlt_result(hypo_algs): ...@@ -271,10 +271,10 @@ def configure_hlt_result(hypo_algs):
# Give the menu json name to HLTConfigSvc # Give the menu json name to HLTConfigSvc
from AthenaCommon.AppMgr import ServiceMgr as svcMgr from AthenaCommon.AppMgr import ServiceMgr as svcMgr
if not hasattr(svcMgr, 'HLTConfigSvc'): from TrigConfigSvc.TrigConfigSvcCfg import getHLTConfigSvc
from TrigConfigSvc.TrigConfigSvcConfig import HLTConfigSvc hltConfigSvc = getHLTConfigSvc(ConfigFlags)
svcMgr += HLTConfigSvc() hltConfigSvc.JsonFileName = menu_json
svcMgr.HLTConfigSvc.JsonFileName = menu_json svcMgr += hltConfigSvc
# Tool adding stream tags to HLT result # Tool adding stream tags to HLT result
stmaker = StreamTagMakerToolCfg() stmaker = StreamTagMakerToolCfg()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment