diff --git a/DetectorDescription/RegionSelector/python/RegSelConfig.py b/DetectorDescription/RegionSelector/python/RegSelConfig.py index f3f49e9227c1d75c0424276b0d0d4ccc42801196..404aff546d12e0ec5a8be65f1bcbed055be04347 100644 --- a/DetectorDescription/RegionSelector/python/RegSelConfig.py +++ b/DetectorDescription/RegionSelector/python/RegSelConfig.py @@ -112,15 +112,15 @@ def regSelCfg( flags ): return acc if __name__ == "__main__": + + from AthenaCommon.Configurable import Configurable + Configurable.configurableRun3Behavior=True + from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator - acc = ComponentAccumulator() from AthenaConfiguration.AllConfigFlags import ConfigFlags from AthenaConfiguration.TestDefaults import defaultTestFiles - from AthenaCommon.Configurable import Configurable from AthenaCommon.Constants import DEBUG - Configurable.configurableRun3Behavior=True - ConfigFlags.Detector.GeometryPixel = True ConfigFlags.Detector.GeometrySCT = True ConfigFlags.Detector.GeometryTRT = True @@ -131,7 +131,6 @@ if __name__ == "__main__": ConfigFlags.Detector.GeometryCSC = True ConfigFlags.Detector.GeometryRPC = True - ConfigFlags.Input.Files = defaultTestFiles.RAW ConfigFlags.Input.isMC = False ConfigFlags.dump() diff --git a/Event/ByteStreamCnvSvc/python/ByteStreamConfig.py b/Event/ByteStreamCnvSvc/python/ByteStreamConfig.py index a8856ddcddbebe871c013c9c6847bb2fe3ff1101..a2c668ed4512db1b3342c1557c5005973294df3f 100644 --- a/Event/ByteStreamCnvSvc/python/ByteStreamConfig.py +++ b/Event/ByteStreamCnvSvc/python/ByteStreamConfig.py @@ -10,7 +10,9 @@ def TrigBSReadCfg( inputFlags ): Creates accumulator for BS reading """ filenames = inputFlags.Input.Files + + acc = ComponentAccumulator() from ByteStreamCnvSvc.ByteStreamCnvSvcConf import ByteStreamCnvSvc, ByteStreamEventStorageInputSvc, EventSelectorByteStream @@ -112,6 +114,8 @@ def TrigBSReadCfg( inputFlags ): if __name__ == "__main__": from AthenaConfiguration.AllConfigFlags import ConfigFlags from AthenaConfiguration.TestDefaults import defaultTestFiles + from AthenaCommon.Configurable import Configurable + Configurable.configurableRun3Behavior=True ConfigFlags.Input.Files = defaultTestFiles.RAW diff --git a/Event/EventInfoMgt/python/TagInfoMgrConfig.py b/Event/EventInfoMgt/python/TagInfoMgrConfig.py index c58114a9ae163d0b2a4f44492db80945097e8a1f..dc87688ff65b502ebef1bbcf1fba13acbbbdae1e 100644 --- a/Event/EventInfoMgt/python/TagInfoMgrConfig.py +++ b/Event/EventInfoMgt/python/TagInfoMgrConfig.py @@ -34,13 +34,15 @@ def TagInfoMgrCfg(configFlags,tagValuePairs=[]): return result,tagInfoMgr if __name__ == "__main__": + from AthenaCommon.Configurable import Configurable + Configurable.configurableRun3Behavior=True + from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator from AthenaConfiguration.AllConfigFlags import ConfigFlags from AthenaConfiguration.TestDefaults import defaultTestFiles ConfigFlags.Input.Files = defaultTestFiles.RAW ConfigFlags.lock() - acc, tagInfoMgr = TagInfoMgrCfg( ConfigFlags ) print tagInfoMgr acc.store( file( "test.pkl", "w" ) ) diff --git a/Trigger/TrigConfiguration/TrigConfigSvc/python/TrigConfigSvcConfig.py b/Trigger/TrigConfiguration/TrigConfigSvc/python/TrigConfigSvcConfig.py index 2ee44d6ce6b7fc758526107f41cee1e0955a81a6..53847dca87aac11a60dd3bb01658955618d42a7d 100755 --- a/Trigger/TrigConfiguration/TrigConfigSvc/python/TrigConfigSvcConfig.py +++ b/Trigger/TrigConfiguration/TrigConfigSvc/python/TrigConfigSvcConfig.py @@ -427,6 +427,9 @@ def TrigConfigSvcCfg( flags ): return acc if __name__ == "__main__": + from AthenaCommon.Configurable import Configurable + Configurable.configurableRun3Behavior=True + from AthenaConfiguration.AllConfigFlags import ConfigFlags ConfigFlags.lock() acc = TrigConfigSvcCfg( ConfigFlags ) diff --git a/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Menu/LS2_v1_newJO.py b/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Menu/LS2_v1_newJO.py index bb5ac589aa178ded92fb48e2a6e3e275cb15df84..54f095bd8563be9e19d8c4c16c6902832117dee9 100644 --- a/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Menu/LS2_v1_newJO.py +++ b/Trigger/TriggerCommon/TriggerMenuMT/python/HLTMenuConfig/Menu/LS2_v1_newJO.py @@ -55,6 +55,9 @@ def setupMenu(flags): if __name__ == "__main__": + from AthenaCommon.Configurable import Configurable + Configurable.configurableRun3Behavior=True + from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator from AthenaCommon.Constants import VERBOSE from AthenaCommon.Logging import logging