Skip to content
Snippets Groups Projects
Verified Commit 203635c1 authored by Tadej Novak's avatar Tadej Novak
Browse files

MagneticField: remove usage of global config flags

parent a53a7b13
No related branches found
No related tags found
No related merge requests found
......@@ -73,18 +73,18 @@ if __name__=="__main__":
from AthenaCommon.Logging import log
from AthenaCommon.Constants import VERBOSE
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.AllConfigFlags import initConfigFlags
log.setLevel(VERBOSE)
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.Input.Files = defaultTestFiles.RAW
ConfigFlags.Input.isMC = False
ConfigFlags.lock()
flags = initConfigFlags()
flags.Input.Files = defaultTestFiles.RAW
flags.Input.isMC = False
flags.lock()
cfg=ComponentAccumulator()
acc = AtlasFieldCacheCondAlgCfg(ConfigFlags)
acc = AtlasFieldCacheCondAlgCfg(flags)
log.verbose(acc)
cfg.merge(acc)
......
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