Commit 67031033 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

TransientPropagation: do not double-sum the initial deposit's local time

(cherry picked from commit 4c264bb98d80e9295cd25e1d95ef5fe87f1eb106)
parent 9d188d5c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -454,8 +454,7 @@ TransientPropagationModule::propagate(Event* event,
    }

    // Return the final position of the propagated charge
    return std::make_tuple(
        static_cast<ROOT::Math::XYZPoint>(position), initial_time + runge_kutta.getTime(), is_alive, is_trapped);
    return std::make_tuple(static_cast<ROOT::Math::XYZPoint>(position), runge_kutta.getTime(), is_alive, is_trapped);
}

void TransientPropagationModule::finalize() {