Commit 430ffc08 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Projectionpropagation: use final local_time to compare against integration time

(cherry picked from commit 63847d9b6926641a02947c380ddd6acbbc73ed70)
parent f4423937
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -302,7 +302,7 @@ void ProjectionPropagationModule::run(Event* event) {
            auto local_time = deposit.getLocalTime() + propagation_time;

            // Only add if within requested integration time:
            if(propagation_time > integration_time_) {
            if(local_time > integration_time_) {
                LOG(DEBUG) << "Charge carriers propagation time not within integration time: "
                           << Units::display(global_time, "ns") << " global / " << Units::display(local_time, {"ns", "ps"})
                           << " local";