1 #ifndef FastSimulation_Utilities_LandauFluctuationGenerator_H 2 #define FastSimulation_Utilities_LandauFluctuationGenerator_H 37 virtual double function(
double x) {
return ersatzt(
x); }
double generate(RandomEngineAndDistribution const *) const
The random generation according to function()
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)
virtual ~LandauFluctuationGenerator()
Default destructor.
LandauFluctuationGenerator()
Constructor : initialization of the Random Generator.