3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
8 theAlg = CompFactory.MuonValR4.MdtCalibDbAlgTest(name, **kwargs)
9 result.addEventAlgo(theAlg, primary=
True)
12 if __name__==
"__main__":
13 from MuonGeoModelTestR4.testGeoModel
import setupGeoR4TestCfg, SetupArgParser, executeTest,setupHistSvcCfg,geoModelFileDefault
15 parser.add_argument(
"--setupRun4", default=
True, action=
"store_true")
16 parser.set_defaults(nEvents = -1)
17 parser.set_defaults(outRootFile=
"MdtCalibDbAlgTest.root")
18 parser.set_defaults(inputFile=[
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/MuonRecRTT/R4SimHits.pool.root"])
19 parser.set_defaults(eventPrintoutLevel = 1000)
20 parser.set_defaults(noMM=
True)
21 parser.set_defaults(noSTGC=
True)
22 parser.set_defaults(noRpc=
True)
23 parser.set_defaults(noTgc=
True)
25 args = parser.parse_args()
27 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
29 flags.PerfMon.doFullMonMT =
True
32 from MuonConfig.MuonDataPrepConfig
import xAODUncalibMeasPrepCfg
36 outStream=
"MdtCalibDbAlgTest"))