ATLAS Offline Software
Loading...
Searching...
No Matches
PscDefaultFlags.py
Go to the documentation of this file.
2# Copyright (C) 2002-2026 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
9 """On first call will create ConfigFlags and return instance. This is only to be used within
10 TrigPSC/TrigServices/athenaHLT as we cannot explicitly pass flags everywhere."""
11 global _flags
12 if _flags is None:
13 from AthenaConfiguration.AllConfigFlags import initConfigFlags
14 from TrigServices.TriggerUnixStandardSetup import setDefaultOnlineFlags
15 _flags = initConfigFlags()
16 setDefaultOnlineFlags(_flags)
17 return _flags