Logo ROOT  
Reference Guide
ROOT::Minuit2::MinimumState Class Reference

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

Definition at line 37 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) More...
 
 MinimumState (const MinimumParameters &states, double edm, int nfcn)
 state with parameters only (from stepping methods like Simplex, Scan) More...
 
 MinimumState (const MinimumState &state)
 
 MinimumState (double fval, double edm, int nfcn)
 state without parameters and errors (only function value an, edm and nfcn) More...
 
 MinimumState (unsigned int n)
 invalid state More...
 
 ~MinimumState ()
 
double Edm () const
 
const MinimumErrorError () const
 
double Fval () const
 
const FunctionGradientGradient () const
 
bool HasCovariance () const
 
bool HasParameters () const
 
bool IsValid () const
 
int NFcn () const
 
MinimumStateoperator= (const MinimumState &state)
 
const MinimumParametersParameters () const
 
int size () const
 
const MnAlgebraicVectorVec () const
 

Private Attributes

MnRefCountedPointer< BasicMinimumStatefData
 

#include <Minuit2/MinimumState.h>

Constructor & Destructor Documentation

◆ MinimumState() [1/5]

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

invalid state

Definition at line 42 of file MinimumState.h.

◆ MinimumState() [2/5]

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 45 of file MinimumState.h.

◆ MinimumState() [3/5]

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 48 of file MinimumState.h.

◆ MinimumState() [4/5]

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 53 of file MinimumState.h.

◆ ~MinimumState()

ROOT::Minuit2::MinimumState::~MinimumState ( )
inline

Definition at line 57 of file MinimumState.h.

◆ MinimumState() [5/5]

ROOT::Minuit2::MinimumState::MinimumState ( const MinimumState state)
inline

Definition at line 59 of file MinimumState.h.

Member Function Documentation

◆ Edm()

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

Definition at line 73 of file MinimumState.h.

◆ Error()

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

Definition at line 70 of file MinimumState.h.

◆ Fval()

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

Definition at line 72 of file MinimumState.h.

◆ Gradient()

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

Definition at line 71 of file MinimumState.h.

◆ HasCovariance()

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

Definition at line 79 of file MinimumState.h.

◆ HasParameters()

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

Definition at line 78 of file MinimumState.h.

◆ IsValid()

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

Definition at line 76 of file MinimumState.h.

◆ NFcn()

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

Definition at line 74 of file MinimumState.h.

◆ operator=()

MinimumState& ROOT::Minuit2::MinimumState::operator= ( const MinimumState state)
inline

Definition at line 61 of file MinimumState.h.

◆ Parameters()

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

Definition at line 66 of file MinimumState.h.

◆ size()

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

Definition at line 68 of file MinimumState.h.

◆ Vec()

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

Definition at line 67 of file MinimumState.h.

Member Data Documentation

◆ fData

MnRefCountedPointer<BasicMinimumState> ROOT::Minuit2::MinimumState::fData
private

Definition at line 83 of file MinimumState.h.

Libraries for ROOT::Minuit2::MinimumState:
[legend]

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