Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 start 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 30 of file MnFcn.h.

Public Member Functions

 MnFcn (const FCNBase &fcn, int ncall=0)
 constructor of
 
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:
[legend]

Constructor & Destructor Documentation

◆ MnFcn()

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

constructor of

Definition at line 34 of file MnFcn.h.

◆ ~MnFcn()

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

Definition at line 18 of file MnFcn.cxx.

Member Function Documentation

◆ ErrorDef()

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

Definition at line 34 of file MnFcn.cxx.

◆ Fcn()

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

Definition at line 47 of file MnFcn.h.

◆ NumOfCalls()

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

Definition at line 39 of file MnFcn.h.

◆ operator()()

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

Reimplemented in ROOT::Minuit2::MnUserFcn.

Definition at line 23 of file MnFcn.cxx.

◆ Up()

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

Definition at line 39 of file MnFcn.cxx.

Member Data Documentation

◆ fFCN

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

Definition at line 50 of file MnFcn.h.

◆ fNumCall

int ROOT::Minuit2::MnFcn::fNumCall
mutableprotected

Definition at line 53 of file MnFcn.h.

Libraries for ROOT::Minuit2::MnFcn:

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