Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | Protected Attributes | Private Attributes | List of all members
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 33 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:
[legend]

Constructor & Destructor Documentation

◆ MnFcn()

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

constructor of

Definition at line 38 of file MnFcn.h.

◆ ~MnFcn()

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

Definition at line 19 of file MnFcn.cxx.

Member Function Documentation

◆ ErrorDef()

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

Definition at line 33 of file MnFcn.cxx.

◆ Fcn()

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

Definition at line 51 of file MnFcn.h.

◆ NumOfCalls()

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

Definition at line 43 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 35 of file MnFcn.cxx.

Member Data Documentation

◆ fFCN

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

Definition at line 55 of file MnFcn.h.

◆ fNumCall

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

Definition at line 59 of file MnFcn.h.


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