ROOT logo
ROOT » MATH » MINUIT2 » ROOT::Minuit2::MnHesse

class ROOT::Minuit2::MnHesse


    API class for calculating the numerical covariance matrix
    (== 2x Inverse Hessian == 2x Inverse 2nd derivative); can be used by the
    user or Minuit itself

Function Members (Methods)

public:
~MnHesse()
ROOT::Minuit2::MnHesseMnHesse()
ROOT::Minuit2::MnHesseMnHesse(unsigned int stra)
ROOT::Minuit2::MnHesseMnHesse(const ROOT::Minuit2::MnStrategy& stra)
ROOT::Minuit2::MnHesseMnHesse(const ROOT::Minuit2::MnHesse&)
unsigned intNcycles() const
ROOT::Minuit2::MnUserParameterStateoperator()(const ROOT::Minuit2::FCNBase&, const ROOT::Minuit2::MnUserParameters&, unsigned int maxcalls = 0) const
ROOT::Minuit2::MnUserParameterStateoperator()(const ROOT::Minuit2::FCNBase&, const ROOT::Minuit2::MnUserParameterState&, unsigned int maxcalls = 0) const
voidoperator()(const ROOT::Minuit2::FCNBase&, ROOT::Minuit2::FunctionMinimum&, unsigned int maxcalls = 0) const
ROOT::Minuit2::MnUserParameterStateoperator()(const ROOT::Minuit2::FCNBase&, const vector<double>&, const vector<double>&, unsigned int maxcalls = 0) const
ROOT::Minuit2::MnUserParameterStateoperator()(const ROOT::Minuit2::FCNBase&, const vector<double>&, const ROOT::Minuit2::MnUserCovariance&, unsigned int maxcalls = 0) const
ROOT::Minuit2::MnUserParameterStateoperator()(const ROOT::Minuit2::FCNBase&, const ROOT::Minuit2::MnUserParameters&, const ROOT::Minuit2::MnUserCovariance&, unsigned int maxcalls = 0) const
ROOT::Minuit2::MinimumStateoperator()(const ROOT::Minuit2::MnFcn&, const ROOT::Minuit2::MinimumState&, const ROOT::Minuit2::MnUserTransformation&, unsigned int maxcalls = 0) const
ROOT::Minuit2::MnUserParameterStateoperator()(const ROOT::Minuit2::FCNBase&, const vector<double>&, unsigned int nrow, const vector<double>&, unsigned int maxcalls = 0) const
ROOT::Minuit2::MnHesse&operator=(const ROOT::Minuit2::MnHesse&)
doubleTolerG2() const
doubleTolerstp() const

Data Members

private:
ROOT::Minuit2::MnStrategyfStrategy

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

MnHesse()
 default constructor with default strategy
{}
MnHesse(unsigned int stra)
 constructor with user-defined strategy level
{}
MnHesse(const MnStrategy& stra)
 conctructor with specific strategy
{}
~MnHesse()
{}
MnUserParameterState operator()(const FCNBase&, const std::vector<double>&, const std::vector<double>&, unsigned int maxcalls=0)
 low-level API

 FCN + parameters + errors
MnUserParameterState operator()(const ROOT::Minuit2::FCNBase& , const vector<double>& , unsigned int nrow, const vector<double>& , unsigned int maxcalls = 0) const
 FCN + parameters + covariance
MnUserParameterState operator()(const FCNBase&, const std::vector<double>&, const MnUserCovariance&, unsigned int maxcalls=0)
 FCN + parameters + MnUserCovariance
MnUserParameterState operator()(const FCNBase&, const MnUserParameters&, unsigned int maxcalls=0)
 high-level API

 FCN + MnUserParameters
MnUserParameterState operator()(const FCNBase&, const MnUserParameters&, const MnUserCovariance&, unsigned int maxcalls=0)
 FCN + MnUserParameters + MnUserCovariance
MnUserParameterState operator()(const FCNBase&, const MnUserParameterState&, unsigned int maxcalls=0)
 FCN + MnUserParameterState
void operator()(const ROOT::Minuit2::FCNBase& , ROOT::Minuit2::FunctionMinimum& , unsigned int maxcalls = 0) const
 API to use MnHesse after minimization when function mimimum is avalilable, otherwise information on the last state will be
 lost. (It would be needed to re-call the gradient and spend extra useless function calls)
 The Function Minimum is updated (modified) by adding the Hesse results as last state of minimization

MinimumState operator()(const MnFcn&, const MinimumState&, const MnUserTransformation&, unsigned int maxcalls=0)
 internal interface

unsigned int Ncycles() const
 forward interface of MnStrategy
{return fStrategy.HessianNCycles();}
double Tolerstp() const
{return fStrategy.HessianStepTolerance();}
double TolerG2() const
{return fStrategy.HessianG2Tolerance();}