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:
@@ -20,6 +20,17 @@ class TritiumBetaDecay : public EnergyDistributionFunction {
|
||||
std::uniform_real_distribution<double> y_distribution_;
|
||||
};
|
||||
|
||||
class TritiumBetaDecayIon : public EnergyDistributionFunction {
|
||||
public:
|
||||
TritiumBetaDecayIon(double endpoint_eV);
|
||||
double rollEnergy(std::mt19937* engine);
|
||||
|
||||
private:
|
||||
const std::function<double(double)> tritium_spectrum_, tritium_spectrum_ion_;
|
||||
std::uniform_real_distribution<double> x_distribution_;
|
||||
std::uniform_real_distribution<double> y_distribution_;
|
||||
};
|
||||
|
||||
class MaxwellBoltzmann : public EnergyDistributionFunction {
|
||||
public:
|
||||
MaxwellBoltzmann(double temperature_K);
|
||||
|
||||
Reference in New Issue
Block a user