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

Merge branch 'carrierStateContinueFix' into 'master'

[GenericPropagation] carrier state bug fix

See merge request allpix-squared/allpix-squared!895
parents dec4052e 3278a61d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -334,12 +334,10 @@ void GenericPropagationModule::run(Event* event) {
                if(output_plots_) {
                    recombination_time_histo_->Fill(static_cast<double>(Units::convert(time, "ns")), charge_per_step);
                }
                continue;
            } else if(state == CarrierState::TRAPPED) {
                LOG(DEBUG) << " Trapped " << charge_per_step << " at " << Units::display(final_position, {"mm", "um"})
                           << " in " << Units::display(time, "ns") << " time, removing";
                trapped_charges_count += charge_per_step;
                continue;
            }

            LOG(DEBUG) << " Propagated " << charge_per_step << " to " << Units::display(final_position, {"mm", "um"})