fixed electron polar distribution in ionization

This commit is contained in:
2026-02-11 17:57:35 +01:00
parent c9a8b511f9
commit ca78062738
+2 -2
View File
@@ -86,7 +86,7 @@ InteractionOutput ElectronIonization::performInteraction(
const double azimuth_angle_impact_new =
angle_distribution_->rollAzimuthImpactParticleAfterCollision(
E_impact, E_impact_new, generator);
E_impact, E_ejected, generator);
const double azimuth_angle_ejected =
angle_distribution_->rollAzimuthEjectedParticleAfterCollision(
E_impact, E_ejected, generator);
@@ -139,7 +139,7 @@ double IonizationEnergyDistribution::rollImpactParticleEnergyAfterCollision(
// using rejection method:
// assuming cross section is highest at smallest numbers
const double energy_after_min = SimConstants::random_lower_limit;
const double energy_after_max = impact_energy - ionization_energy_eV_;
const double energy_after_max = impact_energy - ionization_energy_eV_; // probably multiply by 0.5
const double cross_section_min = 0;
const double cross_section_max =
d2_cross_section_(impact_energy, energy_after_min);