ATLAS Offline Software
PscDefaultFlags.py
Go to the documentation of this file.
1 #
2 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 #
4 '''Functions setting default flags for generating online HLT python configuration'''
5 
6 _flags = None
7 
8 
10  from AthenaConfiguration.Enums import Format
11  flags.Common.isOnline = True
12  flags.Input.Files = []
13  flags.Input.isMC = False
14  flags.Input.Format = Format.BS
15  flags.Trigger.doHLT = True # This distinguishes the HLT setup from online reco (GM, EventDisplay)
16  flags.Trigger.Online.isPartition = True # athenaHLT and partition at P1
17  flags.Trigger.EDMVersion = 3
18  flags.Trigger.writeBS = True
19  flags.Scheduler.CheckDependencies = True
20  flags.Scheduler.ShowDataDeps = True
21  flags.Scheduler.ShowControlFlow = True
22  flags.Scheduler.ShowDataFlow = True
23  flags.Scheduler.EnableVerboseViews = True
24  flags.Scheduler.AutoLoadUnmetDependencies = False
25  flags.Input.FailOnUnknownCollections = True
26 
27 
29  """On first call will create ConfigFlags and return instance. This is only to be used within
30  TrigPSC/TrigServices/athenaHLT as we cannot explicitly pass flags everywhere."""
31  global _flags
32  if _flags is None:
33  from AthenaConfiguration.AllConfigFlags import initConfigFlags
34  _flags = initConfigFlags()
35  setDefaultOnlineFlags(_flags)
36  return _flags
python.PscDefaultFlags.setDefaultOnlineFlags
def setDefaultOnlineFlags(flags)
Definition: PscDefaultFlags.py:9
python.PscDefaultFlags.defaultOnlineFlags
def defaultOnlineFlags()
Definition: PscDefaultFlags.py:28
python.AllConfigFlags.initConfigFlags
def initConfigFlags()
Definition: AllConfigFlags.py:19