Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Minuit2::MnMigrad Class Reference

API class for minimization using Variable Metric technology ("MIGRAD"); allows for user interaction: set/change parameters, do minimization, change parameters, re-do minimization etc.; also used by MnMinos and MnContours;.

Definition at line 32 of file MnMigrad.h.

Public Member Functions

 MnMigrad (const FCNBase &fcn, const MnUserParameters &par, const MnUserCovariance &cov, unsigned int stra=1)
 construct from FCNBase + MnUserParameters + MnUserCovariance
 
 MnMigrad (const FCNBase &fcn, const MnUserParameters &par, unsigned int stra=1)
 construct from FCNBase + MnUserParameters
 
 MnMigrad (const FCNBase &fcn, const MnUserParameterState &par, const MnStrategy &str)
 construct from FCNBase + MnUserParameterState + MnStrategy
 
 MnMigrad (const FCNBase &fcn, const std::vector< double > &par, const MnUserCovariance &cov, unsigned int stra=1)
 construct from FCNBase + std::vector for parameters and MnUserCovariance
 
 MnMigrad (const FCNBase &fcn, const std::vector< double > &par, const std::vector< double > &err, unsigned int stra=1)
 construct from FCNBase + std::vector for parameters and errors
 
 MnMigrad (const FCNBase &fcn, const std::vector< double > &par, unsigned int nrow, const std::vector< double > &cov, unsigned int stra=1)
 construct from FCNBase + std::vector for parameters and covariance
 
 MnMigrad (const FCNGradientBase &fcn, const MnUserParameters &par, const MnUserCovariance &cov, unsigned int stra=1)
 construct from FCNGradientBase + MnUserParameters + MnUserCovariance
 
 MnMigrad (const FCNGradientBase &fcn, const MnUserParameters &par, unsigned int stra=1)
 construct from FCNGradientBase + MnUserParameters
 
 MnMigrad (const FCNGradientBase &fcn, const MnUserParameterState &par, const MnStrategy &str)
 construct from FCNGradientBase + MnUserParameterState + MnStrategy
 
 MnMigrad (const FCNGradientBase &fcn, const std::vector< double > &par, const MnUserCovariance &cov, unsigned int stra=1)
 construct from FCNGradientBase + std::vector for parameters and MnUserCovariance
 
 MnMigrad (const FCNGradientBase &fcn, const std::vector< double > &par, const std::vector< double > &err, unsigned int stra=1)
 construct from FCNGradientBase + std::vector for parameters and errors
 
 MnMigrad (const FCNGradientBase &fcn, const std::vector< double > &par, unsigned int nrow, const std::vector< double > &cov, unsigned int stra=1)
 construct from FCNGradientBase + std::vector for parameters and covariance
 
 MnMigrad (const MnMigrad &)=default
 Copy constructor, copy shares the reference to the same FCNBase in MnApplication.
 
 ~MnMigrad () override
 
const ModularFunctionMinimizerMinimizer () const override
 
ModularFunctionMinimizerMinimizer () override
 
MnMigradoperator= (const MnMigrad &)=delete
 
- Public Member Functions inherited from ROOT::Minuit2::MnApplication
 MnApplication (const FCNBase &fcn, const MnUserParameterState &state, const MnStrategy &stra, unsigned int nfcn=0)
 constructor from non-gradient functions
 
 MnApplication (const FCNGradientBase &fcn, const MnUserParameterState &state, const MnStrategy &stra, unsigned int nfcn=0)
 constructor from gradient function
 
virtual ~MnApplication ()
 
void Add (const char *, double)
 
void Add (const char *Name, double val, double err)
 
void Add (const char *Name, double val, double err, double, double)
 
const MnUserCovarianceCovariance () const
 
double Error (const char *) const
 
double Error (unsigned int) const
 
std::vector< doubleErrors () const
 
double Ext2int (unsigned int, double) const
 
unsigned int ExtOfInt (unsigned int) const
 
virtual const FCNBaseFcnbase () const
 
void Fix (const char *)
 
void Fix (unsigned int)
 
unsigned int Index (const char *) const
 
double Int2ext (unsigned int, double) const
 
unsigned int IntOfExt (unsigned int) const
 
const std::vector< ROOT::Minuit2::MinuitParameter > & MinuitParameters () const
 
const char * Name (unsigned int) const
 
unsigned int NumOfCalls () const
 
virtual FunctionMinimum operator() (unsigned int maxfcn=0, double tolerance=0.1)
 Minimize the function.
 
const MinuitParameterParameter (unsigned int i) const
 
const MnUserParametersParameters () const
 
std::vector< doubleParams () const
 
const MnMachinePrecisionPrecision () const
 
void Release (const char *)
 
void Release (unsigned int)
 
void RemoveLimits (const char *)
 
void RemoveLimits (unsigned int)
 
void SetError (const char *, double)
 
void SetError (unsigned int, double)
 
void SetLimits (const char *, double, double)
 
void SetLimits (unsigned int, double, double)
 
void SetPrecision (double)
 
void SetValue (const char *, double)
 
void SetValue (unsigned int, double)
 
const MnUserParameterStateState () const
 
const MnStrategyStrategy () const
 
double Value (const char *) const
 
double Value (unsigned int) const
 
unsigned int VariableParameters () const
 

Private Attributes

VariableMetricMinimizer fMinimizer
 

Additional Inherited Members

- Protected Attributes inherited from ROOT::Minuit2::MnApplication
const FCNBasefFCN
 
unsigned int fNumCall
 
MnUserParameterState fState
 
MnStrategy fStrategy
 
bool fUseGrad
 

#include <Minuit2/MnMigrad.h>

