diff --git a/InnerDetector/InDetRecAlgs/InDetSecVtxFinder/share/runInDetSecVtxFinder.py b/InnerDetector/InDetRecAlgs/InDetSecVtxFinder/share/runInDetSecVtxFinder.py index 342c835ade957a48bc495483e53343004c352753..3f9367145c49535bbe4fdb025bd75e6bd3920cd8 100644 --- a/InnerDetector/InDetRecAlgs/InDetSecVtxFinder/share/runInDetSecVtxFinder.py +++ b/InnerDetector/InDetRecAlgs/InDetSecVtxFinder/share/runInDetSecVtxFinder.py @@ -1,11 +1,8 @@ -# 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 diff --git a/TileCalorimeter/TileMonitoring/python/TileDigitsFlxMonitorAlgorithm.py b/TileCalorimeter/TileMonitoring/python/TileDigitsFlxMonitorAlgorithm.py index 385c86ed9ee7a1110f60604bcf5717f5e45e7bbf..626aec130b7772334a52fcbf0a44a79ff75a87c9 100644 --- a/TileCalorimeter/TileMonitoring/python/TileDigitsFlxMonitorAlgorithm.py +++ b/TileCalorimeter/TileMonitoring/python/TileDigitsFlxMonitorAlgorithm.py @@ -1,5 +1,5 @@ # -# 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 diff --git a/Tracking/Acts/ActsGeometry/scripts/RunActsWriteTrackingGeometry.py b/Tracking/Acts/ActsGeometry/scripts/RunActsWriteTrackingGeometry.py index 9c8c92de3d1142a490a5d03b325b17a9d301332f..1615c0d3e625e113647e98f8a15a74b83f20ac75 100644 --- a/Tracking/Acts/ActsGeometry/scripts/RunActsWriteTrackingGeometry.py +++ b/Tracking/Acts/ActsGeometry/scripts/RunActsWriteTrackingGeometry.py @@ -1,4 +1,4 @@ -# 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) - - diff --git a/Trigger/TrigAlgorithms/TrigMinBias/python/MbtsConfig.py b/Trigger/TrigAlgorithms/TrigMinBias/python/MbtsConfig.py index b041f9ece14db73975be0233d6185fa527a6a070..b5e8bb0fe3583909156b56ab4dba95f48dad364a 100644 --- a/Trigger/TrigAlgorithms/TrigMinBias/python/MbtsConfig.py +++ b/Trigger/TrigAlgorithms/TrigMinBias/python/MbtsConfig.py @@ -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 diff --git a/Trigger/TrigAlgorithms/TrigMinBias/python/MinBiasCountersConfig.py b/Trigger/TrigAlgorithms/TrigMinBias/python/MinBiasCountersConfig.py index 7c39d7235760c128e275bf6b520157afe31ab063..97bfbcad56b0866994961d89df53272e17be39d2 100644 --- a/Trigger/TrigAlgorithms/TrigMinBias/python/MinBiasCountersConfig.py +++ b/Trigger/TrigAlgorithms/TrigMinBias/python/MinBiasCountersConfig.py @@ -1,4 +1,4 @@ -# 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