Commit 9bc8dce7 authored by Paul Schütze's avatar Paul Schütze
Browse files

ImpIoni: fix a few more issues

parent 403d6554
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -592,7 +592,7 @@ GenericPropagationModule::propagate(Event* event,
                   << ", state: " << allpix::to_string(state);

        // Apply multiplication step: calculate gain factor from local efield and step length; Interpolate efield values
        // The multiplication factor is not scaled by the velocity fraction transverse to the electric field, as the
        // The multiplication factor is not scaled by the velocity fraction parallel to the electric field, as the
        // correction is negligible for semiconductors
        auto local_gain =
            multiplication_(type, (std::sqrt(efield.Mag2()) + std::sqrt(last_efield.Mag2())) / 2., step.value.norm());
+1 −1
Original line number Diff line number Diff line
@@ -616,7 +616,7 @@ TransientPropagationModule::propagate(Event* event,
        }

        // Apply multiplication step: calculate gain factor from local efield and step length; Interpolate efield values
        // The multiplication factor is not scaled by the velocity fraction transverse to the electric field, as the
        // The multiplication factor is not scaled by the velocity fraction parallel to the electric field, as the
        // correction is negligible for semiconductors
        auto local_gain =
            multiplication_(type, (std::sqrt(efield.Mag2()) + std::sqrt(last_efield.Mag2())) / 2., step.value.norm());
+0 −2
Original line number Diff line number Diff line
@@ -112,8 +112,6 @@ namespace allpix {
        unsigned int max_charge_groups_{};

        unsigned int max_multiplication_level_{};
        bool multiplication_probability_based_{};
        unsigned int multiplication_probability_samples_{};

        // Models for electron and hole mobility and lifetime
        Mobility mobility_;