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

MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (usually in MinimumBuilder).

Definition at line 29 of file MinimumState.h.

Public Member Functions

 MinimumState (const MinimumParameters &states, const MinimumError &err, const FunctionGradient &grad, double edm, int nfcn)
 state with parameters, Gradient and covariance (from Gradient methods such as Migrad)
 
 MinimumState (const MinimumParameters &states, double edm, int nfcn)
 state with parameters only (from stepping methods like Simplex, Scan)
 
 MinimumState (double fval, double edm, int nfcn)
 state without parameters and errors (only function value an, edm and nfcn)
 
 MinimumState (unsigned int n)
 invalid state
 
double Edm () const
 
const MinimumErrorError () const
 
double Fval () const
 
const FunctionGradientGradient () const
 
bool HasCovariance () const
 
bool HasParameters () const
 
bool IsValid () const
 
int NFcn () const
 
const MinimumParametersParameters () const
 
int size () const
 
const MnAlgebraicVectorVec () const
 

Private Attributes

std::shared_ptr< BasicMinimumStatefData
 

#include <Minuit2/MinimumState.h>

Constructor & Destructor Documentation

◆ MinimumState() [1/4]

ROOT::Minuit2::MinimumState::MinimumState ( unsigned int  n)
inline

invalid state

Definition at line 33 of file MinimumState.h.

◆ MinimumState() [2/4]

ROOT::Minuit2::MinimumState::MinimumState ( double  fval,
double  edm,
int  nfcn 
)
inline

state without parameters and errors (only function value an, edm and nfcn)

Definition at line 35 of file MinimumState.h.

◆ MinimumState() [3/4]

ROOT::Minuit2::MinimumState::MinimumState ( const MinimumParameters states,
double  edm,
int  nfcn 
)
inline

state with parameters only (from stepping methods like Simplex, Scan)

Definition at line 37 of file MinimumState.h.

◆ MinimumState() [4/4]

ROOT::Minuit2::MinimumState::MinimumState ( const MinimumParameters states,
const MinimumError err,
const FunctionGradient grad,
double  edm,
int  nfcn 
)
inline

state with parameters, Gradient and covariance (from Gradient methods such as Migrad)

Definition at line 44 of file MinimumState.h.

Member Function Documentation

◆ Edm()

double ROOT::Minuit2::MinimumState::Edm ( ) const
inline

Definition at line 57 of file MinimumState.h.

◆ Error()

const MinimumError & ROOT::Minuit2::MinimumState::Error ( ) const
inline

Definition at line 54 of file MinimumState.h.

◆ Fval()

double ROOT::Minuit2::MinimumState::Fval ( ) const
inline

Definition at line 56 of file MinimumState.h.

◆ Gradient()

const FunctionGradient & ROOT::Minuit2::MinimumState::Gradient ( ) const
inline

Definition at line 55 of file MinimumState.h.

◆ HasCovariance()

bool ROOT::Minuit2::MinimumState::HasCovariance ( ) const
inline

Definition at line 63 of file MinimumState.h.

◆ HasParameters()

bool ROOT::Minuit2::MinimumState::HasParameters ( ) const
inline

Definition at line 62 of file MinimumState.h.

◆ IsValid()

bool ROOT::Minuit2::MinimumState::IsValid ( ) const
inline

Definition at line 60 of file MinimumState.h.

◆ NFcn()

int ROOT::Minuit2::MinimumState::NFcn ( ) const
inline

Definition at line 58 of file MinimumState.h.

◆ Parameters()

const MinimumParameters & ROOT::Minuit2::MinimumState::Parameters ( ) const
inline

Definition at line 50 of file MinimumState.h.

◆ size()

int ROOT::Minuit2::MinimumState::size ( ) const
inline

Definition at line 52 of file MinimumState.h.

◆ Vec()

const MnAlgebraicVector & ROOT::Minuit2::MinimumState::Vec ( ) const
inline

Definition at line 51 of file MinimumState.h.

Member Data Documentation

◆ fData

std::shared_ptr<BasicMinimumState> ROOT::Minuit2::MinimumState::fData
private

Definition at line 66 of file MinimumState.h.

Libraries for ROOT::Minuit2::MinimumState:

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