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

API class for Minos Error analysis (asymmetric errors); minimization has to be done before and Minimum must be valid; possibility to ask only for one side of the Minos Error;.

Definition at line 33 of file MnMinos.h.

Public Member Functions

 MnMinos (const FCNBase &fcn, const FunctionMinimum &min, const MnStrategy &stra)
 construct from FCN + Minimum + strategy
 
 MnMinos (const FCNBase &fcn, const FunctionMinimum &min, unsigned int stra=1)
 construct from FCN + Minimum + strategy
 
MnCross Loval (unsigned int, unsigned int maxcalls=0, double toler=0.1) const
 
double Lower (unsigned int, unsigned int maxcalls=0, double toler=0.1) const
 calculate one side (negative or positive Error) of the Parameter give as input (optionally) maxcalls and tolerance
 
MinosError Minos (unsigned int, unsigned int maxcalls=0, double toler=0.1) const
 ask for MinosError (Lower + Upper) can be printed via std::cout
 
std::pair< double, double > operator() (unsigned int, unsigned int maxcalls=0, double toler=0.1) const
 returns the negative (pair.first) and the positive (pair.second) Minos Error of the Parameter
 
double Upper (unsigned int, unsigned int maxcalls=0, double toler=0.1) const
 
MnCross Upval (unsigned int, unsigned int maxcalls=0, double toler=0.1) const
 

Protected Member Functions

MnCross FindCrossValue (int dir, unsigned int, unsigned int maxcalls, double toler) const
 internal method to get crossing value via MnFunctionCross
 

Private Attributes

const FCNBase & fFCN
 
const FunctionMinimum & fMinimum
 
MnStrategy fStrategy
 

#include <Minuit2/MnMinos.h>

Constructor & Destructor Documentation

◆ MnMinos() [1/2]

ROOT::Minuit2::MnMinos::MnMinos ( const FCNBase & fcn,
const FunctionMinimum & min,
unsigned int stra = 1 )

construct from FCN + Minimum + strategy

Definition at line 22 of file MnMinos.cxx.

◆ MnMinos() [2/2]

ROOT::Minuit2::MnMinos::MnMinos ( const FCNBase & fcn,
const FunctionMinimum & min,
const MnStrategy & stra )

construct from FCN + Minimum + strategy

Definition at line 34 of file MnMinos.cxx.

Member Function Documentation

◆ FindCrossValue()

MnCross ROOT::Minuit2::MnMinos::FindCrossValue ( int direction,
unsigned int par,
unsigned int maxcalls,
double toler ) const
protected

internal method to get crossing value via MnFunctionCross

Get crossing value in the parameter direction.

Parameters
direction1 upper value, -1 lower value
parparameter index
maxcallsmaximum number of function calls, if 0, it will be replaced by 2 * (nvar + 1) * (200 + 100 * nvar + 5 * nvar * nvar where nvar is number of variable parameters
tolertolerance used for Migrad minimizations

Definition at line 100 of file MnMinos.cxx.

◆ Loval()

MnCross ROOT::Minuit2::MnMinos::Loval ( unsigned int par,
unsigned int maxcalls = 0,
double toler = 0.1 ) const

Definition at line 206 of file MnMinos.cxx.

◆ Lower()

double ROOT::Minuit2::MnMinos::Lower ( unsigned int par,
unsigned int maxcalls = 0,
double toler = 0.1 ) const

calculate one side (negative or positive Error) of the Parameter give as input (optionally) maxcalls and tolerance

Definition at line 53 of file MnMinos.cxx.

◆ Minos()

MinosError ROOT::Minuit2::MnMinos::Minos ( unsigned int par,
unsigned int maxcalls = 0,
double toler = 0.1 ) const

ask for MinosError (Lower + Upper) can be printed via std::cout

Definition at line 75 of file MnMinos.cxx.

◆ operator()()

std::pair< double, double > ROOT::Minuit2::MnMinos::operator() ( unsigned int par,
unsigned int maxcalls = 0,
double toler = 0.1 ) const

returns the negative (pair.first) and the positive (pair.second) Minos Error of the Parameter

Definition at line 46 of file MnMinos.cxx.

◆ Upper()

double ROOT::Minuit2::MnMinos::Upper ( unsigned int par,
unsigned int maxcalls = 0,
double toler = 0.1 ) const

Definition at line 64 of file MnMinos.cxx.

◆ Upval()

MnCross ROOT::Minuit2::MnMinos::Upval ( unsigned int par,
unsigned int maxcalls = 0,
double toler = 0.1 ) const

Definition at line 200 of file MnMinos.cxx.

Member Data Documentation

◆ fFCN

const FCNBase& ROOT::Minuit2::MnMinos::fFCN
private

Definition at line 63 of file MnMinos.h.

◆ fMinimum

const FunctionMinimum& ROOT::Minuit2::MnMinos::fMinimum
private

Definition at line 64 of file MnMinos.h.

◆ fStrategy

MnStrategy ROOT::Minuit2::MnMinos::fStrategy
private

Definition at line 65 of file MnMinos.h.

Libraries for ROOT::Minuit2::MnMinos:

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