Logo ROOT  
Reference Guide
ROOT::Minuit2::MnStrategy Class Reference

API class for defining three levels of strategies: low (0), medium (1), high (>=2); acts on: Migrad (behavioural), Minos (lowers strategy by 1 for Minos-own minimization), Hesse (iterations), Numerical2PDerivative (iterations)

Definition at line 27 of file MnStrategy.h.

Public Member Functions

 MnStrategy ()
 
 MnStrategy (unsigned int)
 
 ~MnStrategy ()
 
unsigned int GradientNCycles () const
 
double GradientStepTolerance () const
 
double GradientTolerance () const
 
double HessianG2Tolerance () const
 
unsigned int HessianGradientNCycles () const
 
unsigned int HessianNCycles () const
 
double HessianStepTolerance () const
 
bool IsHigh () const
 
bool IsLow () const
 
bool IsMedium () const
 
void SetGradientNCycles (unsigned int n)
 
void SetGradientStepTolerance (double stp)
 
void SetGradientTolerance (double toler)
 
void SetHessianG2Tolerance (double toler)
 
void SetHessianGradientNCycles (unsigned int n)
 
void SetHessianNCycles (unsigned int n)
 
void SetHessianStepTolerance (double stp)
 
void SetHighStrategy ()
 
void SetLowStrategy ()
 
void SetMediumStrategy ()
 
void SetStorageLevel (unsigned int level)
 
int StorageLevel () const
 
unsigned int Strategy () const
 

Private Attributes

unsigned int fGradNCyc
 
double fGradTlr
 
double fGradTlrStp
 
unsigned int fHessGradNCyc
 
unsigned int fHessNCyc
 
double fHessTlrG2
 
double fHessTlrStp
 
int fStoreLevel
 
unsigned int fStrategy
 

#include <Minuit2/MnStrategy.h>

Constructor & Destructor Documentation

◆ MnStrategy() [1/2]

ROOT::Minuit2::MnStrategy::MnStrategy ( )

Definition at line 18 of file MnStrategy.cxx.

◆ MnStrategy() [2/2]

ROOT::Minuit2::MnStrategy::MnStrategy ( unsigned int  stra)
explicit

Definition at line 24 of file MnStrategy.cxx.

◆ ~MnStrategy()

ROOT::Minuit2::MnStrategy::~MnStrategy ( )
inline

Definition at line 37 of file MnStrategy.h.

Member Function Documentation

◆ GradientNCycles()

unsigned int ROOT::Minuit2::MnStrategy::GradientNCycles ( ) const
inline

Definition at line 41 of file MnStrategy.h.

◆ GradientStepTolerance()

double ROOT::Minuit2::MnStrategy::GradientStepTolerance ( ) const
inline

Definition at line 42 of file MnStrategy.h.

◆ GradientTolerance()

double ROOT::Minuit2::MnStrategy::GradientTolerance ( ) const
inline

Definition at line 43 of file MnStrategy.h.

◆ HessianG2Tolerance()

double ROOT::Minuit2::MnStrategy::HessianG2Tolerance ( ) const
inline

Definition at line 47 of file MnStrategy.h.

◆ HessianGradientNCycles()

unsigned int ROOT::Minuit2::MnStrategy::HessianGradientNCycles ( ) const
inline

Definition at line 48 of file MnStrategy.h.

◆ HessianNCycles()

unsigned int ROOT::Minuit2::MnStrategy::HessianNCycles ( ) const
inline

Definition at line 45 of file MnStrategy.h.

◆ HessianStepTolerance()

double ROOT::Minuit2::MnStrategy::HessianStepTolerance ( ) const
inline

Definition at line 46 of file MnStrategy.h.

◆ IsHigh()

bool ROOT::Minuit2::MnStrategy::IsHigh ( ) const
inline

Definition at line 54 of file MnStrategy.h.

◆ IsLow()

bool ROOT::Minuit2::MnStrategy::IsLow ( ) const
inline

Definition at line 52 of file MnStrategy.h.

