ATLAS Offline Software
MuonLegacyChainTesterConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaborationation
2 
3 if __name__=="__main__":
4 
5  from MuonGeoModelTest.testGeoModel import SetupArgParser
6 
7  parser = SetupArgParser()
8  parser.set_defaults(condTag="CONDBR2-BLKPA-2023-03")
9  parser.set_defaults(inputFile=["/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/Tier0ChainTests/TCT_Run3/data22_13p6TeV.00431493.physics_Main.daq.RAW._lb0525._SFO-16._0001.data"])
10  args = parser.parse_args()
11  from AthenaConfiguration.AllConfigFlags import initConfigFlags
12  flags = initConfigFlags()
13  flags.Concurrency.NumThreads = args.threads
14  flags.Concurrency.NumConcurrentEvents = args.threads # Might change this later, but good enough for the moment.
15  flags.Input.Files = args.inputFile
16  flags.GeoModel.AtlasVersion = args.geoTag
17  flags.IOVDb.GlobalTag = args.condTag
18  flags.Scheduler.ShowDataDeps = True
19  flags.Scheduler.ShowDataFlow = True
20  flags.lock()
21  from MuonCondTest.MdtCablingTester import setupServicesCfg
22  cfg = setupServicesCfg(flags)
23 
24  from MuonConfig.MuonReconstructionConfig import MuonReconstructionCfg
25  cfg.merge(MuonReconstructionCfg(flags))
26 
27 
28  from MuonGeoModelTestR4.testGeoModel import executeTest
29  executeTest(cfg)
30 
python.MdtCablingTester.setupServicesCfg
def setupServicesCfg(flags)
Definition: MdtCablingTester.py:17
python.MdtCablingTester.SetupArgParser
def SetupArgParser()
Definition: MdtCablingTester.py:3
python.MuonReconstructionConfig.MuonReconstructionCfg
def MuonReconstructionCfg(flags)
Definition: MuonReconstructionConfig.py:149
python.testGeoModel.executeTest
def executeTest(cfg)
Definition: MuonPhaseII/MuonDetDescr/MuonGeoModelTestR4/python/testGeoModel.py:192
python.AllConfigFlags.initConfigFlags
def initConfigFlags()
Definition: AllConfigFlags.py:19