4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory
import CompFactory
7 from MuonConfig.MuonCondAlgConfig
import MdtCondDbAlgCfg
9 from MuonConfig.MuonGeometryConfig
import MuonIdHelperSvcCfg
11 the_alg = CompFactory.MdtConditionsTestAlg(name, **kwargs)
12 result.addEventAlgo(the_alg, primary =
True)
16 if __name__ ==
"__main__":
17 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
18 from MuonCondTest.MdtCablingTester
import SetupArgParser
19 from AthenaConfiguration.TestDefaults
import defaultTestFiles
20 from MuonConfig.MuonConfigUtils
import executeTest, SetupMuonStandaloneCA, configureCondTag
25 parser.add_argument(
"--LogName", default=
"LogFile",
26 help=
"If the test is run multiple times to ensure reproducibility, then the dump of the test can be resteered")
27 parser.set_defaults(inputFile=defaultTestFiles.ESD_RUN3_MC)
28 args = parser.parse_args()
31 flags.Concurrency.NumThreads = 1
32 flags.Concurrency.NumConcurrentEvents = 1
33 flags.Output.ESDFileName = args.output
34 flags.Input.Files = args.inputFile