ROOT  6.06/09
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROOT::Minuit2::MnMinimize 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 29 of file MnMinimize.h.

Public Member Functions

 MnMinimize (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 More...
 
 MnMinimize (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 More...
 
 MnMinimize (const FCNBase &fcn, const std::vector< double > &par, const MnUserCovariance &cov, unsigned int stra=1)
 construct from FCNBase + std::vector for parameters and MnUserCovariance More...
 
 MnMinimize (const FCNBase &fcn, const MnUserParameters &par, unsigned int stra=1)
 construct from FCNBase + MnUserParameters More...
 
 MnMinimize (const FCNBase &fcn, const MnUserParameters &par, const MnUserCovariance &cov, unsigned int stra=1)
 construct from FCNBase + MnUserParameters + MnUserCovariance More...
 
 MnMinimize (const FCNBase &fcn, const MnUserParameterState &par, const MnStrategy &str)
 construct from FCNBase + MnUserParameterState + MnStrategy More...
 
 MnMinimize (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 More...
 
 MnMinimize (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 More...
 
 MnMinimize (const FCNGradientBase &fcn, const std::vector< double > &par, const MnUserCovariance &cov, unsigned int stra=1)
 construct from FCNGradientBase + std::vector for parameters and MnUserCovariance More...
 
 MnMinimize (const FCNGradientBase &fcn, const MnUserParameters &par, unsigned int stra=1)
 construct from FCNGradientBase + MnUserParameters More...
 
 MnMinimize (const FCNGradientBase &fcn, const MnUserParameters &par, const MnUserCovariance &cov, unsigned int stra=1)
 construct from FCNGradientBase + MnUserParameters + MnUserCovariance More...
 
 MnMinimize (const FCNGradientBase &fcn, const MnUserParameterState &par, const MnStrategy &str)
 construct from FCNGradientBase + MnUserParameterState + MnStrategy More...
 
 MnMinimize (const MnMinimize &migr)
 
 ~MnMinimize ()
 
const ModularFunctionMinimizerMinimizer () const
 
- 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 More...
 
 MnApplication (const FCNGradientBase &fcn, const MnUserParameterState &state, const MnStrategy &stra, unsigned int nfcn=0)
 constructor from gradient function More...
 
virtual ~MnApplication ()
 
virtual FunctionMinimum operator() (unsigned int maxfcn=0, double tolerance=0.1)
 Minimize the function. More...
 
const MnMachinePrecisionPrecision () const
 
const MnUserParameterStateState () const
 
const MnUserParametersParameters () const
 
const MnUserCovarianceCovariance () const
 
virtual const FCNBaseFcnbase () const
 
const MnStrategyStrategy () const
 
unsigned int NumOfCalls () const
 
const std::vector< ROOT::Minuit2::MinuitParameter > & MinuitParameters () const
 
std::vector< doubleParams () const
 
std::vector< doubleErrors () const
 
const MinuitParameterParameter (unsigned int i) const
 
void Add (const char *Name, double val, double err)
 
void Add (const char *Name, double val, double err, double, double)
 
void Add (const char *, double)
 
void Fix (unsigned int)
 
void Release (unsigned int)
 
void SetValue (unsigned int, double)
 
void SetError (unsigned int, double)
 
void SetLimits (unsigned int, double, double)
 
void RemoveLimits (unsigned int)
 
double Value (unsigned int) const
 
double Error (unsigned int) const
 
void Fix (const char *)
 
void Release (const char *)
 
void SetValue (const char *, double)
 
void SetError (const char *, double)
 
void SetLimits (const char *, double, double)
 
void RemoveLimits (const char *)
 
void SetPrecision (double)
 
double Value (const char *) const
 
double Error (const char *) const
 
unsigned int Index (const char *) const
 
const char * Name (unsigned int) const
 
double Int2ext (unsigned int, double) const
 
double Ext2int (unsigned int, double) const
 
unsigned int IntOfExt (unsigned int) const
 
unsigned int ExtOfInt (unsigned int) const
 
unsigned int VariableParameters () const
 

Private Member Functions

MnMinimizeoperator= (const MnMinimize &)
 

Private Attributes

CombinedMinimizer fMinimizer
 

Additional Inherited Members

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

#include <Minuit2/MnMinimize.h>

+ Inheritance diagram for ROOT::Minuit2::MnMinimize:
+ Collaboration diagram for ROOT::Minuit2::MnMinimize:

Constructor & Destructor Documentation

ROOT::Minuit2::MnMinimize::MnMinimize ( 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 34 of file MnMinimize.h.

ROOT::Minuit2::MnMinimize::MnMinimize ( 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 37 of file MnMinimize.h.

ROOT::Minuit2::MnMinimize::MnMinimize ( 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 40 of file MnMinimize.h.

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

construct from FCNBase + MnUserParameters

Definition at line 43 of file MnMinimize.h.

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

construct from FCNBase + MnUserParameters + MnUserCovariance

Definition at line 46 of file MnMinimize.h.

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

construct from FCNBase + MnUserParameterState + MnStrategy

Definition at line 49 of file MnMinimize.h.

ROOT::Minuit2::MnMinimize::MnMinimize ( 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 54 of file MnMinimize.h.

ROOT::Minuit2::MnMinimize::MnMinimize ( 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 57 of file MnMinimize.h.

ROOT::Minuit2::MnMinimize::MnMinimize ( 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 60 of file MnMinimize.h.

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

construct from FCNGradientBase + MnUserParameters

Definition at line 63 of file MnMinimize.h.

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

construct from FCNGradientBase + MnUserParameters + MnUserCovariance

Definition at line 66 of file MnMinimize.h.

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

construct from FCNGradientBase + MnUserParameterState + MnStrategy

Definition at line 69 of file MnMinimize.h.

ROOT::Minuit2::MnMinimize::MnMinimize ( const MnMinimize migr)
inline

Definition at line 72 of file MnMinimize.h.

ROOT::Minuit2::MnMinimize::~MnMinimize ( )
inline

Definition at line 74 of file MnMinimize.h.

Member Function Documentation

const ModularFunctionMinimizer& ROOT::Minuit2::MnMinimize::Minimizer ( ) const
inlinevirtual

Implements ROOT::Minuit2::MnApplication.

Definition at line 76 of file MnMinimize.h.

MnMinimize& ROOT::Minuit2::MnMinimize::operator= ( const MnMinimize )
inlineprivate

Definition at line 85 of file MnMinimize.h.

Member Data Documentation

CombinedMinimizer ROOT::Minuit2::MnMinimize::fMinimizer
private

Definition at line 80 of file MnMinimize.h.

Referenced by Minimizer().


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