Skip to content
Snippets Groups Projects
Commit 4edff88c authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'enabledSignatures.TriggerJobOpts-20240112' into 'main'

TriggerJobOpts: Make Trigger.enabledSignatures flag a function.

See merge request !68141
parents 1652f83d 2e1194e1
No related branches found
No related tags found
No related merge requests found
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
import os
......@@ -384,8 +384,12 @@ def createTriggerRecoFlags():
flags = AthConfigFlags()
# Additional flags to filter chains
from TriggerMenuMT.HLT.Config.GenerateMenuMT import allSignatures
flags.addFlag("Trigger.enabledSignatures", allSignatures(), help='list of enabled trigger signatures')
def _allSignatures (prevFlags):
from TriggerMenuMT.HLT.Config.GenerateMenuMT import allSignatures
l = list(allSignatures())
l.sort()
return l
flags.addFlag("Trigger.enabledSignatures", _allSignatures, help='list of enabled trigger signatures')
flags.addFlag("Trigger.disabledSignatures", [], help='list of disabled trigger signatures')
flags.addFlag("Trigger.selectChains", [], help='list of enabled chains')
flags.addFlag("Trigger.disableChains", [], help='list of disabled chains')
......
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