#include <GammaNumericalGenerator.h>
Public Member Functions | |
virtual double | function (double x) |
The probability density function implementation. More... | |
double | gamma (RandomEngineAndDistribution const *random) const |
Random generator. More... | |
double | gamma_exp (RandomEngineAndDistribution const *random) const |
double | gamma_lin (RandomEngineAndDistribution const *random) const |
GammaNumericalGenerator (double a=0, double b=0, double x1=0, double x2=0) | |
Constructor : initialization of the Random Generator. More... | |
bool | isValid () const |
virtual | ~GammaNumericalGenerator () |
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) |
Gamma Function. More... | |
Private Attributes | |
double | a_ |
double | b_ |
bool | valid |
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 12 of file GammaNumericalGenerator.h.
|
inline |
Constructor : initialization of the Random Generator.
Definition at line 17 of file GammaNumericalGenerator.h.
References a, b, BaseNumericalRandomGenerator::initialize(), and valid.
|
inlinevirtual |
|
inlineprivate |
Gamma Function.
Definition at line 46 of file GammaNumericalGenerator.h.
References a_, b_, create_public_lumi_plots::exp, funct::pow(), and x.
Referenced by function().
|
inlinevirtual |
The probability density function implementation.
Implements BaseNumericalRandomGenerator.
Definition at line 39 of file GammaNumericalGenerator.h.
|
inline |
Random generator.
Definition at line 32 of file GammaNumericalGenerator.h.
References BaseNumericalRandomGenerator::generate().
|
inline |
Definition at line 34 of file GammaNumericalGenerator.h.
References BaseNumericalRandomGenerator::generateExp().
|
inline |
Definition at line 36 of file GammaNumericalGenerator.h.
References BaseNumericalRandomGenerator::generateLin().
|
inline |
|
private |
Definition at line 52 of file GammaNumericalGenerator.h.
Referenced by ersatzt().
|
private |
Definition at line 52 of file GammaNumericalGenerator.h.
Referenced by ersatzt().
|
private |
Definition at line 53 of file GammaNumericalGenerator.h.
Referenced by GammaNumericalGenerator(), and isValid().