ATLAS Offline Software
Functions | Variables
python.PscDefaultFlags Namespace Reference

Functions

def setDefaultOnlineFlags (flags)
 
def defaultOnlineFlags ()
 

Variables

 _flags = None
 

Function Documentation

◆ defaultOnlineFlags()

def python.PscDefaultFlags.defaultOnlineFlags ( )
On first call will create ConfigFlags and return instance. This is only to be used within
TrigPSC/TrigServices/athenaHLT as we cannot explicitly pass flags everywhere.

Definition at line 28 of file PscDefaultFlags.py.

28 def defaultOnlineFlags():
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

◆ setDefaultOnlineFlags()

def python.PscDefaultFlags.setDefaultOnlineFlags (   flags)

Definition at line 9 of file PscDefaultFlags.py.

9 def setDefaultOnlineFlags(flags):
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 

Variable Documentation

◆ _flags

python.PscDefaultFlags._flags = None
private

Definition at line 6 of file PscDefaultFlags.py.

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