Skip to content
Snippets Groups Projects
Commit d322fd18 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

TrigConfigSvc: disable legacy L1 XML menu

Disable the use of the legacy (Run-2) L1 XML menu as input to the
LVL1ConfigSvc.
parent f7738083
No related branches found
No related tags found
7 merge requests!69091Fix correlated smearing bug in JER in JetUncertainties in 22.0,!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!50012RecExConfig: Adjust log message levels from GetRunNumber and GetLBNumber,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!46609TriggerMenuMT: delete legacy L1 XML menu code
......@@ -193,19 +193,8 @@ def L1ConfigSvcCfg( flags ):
l1ConfigSvc = TrigConf__LVL1ConfigSvc("LVL1ConfigSvc")
if cfg["SOURCE"] == "FILE":
# Run 2 configuration
l1ConfigSvc.ConfigSource = "XML"
from TriggerJobOpts.TriggerFlags import TriggerFlags
l1XMLFile = TriggerFlags.inputLVL1configFile() if flags is None else flags.Trigger.LVL1ConfigFile
# check if file exists in this directory otherwise add the package to aid path resolution
# also a '/' in the file name indicates that no package needs to be added
import os.path
if not ( "/" in l1XMLFile or os.path.isfile(l1XMLFile) ):
l1XMLFile = "TriggerMenuMT/" + l1XMLFile
l1ConfigSvc.XMLMenuFile = l1XMLFile
log.info( "For run 2 style menu access configured LVL1ConfigSvc with input file : %s", l1XMLFile )
# Run 3 configuration
generatedFile, generatedBgsFile = generateL1Menu( flags )
l1ConfigSvc.ConfigSource = "none"
l1ConfigSvc.InputType = "file"
l1ConfigSvc.JsonFileName = generatedFile
l1ConfigSvc.JsonFileNameBGS = generatedBgsFile
......@@ -234,7 +223,7 @@ def HLTConfigSvcCfg( flags ):
if cfg["SOURCE"] == "FILE":
hltXMLFile = "None"
hltConfigSvc.ConfigSource = "None"
hltConfigSvc.ConfigSource = "none"
hltConfigSvc.XMLMenuFile = hltXMLFile
hltConfigSvc.InputType = "file"
hltJsonFileName = getHLTMenuFileName( flags )
......
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