ATLAS Offline Software
Loading...
Searching...
No Matches
PscDefaultFlags.py
Go to the documentation of this file.
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()
36 return _flags