From 0fe17fc525e2bf1c55e774c47e133600c8b724b2 Mon Sep 17 00:00:00 2001 From: Nikos Karastathis <n.karastathis@kit.edu> Date: Thu, 10 Nov 2022 21:53:03 +0100 Subject: [PATCH] update synchrotron_test_manual_tracking.cpp to use the step object --- examples/synchrotron_test_manual_tracking.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/synchrotron_test_manual_tracking.cpp b/examples/synchrotron_test_manual_tracking.cpp index a1352918d..e2bcb3e1d 100644 --- a/examples/synchrotron_test_manual_tracking.cpp +++ b/examples/synchrotron_test_manual_tracking.cpp @@ -162,8 +162,9 @@ int main() { auto particle1{stack.addParticle(std::make_tuple( particle, calculate_kinetic_energy(plab.getNorm(), get_mass(particle)), plab.normalized(), point_1, timeCounter))}; - coreas.doContinuous(particle1, track, true); - zhs.doContinuous(particle1, track, true); + Step step(particle1, track); + coreas.doContinuous(step, true); + zhs.doContinuous(step, true); stack.clear(); } -- GitLab