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

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

(cherry picked from commit 0f0edf093d61d1abded209cac69d9152e52945ea)
parent 67031033
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -902,7 +902,7 @@ GenericPropagationModule::propagate(const ROOT::Math::XYZPoint& pos,
                   << Units::display(static_cast<ROOT::Math::XYZPoint>(position), {"um", "mm"});
    }
    // Return the final position of the propagated charge
    return std::make_tuple(static_cast<ROOT::Math::XYZPoint>(position), initial_time + time, is_alive, is_trapped);
    return std::make_tuple(static_cast<ROOT::Math::XYZPoint>(position), time, is_alive, is_trapped);
}

void GenericPropagationModule::finalize() {