10 def __init__(self, collection, *args, **kwargs):
12 acts.examples.IAlgorithm.__init__(self, *args, **kwargs)
17 return acts.examples.ProcessCode.SUCCESS
22 nav =
conf_const(acts.Navigator, trackingGeometry=
None)
26 with pytest.raises(TypeError):
27 acts.examples.PropagationAlgorithm()
28 with pytest.raises(ValueError):
29 acts.examples.PropagationAlgorithm(level=acts.logging.INFO)
31 with pytest.raises(TypeError):
34 nav = acts.Navigator(trackingGeometry=trk_geo)
36 with pytest.raises(TypeError):
39 for stepper
in (acts.EigenStepper, acts.AtlasStepper):
40 with pytest.raises(TypeError):
50 acts.examples.PropagationAlgorithm,
51 level=acts.logging.WARNING,
53 randomNumberSvc=acts.examples.RandomNumbers(),
54 propagationStepCollection=
"propagation_steps",
60 events=10, numThreads=1, logLevel=acts.logging.WARNING
64 "propagation_steps",
"chk_alg", level=acts.logging.WARNING
66 seq.addAlgorithm(chkAlg)
69 assert acts.StraightLineStepper()