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

MinimumError keeps the inv.

2nd derivative (inv. Hessian) used for calculating the Parameter step size (-V*g) and for the covariance Update (ErrorUpdator). The covariance matrix is equal to twice the inv. Hessian.

Definition at line 28 of file MinimumError.h.

Classes

struct  Data
 

Public Types

enum  Status {
  MnUnset , MnPosDef , MnMadePosDef , MnNotPosDef ,
  MnHesseFailed , MnInvertFailed , MnReachedCallLimit
}
 

Public Member Functions

 MinimumError (const MnAlgebraicSymMatrix &mat, double dcov)
 
 MinimumError (const MnAlgebraicSymMatrix &mat, Status status)
 
 MinimumError (unsigned int n)
 
double Dcovar () const
 
Status GetStatus () const
 
bool HasReachedCallLimit () const
 
bool HesseFailed () const
 
MnAlgebraicSymMatrix Hessian () const
 
bool InvertFailed () const
 
const MnAlgebraicSymMatrixInvHessian () const
 
bool IsAccurate () const
 
bool IsAvailable () const
 
bool IsMadePosDef () const
 
bool IsNotPosDef () const
 
bool IsPosDef () const
 
bool IsValid () const
 
MnAlgebraicSymMatrix Matrix () const
 

Static Public Member Functions

static MnAlgebraicSymMatrix InvertMatrix (const MnAlgebraicSymMatrix &matrix)
 
static MnAlgebraicSymMatrix InvertMatrix (const MnAlgebraicSymMatrix &matrix, int &ifail)
 

Private Attributes

std::shared_ptr< DatafPtr
 

#include <Minuit2/MinimumError.h>

Member Enumeration Documentation

◆ Status

Enumerator
MnUnset 
MnPosDef 
MnMadePosDef 
MnNotPosDef 
MnHesseFailed 
MnInvertFailed 
MnReachedCallLimit 

Definition at line 31 of file MinimumError.h.

Constructor & Destructor Documentation

◆ MinimumError() [1/3]

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

Definition at line 42 of file MinimumError.h.

◆ MinimumError() [2/3]

ROOT::Minuit2::MinimumError::MinimumError ( const MnAlgebraicSymMatrix mat,
double  dcov 
)
inline

Definition at line 44 of file MinimumError.h.

◆ MinimumError() [3/3]

ROOT::Minuit2::MinimumError::MinimumError ( const MnAlgebraicSymMatrix mat,
Status  status 
)
inline

Definition at line 46 of file MinimumError.h.

Member Function Documentation

◆ Dcovar()

double ROOT::Minuit2::MinimumError::Dcovar ( ) const
inline

Definition at line 76 of file MinimumError.h.

◆ GetStatus()

Status ROOT::Minuit2::MinimumError::GetStatus ( ) const
inline

Definition at line 77 of file MinimumError.h.

◆ HasReachedCallLimit()

bool ROOT::Minuit2::MinimumError::HasReachedCallLimit ( ) const
inline

Definition at line 87 of file MinimumError.h.

◆ HesseFailed()

bool ROOT::Minuit2::MinimumError::HesseFailed ( ) const
inline

Definition at line 85 of file MinimumError.h.

◆ Hessian()

MnAlgebraicSymMatrix ROOT::Minuit2::MinimumError::Hessian ( ) const
inline

Definition at line 53 of file MinimumError.h.

◆ InvertFailed()

bool ROOT::Minuit2::MinimumError::InvertFailed ( ) const
inline

Definition at line 86 of file MinimumError.h.

◆ InvertMatrix() [1/2]

static MnAlgebraicSymMatrix ROOT::Minuit2::MinimumError::InvertMatrix ( const MnAlgebraicSymMatrix matrix)
inlinestatic

Definition at line 71 of file MinimumError.h.

◆ InvertMatrix() [2/2]

static MnAlgebraicSymMatrix ROOT::Minuit2::MinimumError::InvertMatrix ( const MnAlgebraicSymMatrix matrix,
int ifail 
)
inlinestatic

Definition at line 58 of file MinimumError.h.

◆ InvHessian()

const MnAlgebraicSymMatrix & ROOT::Minuit2::MinimumError::InvHessian ( ) const
inline

Definition at line 50 of file MinimumError.h.

◆ IsAccurate()

bool ROOT::Minuit2::MinimumError::IsAccurate ( ) const
inline

Definition at line 80 of file MinimumError.h.

◆ IsAvailable()

bool ROOT::Minuit2::MinimumError::IsAvailable ( ) const
inline

Definition at line 88 of file MinimumError.h.

◆ IsMadePosDef()

bool ROOT::Minuit2::MinimumError::IsMadePosDef ( ) const
inline

Definition at line 83 of file MinimumError.h.

◆ IsNotPosDef()

bool ROOT::Minuit2::MinimumError::IsNotPosDef ( ) const
inline

Definition at line 84 of file MinimumError.h.

◆ IsPosDef()

bool ROOT::Minuit2::MinimumError::IsPosDef ( ) const
inline

Definition at line 82 of file MinimumError.h.

◆ IsValid()

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

Definition at line 79 of file MinimumError.h.

◆ Matrix()

MnAlgebraicSymMatrix ROOT::Minuit2::MinimumError::Matrix ( ) const
inline

Definition at line 48 of file MinimumError.h.

Member Data Documentation

◆ fPtr

std::shared_ptr<Data> ROOT::Minuit2::MinimumError::fPtr
private

Definition at line 97 of file MinimumError.h.

Libraries for ROOT::Minuit2::MinimumError:

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