Nanga Parbat 1.1.0
A TMD fitting framework
Public Member Functions | Private Attributes | List of all members
NangaParbat::FcnMinuitGrad Class Reference

The "FcnMinuit" class is a derived class of of the "FCNGradientBase" mother class of Minuit that returns the χ2 to be minimised along with it derivatives w.r.t. the free parameters. More...

#include <fcnminuit.h>

Inheritance diagram for NangaParbat::FcnMinuitGrad:

Public Member Functions

 FcnMinuitGrad (ChiSquare const &chi2)
 The "FcnMinuitGrad" default constructor. More...
 
double operator() (std::vector< double > const &pars) const
 Operator required by Minuit to compute the function to be minimised. More...
 
std::vector< double > Gradient (const std::vector< double > &pars) const
 Function required by Minuit to compute the derivatives of the function to be minimised. More...
 
double Up () const
 
void SetParameters (std::vector< double > const &pars)
 Function that sets the parameter of the "ChiSquare" object. More...
 

Private Attributes

ChiSquare _chi2
 The "ChiSquare" object that returns the values of all chi2's. More...
 

Detailed Description

The "FcnMinuit" class is a derived class of of the "FCNGradientBase" mother class of Minuit that returns the χ2 to be minimised along with it derivatives w.r.t. the free parameters.

Constructor & Destructor Documentation

◆ FcnMinuitGrad()

NangaParbat::FcnMinuitGrad::FcnMinuitGrad ( ChiSquare const &  chi2)

The "FcnMinuitGrad" default constructor.

Parameters
chi2the "ChiSquare" object that returns the values of all chi2's

Member Function Documentation

◆ Gradient()

std::vector< double > NangaParbat::FcnMinuitGrad::Gradient ( const std::vector< double > &  pars) const

Function required by Minuit to compute the derivatives of the function to be minimised.

Parameters
parsthe vector of parameters
Returns
the vector of derivatives, one for each parameter

◆ operator()()

double NangaParbat::FcnMinuitGrad::operator() ( std::vector< double > const &  pars) const

Operator required by Minuit to compute the function to be minimised.

Parameters
parsthe vector of parameters
Returns
the function to be minimised

◆ SetParameters()

void NangaParbat::FcnMinuitGrad::SetParameters ( std::vector< double > const &  pars)
inline

Function that sets the parameter of the "ChiSquare" object.

Parameters
parsthe vector of parameters

◆ Up()

double NangaParbat::FcnMinuitGrad::Up ( ) const
inline

Member Data Documentation

◆ _chi2

ChiSquare NangaParbat::FcnMinuitGrad::_chi2
mutableprivate

The "ChiSquare" object that returns the values of all chi2's.


The documentation for this class was generated from the following file: