1 #ifndef FastSimulation_Utilities_LandauFluctuationGenerator_H
2 #define FastSimulation_Utilities_LandauFluctuationGenerator_H
32 double function(
double x)
override {
return ersatzt(
x); }
double generate(RandomEngineAndDistribution const *) const
The random generation according to function()
~LandauFluctuationGenerator() override
Default destructor.
Exp< T >::type exp(const T &t)
void initialize()
The initialization (numerical integarion, inversion)
double ersatzt(double x)
Ersatzt for Landau Fluctuations (very good approximation)
double landau(RandomEngineAndDistribution const *random) const
Random generator of the dE/dX spread (Landau function)
LandauFluctuationGenerator()
Constructor : initialization of the Random Generator.