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