From aa4a5d555271586a39d12d588b77e595ae36b4d9 Mon Sep 17 00:00:00 2001
From: Joerg Stelzer <joerg.stelzer@cern.ch>
Date: Sun, 19 Apr 2020 19:18:54 +0200
Subject: [PATCH] Reenable L1 and HLTConfigSvc to run by default

---
 .../TrigConfigSvc/python/TrigConfigSvcCfg.py               | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Trigger/TrigConfiguration/TrigConfigSvc/python/TrigConfigSvcCfg.py b/Trigger/TrigConfiguration/TrigConfigSvc/python/TrigConfigSvcCfg.py
index c0a3e6d1def..0b892f7f501 100644
--- a/Trigger/TrigConfiguration/TrigConfigSvc/python/TrigConfigSvcCfg.py
+++ b/Trigger/TrigConfiguration/TrigConfigSvc/python/TrigConfigSvcCfg.py
@@ -205,7 +205,8 @@ def getL1ConfigSvc( flags = None ):
         l1ConfigSvc.JsonFileName = l1JsonFileName
         log.info( "For run 3 style menu access configured LVL1ConfigSvc with InputType='file' and JsonFileName=%s", l1JsonFileName )
 
-    #theApp.CreateSvc += [ "TrigConf::LVL1ConfigSvc/LVL1ConfigSvc" ]
+    from AthenaCommon.AppMgr import theApp
+    theApp.CreateSvc += [ "TrigConf::LVL1ConfigSvc/LVL1ConfigSvc" ]
     return l1ConfigSvc
 
 
@@ -223,8 +224,8 @@ def getHLTConfigSvc( flags = None ):
     hltJsonFileName = getHLTMenuFileName( flags )
     hltConfigSvc.JsonFileName = hltJsonFileName
     # TODO revisit if needed    
-    #from AthenaCommon.AppMgr import theApp
-    #theApp.CreateSvc += [ "TrigConf::HLTConfigSvc/HLTConfigSvc" ]
+    from AthenaCommon.AppMgr import theApp
+    theApp.CreateSvc += [ "TrigConf::HLTConfigSvc/HLTConfigSvc" ]
     log.info( "Configured HLTConfigSvc with run 2 style input file : %s", hltXMLFile  )
     log.info( "Configured HLTConfigSvc with InputType='file' and JsonFileName=%s", hltJsonFileName )
     return hltConfigSvc
-- 
GitLab