4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
7 the_alg = CompFactory.Muon.MdtTwinTubeTestAlg(name=name, **kwargs)
8 result.addEventAlgo(the_alg, primary =
True)
12 if __name__ ==
"__main__":
13 from MuonGeoModelTestR4.testGeoModel
import setupGeoR4TestCfg, SetupArgParser, executeTest, geoModelFileDefault
15 parser.add_argument(
"--setupRun4", default=
True, action=
"store_true")
16 parser.add_argument(
"--cablingJSON", help=
"Location of the twin tube cabling file to test", type=str, default=
"")
17 parser.set_defaults(nEvents = 1)
18 parser.set_defaults(noMM=
True)
19 parser.set_defaults(noSTGC=
True)
20 parser.set_defaults(noRpc=
True)
21 parser.set_defaults(noTgc=
True)
23 args = parser.parse_args()
26 from MuonConfig.MuonCablingConfig
import MdtTwinTubeMapCondAlgCfg