3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
8 the_alg = CompFactory.MuonVal.MuonTester.TreeTestAlg(name, **kwargs)
9 result.addEventAlgo(the_alg, primary =
True)
12 if __name__ ==
"__main__":
13 from MuonGeoModelTest.testGeoModel
import SetupArgParser
14 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
16 parser.set_defaults(outRootFile=
"TesterTreeFile.root")
21 flags.Concurrency.NumThreads = args.threads
22 flags.Concurrency.NumConcurrentEvents = args.threads
23 flags.Input.Files = args.inputFile
24 flags.GeoModel.AtlasVersion = args.geoTag
25 flags.IOVDb.GlobalTag = args.condTag
26 flags.Scheduler.ShowDataDeps =
True
27 flags.Scheduler.ShowDataFlow =
True
28 flags.Exec.MaxEvents = 1
30 from MuonCondTest.MdtCablingTester
import setupServicesCfg
32 from MuonGeoModelTestR4.testGeoModel
import setupHistSvcCfg, executeTest
33 cfg.merge(
setupHistSvcCfg(flags, outStream=
"TestStream", outFile = args.outRootFile))