Logo ROOT  
Reference Guide
ROOT::Minuit2::MnFcn Class Reference

Wrapper class to FCNBase interface used internally by Minuit.

Apply conversion from calling the function from a Minuit Vector (MnAlgebraicVector) to a std::vector for the function coordinates. The class counts also the number of function calls. By default counter strart from zero, but a different value might be given if the class is instantiated later on, for example for a set of different minimizaitons Normally the derived class MnUserFCN should be instantiated with performs in addition the transformatiopn internal-> external parameters

Definition at line 39 of file MnFcn.h.

Public Member Functions

 MnFcn (const FCNBase &fcn, int ncall=0)
 constructor of More...
virtual ~MnFcn ()
double ErrorDef () const
const FCNBaseFcn () const
unsigned int NumOfCalls () const
virtual double operator() (const MnAlgebraicVector &) const
double Up () const

Protected Attributes

int fNumCall

Private Attributes

const FCNBasefFCN

#include <Minuit2/MnFcn.h>

Inheritance diagram for ROOT::Minuit2::MnFcn:

Constructor & Destructor Documentation

◆ MnFcn()

ROOT::Minuit2::MnFcn::MnFcn ( const FCNBase fcn,
int  ncall = 0 

constructor of

Definition at line 44 of file MnFcn.h.

◆ ~MnFcn()

ROOT::Minuit2::MnFcn::~MnFcn ( )

Definition at line 27 of file MnFcn.cxx.

Member Function Documentation

◆ ErrorDef()

double ROOT::Minuit2::MnFcn::ErrorDef ( ) const

Definition at line 41 of file MnFcn.cxx.

◆ Fcn()

const FCNBase& ROOT::Minuit2::MnFcn::Fcn ( ) const

Definition at line 57 of file MnFcn.h.

◆ NumOfCalls()

unsigned int ROOT::Minuit2::MnFcn::NumOfCalls ( ) const

Definition at line 49 of file MnFcn.h.

◆ operator()()

double ROOT::Minuit2::MnFcn::operator() ( const MnAlgebraicVector v) const

Reimplemented in ROOT::Minuit2::MnUserFcn.

Definition at line 31 of file MnFcn.cxx.

◆ Up()

double ROOT::Minuit2::MnFcn::Up ( ) const

Definition at line 43 of file MnFcn.cxx.

Member Data Documentation

◆ fFCN

const FCNBase& ROOT::Minuit2::MnFcn::fFCN

Definition at line 61 of file MnFcn.h.

◆ fNumCall

int ROOT::Minuit2::MnFcn::fNumCall

Definition at line 65 of file MnFcn.h.

Libraries for ROOT::Minuit2::MnFcn:

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