Inheritance diagram for ROOT::Minuit2::MnMigrad:
[legend]

Constructor & Destructor Documentation

◆ MnMigrad() [1/13]

ROOT::Minuit2::MnMigrad::MnMigrad ( const FCNBase fcn,
const std::vector< double > &  par,
const std::vector< double > &  err,
unsigned int  stra = 1 
)
inline

construct from FCNBase + std::vector for parameters and errors

Definition at line 36 of file MnMigrad.h.

◆ MnMigrad() [2/13]

ROOT::Minuit2::MnMigrad::MnMigrad ( const FCNBase fcn,
const std::vector< double > &  par,
unsigned int  nrow,
const std::vector< double > &  cov,
unsigned int  stra = 1 
)
inline

construct from FCNBase + std::vector for parameters and covariance

Definition at line 42 of file MnMigrad.h.

◆ MnMigrad() [3/13]

ROOT::Minuit2::MnMigrad::MnMigrad ( const FCNBase fcn,
const std::vector< double > &  par,
const MnUserCovariance cov,
unsigned int  stra = 1 
)
inline

construct from FCNBase + std::vector for parameters and MnUserCovariance

Definition at line 50 of file MnMigrad.h.

◆ MnMigrad() [4/13]

ROOT::Minuit2::MnMigrad::MnMigrad ( const FCNBase fcn,
const MnUserParameters par,
unsigned int  stra = 1 
)
inline

construct from FCNBase + MnUserParameters

Definition at line 56 of file MnMigrad.h.

◆ MnMigrad() [5/13]

ROOT::Minuit2::MnMigrad::MnMigrad ( const FCNBase fcn,
const MnUserParameters par,
const MnUserCovariance cov,
unsigned int  stra = 1 
)
inline

construct from FCNBase + MnUserParameters + MnUserCovariance

Definition at line 62 of file MnMigrad.h.

◆ MnMigrad() [6/13]

ROOT::Minuit2::MnMigrad::MnMigrad ( const FCNBase fcn,
const MnUserParameterState par,
const MnStrategy str 
)
inline

construct from FCNBase + MnUserParameterState + MnStrategy

Definition at line 68 of file MnMigrad.h.

◆ MnMigrad() [7/13]

ROOT::Minuit2::MnMigrad::MnMigrad ( const FCNGradientBase fcn,
const std::vector< double > &  par,
const std::vector< double > &  err,
unsigned int  stra = 1 
)
inline

construct from FCNGradientBase + std::vector for parameters and errors

Definition at line 76 of file MnMigrad.h.

◆ MnMigrad() [8/13]

ROOT::Minuit2::MnMigrad::MnMigrad ( const FCNGradientBase fcn,
const std::vector< double > &  par,
unsigned int  nrow,
const std::vector< double > &  cov,
unsigned int  stra = 1 
)
inline

construct from FCNGradientBase + std::vector for parameters and covariance

Definition at line 83 of file MnMigrad.h.

◆ MnMigrad() [9/13]

ROOT::Minuit2::MnMigrad::MnMigrad ( const FCNGradientBase fcn,
const std::vector< double > &  par,
const MnUserCovariance cov,
unsigned int  stra = 1 
)
inline

construct from FCNGradientBase + std::vector for parameters and MnUserCovariance

Definition at line 91 of file MnMigrad.h.

◆ MnMigrad() [10/13]

ROOT::Minuit2::MnMigrad::MnMigrad ( const FCNGradientBase fcn,
const MnUserParameters par,
unsigned int  stra = 1 
)
inline

construct from FCNGradientBase + MnUserParameters

Definition at line 98 of file MnMigrad.h.

◆ MnMigrad() [11/13]

ROOT::Minuit2::MnMigrad::MnMigrad ( const FCNGradientBase fcn,
const MnUserParameters par,
const MnUserCovariance cov,
unsigned int  stra = 1 
)
inline

construct from FCNGradientBase + MnUserParameters + MnUserCovariance

Definition at line 104 of file MnMigrad.h.

◆ MnMigrad() [12/13]

ROOT::Minuit2::MnMigrad::MnMigrad ( const FCNGradientBase fcn,
const MnUserParameterState par,
const MnStrategy str 
)
inline

construct from FCNGradientBase + MnUserParameterState + MnStrategy

Definition at line 110 of file MnMigrad.h.

◆ ~MnMigrad()

ROOT::Minuit2::MnMigrad::~MnMigrad ( )
inlineoverride

Definition at line 115 of file MnMigrad.h.

◆ MnMigrad() [13/13]

ROOT::Minuit2::MnMigrad::MnMigrad ( const MnMigrad )
default

Copy constructor, copy shares the reference to the same FCNBase in MnApplication.

Member Function Documentation

◆ Minimizer() [1/2]

const ModularFunctionMinimizer & ROOT::Minuit2::MnMigrad::Minimizer ( ) const
inlineoverridevirtual

Implements ROOT::Minuit2::MnApplication.

Definition at line 124 of file MnMigrad.h.

◆ Minimizer() [2/2]

ModularFunctionMinimizer & ROOT::Minuit2::MnMigrad::Minimizer ( )
inlineoverridevirtual

Implements ROOT::Minuit2::MnApplication.

Definition at line 123 of file MnMigrad.h.

◆ operator=()

MnMigrad & ROOT::Minuit2::MnMigrad::operator= ( const MnMigrad )
delete

Member Data Documentation

◆ fMinimizer

VariableMetricMinimizer ROOT::Minuit2::MnMigrad::fMinimizer
private

Definition at line 127 of file MnMigrad.h.

Libraries for ROOT::Minuit2::MnMigrad:

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