Class describing the Vavilov pdf.
The probability density function of the Vavilov distribution is given by:
where
.
The parameters are:
Benno List, June 2010
Definition at line 72 of file VavilovAccuratePdf.h.
Public Member Functions | |
VavilovAccuratePdf () | |
Default constructor. | |
VavilovAccuratePdf (const double *p) | |
Constructor with parameter values. | |
~VavilovAccuratePdf () override | |
Destructor. | |
IBaseFunctionOneDim * | Clone () const override |
Return a clone of the object. | |
double | DoEval (double x) const override |
Evaluate the function. | |
double | DoEvalPar (double x, const double *p) const override |
Evaluate the function, using parameters p. | |
unsigned int | NPar () const override |
Return the number of Parameters. | |
std::string | ParameterName (unsigned int i) const override |
Return the name of the i-th parameter (starting from zero) | |
const double * | Parameters () const override |
Access the parameter values. | |
void | SetParameters (const double *p) override |
Set the parameter values. | |
![]() | |
double | operator() (const double *x, const double *p) const |
multidim-like interface | |
double | operator() (double x, const double *p) const |
Evaluate function at a point x and for given parameters p. | |
![]() | |
virtual | ~IBaseFunctionOneDim ()=default |
virtual bool | HasGradient () const |
double | operator() (const double *x) const |
Evaluate the function at a point x[]. | |
double | operator() (double x) const |
Evaluate the function at a point x. | |
![]() | |
virtual | ~IBaseParam () |
Virtual Destructor (no operations) | |
Private Attributes | |
double | fP [5] |
Additional Inherited Members | |
![]() | |
typedef IBaseFunctionOneDim | BaseFunc |
![]() | |
typedef IBaseFunctionOneDim | BaseFunc |
#include <Math/VavilovAccuratePdf.h>
ROOT::Math::VavilovAccuratePdf::VavilovAccuratePdf | ( | ) |
Default constructor.
Definition at line 40 of file VavilovAccuratePdf.cxx.
Constructor with parameter values.
p | vector of doubles containing the parameter values (Norm, x0, xi, kappa, beta2). |
Definition at line 48 of file VavilovAccuratePdf.cxx.
|
override |
Destructor.
Definition at line 61 of file VavilovAccuratePdf.cxx.
|
overridevirtual |
Return a clone of the object.
Implements ROOT::Math::IBaseFunctionOneDim.
Definition at line 101 of file VavilovAccuratePdf.cxx.
Evaluate the function.
x | The Landau parameter |
Reimplemented from ROOT::Math::IParametricFunctionOneDim.
Definition at line 89 of file VavilovAccuratePdf.cxx.
|
overridevirtual |
Evaluate the function, using parameters p.
x | The Landau parameter |
p | vector of doubles containing the parameter values (Norm, x0, xi, kappa, beta2). |
Implements ROOT::Math::IParametricFunctionOneDim.
Definition at line 94 of file VavilovAccuratePdf.cxx.
|
overridevirtual |
Return the number of Parameters.
Implements ROOT::Math::IBaseParam.
Definition at line 74 of file VavilovAccuratePdf.cxx.
|
overridevirtual |
Return the name of the i-th parameter (starting from zero)
Reimplemented from ROOT::Math::IBaseParam.
Definition at line 78 of file VavilovAccuratePdf.cxx.
Access the parameter values.
Implements ROOT::Math::IBaseParam.
Definition at line 64 of file VavilovAccuratePdf.cxx.
Set the parameter values.
p | vector of doubles containing the parameter values (Norm, x0, xi, kappa, beta2). |
Implements ROOT::Math::IBaseParam.
Definition at line 68 of file VavilovAccuratePdf.cxx.
|
private |
Definition at line 135 of file VavilovAccuratePdf.h.