◆ IsMedium()

bool ROOT::Minuit2::MnStrategy::IsMedium ( ) const
inline

Definition at line 53 of file MnStrategy.h.

◆ SetGradientNCycles()

void ROOT::Minuit2::MnStrategy::SetGradientNCycles ( unsigned int  n)
inline

Definition at line 60 of file MnStrategy.h.

◆ SetGradientStepTolerance()

void ROOT::Minuit2::MnStrategy::SetGradientStepTolerance ( double  stp)
inline

Definition at line 61 of file MnStrategy.h.

◆ SetGradientTolerance()

void ROOT::Minuit2::MnStrategy::SetGradientTolerance ( double  toler)
inline

Definition at line 62 of file MnStrategy.h.

◆ SetHessianG2Tolerance()

void ROOT::Minuit2::MnStrategy::SetHessianG2Tolerance ( double  toler)
inline

Definition at line 66 of file MnStrategy.h.

◆ SetHessianGradientNCycles()

void ROOT::Minuit2::MnStrategy::SetHessianGradientNCycles ( unsigned int  n)
inline

Definition at line 67 of file MnStrategy.h.

◆ SetHessianNCycles()

void ROOT::Minuit2::MnStrategy::SetHessianNCycles ( unsigned int  n)
inline

Definition at line 64 of file MnStrategy.h.

◆ SetHessianStepTolerance()

void ROOT::Minuit2::MnStrategy::SetHessianStepTolerance ( double  stp)
inline

Definition at line 65 of file MnStrategy.h.

◆ SetHighStrategy()

void ROOT::Minuit2::MnStrategy::SetHighStrategy ( )

Definition at line 55 of file MnStrategy.cxx.

◆ SetLowStrategy()

void ROOT::Minuit2::MnStrategy::SetLowStrategy ( )

Definition at line 31 of file MnStrategy.cxx.

◆ SetMediumStrategy()

void ROOT::Minuit2::MnStrategy::SetMediumStrategy ( )

Definition at line 43 of file MnStrategy.cxx.

◆ SetStorageLevel()

void ROOT::Minuit2::MnStrategy::SetStorageLevel ( unsigned int  level)
inline

Definition at line 71 of file MnStrategy.h.

◆ StorageLevel()

int ROOT::Minuit2::MnStrategy::StorageLevel ( ) const
inline

Definition at line 50 of file MnStrategy.h.

◆ Strategy()

unsigned int ROOT::Minuit2::MnStrategy::Strategy ( ) const
inline

Definition at line 39 of file MnStrategy.h.

Member Data Documentation

◆ fGradNCyc

unsigned int ROOT::Minuit2::MnStrategy::fGradNCyc
private

Definition at line 76 of file MnStrategy.h.

◆ fGradTlr

double ROOT::Minuit2::MnStrategy::fGradTlr
private

Definition at line 78 of file MnStrategy.h.

◆ fGradTlrStp

double ROOT::Minuit2::MnStrategy::fGradTlrStp
private

Definition at line 77 of file MnStrategy.h.

◆ fHessGradNCyc

unsigned int ROOT::Minuit2::MnStrategy::fHessGradNCyc
private

Definition at line 82 of file MnStrategy.h.

◆ fHessNCyc

unsigned int ROOT::Minuit2::MnStrategy::fHessNCyc
private

Definition at line 79 of file MnStrategy.h.

◆ fHessTlrG2

double ROOT::Minuit2::MnStrategy::fHessTlrG2
private

Definition at line 81 of file MnStrategy.h.

◆ fHessTlrStp

double ROOT::Minuit2::MnStrategy::fHessTlrStp
private

Definition at line 80 of file MnStrategy.h.

◆ fStoreLevel

int ROOT::Minuit2::MnStrategy::fStoreLevel
private

Definition at line 83 of file MnStrategy.h.

◆ fStrategy

unsigned int ROOT::Minuit2::MnStrategy::fStrategy
private

Definition at line 74 of file MnStrategy.h.


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