Nanga Parbat 1.1.0
A TMD fitting framework
|
Mother class that implements the main feautures of a functional parameterisation of non-perturbative functions. More...
#include <parameterisation.h>
Public Member Functions | |
Parameterisation (std::string const &name="", int const &nfuncs=0, std::vector< double > pars={}, bool const &anders=false) | |
The "Parameterisation" constructor. More... | |
virtual | ~Parameterisation () |
The "Parameterisation" destructor. More... | |
virtual void | SetParameters (std::vector< double > const &pars) |
Function that sets the free parameters of the parameterisation. More... | |
virtual double | Evaluate (double const &x, double const &b, double const &zeta, int const &ifunc) const |
Virtual function that returns the value of one of the functions. More... | |
virtual void | EvaluateOnGrid () |
std::function< double(double const &, double const &, double const &, int const &)> | Function () const |
Function that returns the parametrisation in the form of a std::function. More... | |
virtual double | Derive (double const &x, double const &b, double const &zeta, int const &ifunc, int const &ipar) const |
Virtual function that returns the value of the derivative of one of the functions. More... | |
virtual void | DeriveOnGrid () |
std::function< double(double const &, double const &, double const &, int const &, int const &)> | Derivative () const |
Function that returns the derivative of the parametrisation in the form of a std::function. More... | |
virtual std::string | LatexFormula () const |
Virtual function that returns a string with the formula of the non-perturbative function(s) in LaTex format. More... | |
virtual std::vector< std::string > | GetParameterNames () const |
Virtual function that returns a vector of strings containing the names of the parameters in LaTex format. More... | |
virtual std::string | GetDescription () const |
Virtual function that returns a short description of the parametrisation. More... | |
virtual std::function< std::map< int, double >(double const &, double const &)> | LHAPDF_Function () const |
virtual std::function< std::map< int, double >(double const &, double const &)> | LHAPDF_Derivative (int) const |
virtual std::function< apfel::Set< apfel::Distribution >(double const &)> | DistributionFunction () const |
virtual std::function< apfel::Set< apfel::Distribution >(double const &)> | DistributionDerivative (int) const |
Getters | |
Functions to retrieve the feauture of the parameterisation | |
std::string | GetName () const |
int | GetNumberOfFunctions () const |
virtual std::vector< double > | GetParameters () const |
virtual int | GetParameterNumber () const |
bool | HasGradient () const |
Protected Attributes | |
std::string | _name |
Name of the parameterisation. More... | |
int | _nfuncs |
Number of output functions. More... | |
std::vector< double > | _pars |
The vector of free parameters. More... | |
bool | _anders |
Whether the parametersation provides analytic derivatives. More... | |
Mother class that implements the main feautures of a functional parameterisation of non-perturbative functions.
NangaParbat::Parameterisation::Parameterisation | ( | std::string const & | name = "" , |
int const & | nfuncs = 0 , |
||
std::vector< double > | pars = {} , |
||
bool const & | anders = false |
||
) |
The "Parameterisation" constructor.
name | name of the parameterisation object (default: empty string) |
nfuncs | number of parametric functions (default: 0) |
pars | vector of parameters (default: empty vector) |
anders | whether analytic derivatives are provided |
|
inlinevirtual |
The "Parameterisation" destructor.
std::function< double(double const &, double const &, double const &, int const &, int const &)> NangaParbat::Parameterisation::Derivative | ( | ) | const |
Function that returns the derivative of the parametrisation in the form of a std::function.
|
inlinevirtual |
Virtual function that returns the value of the derivative of one of the functions.
x | momentum fraction |
b | impact parameter |
zeta | rapidity scale |
ifunc | index of the function; |
ipar | index of the parameter |
Reimplemented in NangaParbat::DWS, and NangaParbat::PV19x.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Virtual function that returns the value of one of the functions.
x | momentum fraction |
b | impact parameter |
zeta | rapidity scale ζ |
ifunc | index of the function |
Reimplemented in NangaParbat::DWS, NangaParbat::MAP21test, NangaParbat::PV17, NangaParbat::PV19, NangaParbat::PV19b, NangaParbat::PV19x, NangaParbat::PV20Sivers, NangaParbat::QGG13, NangaParbat::QGG6, and NangaParbat::MeanReplica.
|
inlinevirtual |
std::function< double(double const &, double const &, double const &, int const &)> NangaParbat::Parameterisation::Function | ( | ) | const |
Function that returns the parametrisation in the form of a std::function.
|
inlinevirtual |
Virtual function that returns a short description of the parametrisation.
Reimplemented in NangaParbat::DWS, NangaParbat::MAP21test, NangaParbat::PV17, NangaParbat::PV19, NangaParbat::PV19b, NangaParbat::PV19x, NangaParbat::PV20Sivers, NangaParbat::QGG13, and NangaParbat::QGG6.
|
inline |
|
inline |
|
inlinevirtual |
Virtual function that returns a vector of strings containing the names of the parameters in LaTex format.
Reimplemented in NangaParbat::DWS, NangaParbat::MAP21test, NangaParbat::MeanReplica, NangaParbat::PV17, NangaParbat::PV19, NangaParbat::PV19b, NangaParbat::PV19x, NangaParbat::PV20Sivers, NangaParbat::QGG13, and NangaParbat::QGG6.
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Virtual function that returns a string with the formula of the non-perturbative function(s) in LaTex format.
Reimplemented in NangaParbat::DWS, NangaParbat::MAP21test, NangaParbat::MeanReplica, NangaParbat::PV17, NangaParbat::PV19, NangaParbat::PV19b, NangaParbat::PV19x, NangaParbat::PV20Sivers, NangaParbat::QGG13, and NangaParbat::QGG6.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Function that sets the free parameters of the parameterisation.
pars | the vector of parameters |
|
protected |
Whether the parametersation provides analytic derivatives.
|
protected |
Name of the parameterisation.
|
protected |
Number of output functions.
|
protected |
The vector of free parameters.