Skip to content
Snippets Groups Projects
Commit e090c958 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'run3configurable' into 'main'

Remove redundant usage of 'configurableRun3Behaviour'

See merge request atlas/athena!68072
parents a6d30dc3 3a24e0e5
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
# Define method to construct configures Sec Vtx Finder alg
# attempted by N Ribaric (@LancasterUNI) neza.ribaric@cern.ch
if __name__ == "__main__":
from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior = 1
import AthenaCommon.Constants as Lvl
# import the flags and set them
......
#
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
#
'''
......@@ -147,11 +147,7 @@ def TileDigitsFlxMonitoringConfig(flags, fragIDs=[0x201, 0x402], **kwargs):
return result
if __name__=='__main__':
# Setup the Run III behavior
from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior = 1
if __name__=='__main__':
# Setup logs
from AthenaCommon.Logging import log
from AthenaCommon.Constants import INFO
......
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
#!/usr/bin/env python
"""
......@@ -6,13 +6,10 @@
Dump ACTS tracking geometry.
"""
from AthenaCommon.Configurable import Configurable
from AthenaCommon.Logging import log
from argparse import ArgumentParser
from AthenaConfiguration.AllConfigFlags import initConfigFlags
Configurable.configurableRun3Behavior = True
# Argument parsing
parser = ArgumentParser("RunActsWriteTrackingGeometry.py")
parser.add_argument("detectors", metavar="detectors", type=str, nargs="*",
......@@ -97,5 +94,3 @@ cfg.merge(FPEAndCoreDumpCfg(flags))
cfg.printConfig(withDetails = True, summariseProps = True)
cfg.run(1)
......@@ -25,8 +25,6 @@ def MbtsSGInputCfg(flags):
if __name__ == '__main__':
from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import initConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
......
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
......@@ -29,8 +29,6 @@ def TrackCounterHypoAlgCfg(flags):
if __name__ == '__main__':
from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import initConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
......
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