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:
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user