Skip to content
Snippets Groups Projects
Commit a2392dd3 authored by Rafal Bielski's avatar Rafal Bielski :wave:
Browse files

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

parent 769f4e91
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