New energy distribution function to better approximate

the energy distribution of the ions created in the T2 beta decay;
Does not take into account the distribution due to angular
distribution nor the fact that that a dissociative decay is possible.
Note: drawing the ion energy also draws a new electron energy, which,
however, is discarded.
This commit is contained in:
2026-02-16 09:02:25 +01:00
parent 364191d92f
commit 32f4703f4e
5 changed files with 58 additions and 2 deletions
+13
View File
@@ -32,4 +32,17 @@ std::function<double(double)> tritiumDecayEnergySpectrum(double prefactor) {
(energy_eV + HEPunits::me) * p *
(T2BetaDecay::E0_T - energy_eV)*(T2BetaDecay::E0_T - energy_eV) * prefactor;
};
}
std::function<double(double)> tritiumDecayEnergySpectrumIon(double endpoint) {
if (endpoint <= 0.) {
ERROR("Endpoint energy must be positive");
}
return [=](double energy_eV) {
if (energy_eV < 0.) {
ERROR("Beta decay spectrum (ion) not defined for negative energies.");
}
return energy_eV*endpoint/T2BetaDecay::E0_T;
};
}