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

The "FcnMinuit" class is a derived class of of the "FCNBase" mother class of Minuit that returns the χ2 to be minimised. More...

#include <fcnminuit.h>

Inheritance diagram for NangaParbat::FcnMinuit:

Public Member Functions

 FcnMinuit (ChiSquare const &chi2)
 The "FcnMinuit" default constructor. More...
 
double operator() (std::vector< double > const &pars) const
 Operator required by Minuit to compute 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 "FCNBase" mother class of Minuit that returns the χ2 to be minimised.

Constructor & Destructor Documentation

◆ FcnMinuit()

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

The "FcnMinuit" default constructor.

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

Member Function Documentation

◆ operator()()

double NangaParbat::FcnMinuit::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::FcnMinuit::SetParameters ( std::vector< double > const &  pars)
inline

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

Parameters
parsthe vector of parameters

◆ Up()

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

Member Data Documentation

◆ _chi2

ChiSquare NangaParbat::FcnMinuit::_chi2
mutableprivate

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


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