#include <LandauFluctuationGenerator.h>
Public Member Functions | |
virtual double | function (double x) |
The probability density function implementation. More... | |
double | landau (RandomEngineAndDistribution const *random) const |
Random generator of the dE/dX spread (Landau function) More... | |
LandauFluctuationGenerator () | |
Constructor : initialization of the Random Generator. More... | |
virtual | ~LandauFluctuationGenerator () |
Default destructor. More... | |
Public Member Functions inherited from BaseNumericalRandomGenerator | |
BaseNumericalRandomGenerator (double xmin=0., double xmax=1., int n=1000, int iter=6) | |
double | generate (RandomEngineAndDistribution const *) const |
The random generation according to function() More... | |
double | generateExp (RandomEngineAndDistribution const *) const |
double | generateLin (RandomEngineAndDistribution const *) const |
void | initialize () |
The initialization (numerical integarion, inversion) More... | |
bool | setSubInterval (double x1, double x2) |
To shoot in a given interval. More... | |
virtual | ~BaseNumericalRandomGenerator () |
Default destructor. More... | |
Private Member Functions | |
double | ersatzt (double x) |
Ersatzt for Landau Fluctuations (very good approximation) More... | |
Additional Inherited Members | |
Protected Attributes inherited from BaseNumericalRandomGenerator | |
double | deltar |
std::vector< double > | f |
int | iter |
int | n |
double | rmin |
std::vector< double > | sampling |
double | xmax |
double | xmin |
Definition at line 20 of file LandauFluctuationGenerator.h.
|
inline |
Constructor : initialization of the Random Generator.
Definition at line 25 of file LandauFluctuationGenerator.h.
References BaseNumericalRandomGenerator::initialize().
|
inlinevirtual |
|
inlineprivate |
Ersatzt for Landau Fluctuations (very good approximation)
Definition at line 42 of file LandauFluctuationGenerator.h.
References JetChargeProducer_cfi::exp, M_PI, and mathSSE::sqrt().
Referenced by function().
|
inlinevirtual |
The probability density function implementation.
Implements BaseNumericalRandomGenerator.
Definition at line 37 of file LandauFluctuationGenerator.h.
|
inline |
Random generator of the dE/dX spread (Landau function)
Definition at line 34 of file LandauFluctuationGenerator.h.
References BaseNumericalRandomGenerator::generate().
Referenced by PreshowerHitMaker::addHit(), and EnergyLossSimulator::compute().