2from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
3from AthenaConfiguration.ComponentFactory
import CompFactory
5 result = ComponentAccumulator()
6 from ActsConfig.ActsGeometryConfig
import ActsTrackingGeometrySvcCfg
7 kwargs.setdefault(
"TrackingGeometrySvc", result.getPrimaryAndMerge(ActsTrackingGeometrySvcCfg(flags)))
8 kwargs.setdefault(
"dumpVolumes", flags.Acts.TrackingGeometry.ObjDebugOutput)
9 the_alg = CompFactory.MuonGMR4.MuonChamberToolTest(name, **kwargs)
10 result.addEventAlgo(the_alg, primary =
True)
13if __name__==
"__main__":
14 from MuonGeoModelTestR4.testGeoModel
import setupGeoR4TestCfg, SetupArgParser, executeTest
15 parser = SetupArgParser()
17 args = parser.parse_args()
20 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
21 flags = initConfigFlags()
22 flags.Acts.TrackingGeometry.UseBlueprint=
True
23 flags.Acts.TrackingGeometry.ObjDebugOutput =
False
24 flags, cfg = setupGeoR4TestCfg(args,flags)
27 cfg.getService(
"MessageSvc").verboseLimit = 100000
MuonChamberToolTestCfg(flags, name="MuonChamberToolTest", **kwargs)