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
Public Member Functions | |
MnFcn (const FCNBase &fcn, const MnUserTransformation &trafo, int ncall=0) | |
MnFcn (const FCNBase &fcn, int ncall=0) | |
double | CallWithoutDoingTrafo (const MnAlgebraicVector &) const |
double | CallWithTransformedParams (std::vector< double > const &vpar) const |
double | ErrorDef () const |
const FCNBase & | Fcn () const |
unsigned int | NumOfCalls () const |
const MnUserTransformation * | Trafo () const |
double | Up () const |
Private Attributes | |
const FCNBase & | fFCN |
int | fNumCall |
const MnUserTransformation * | fTransform = nullptr |
#include <Minuit2/MnFcn.h>
|
inlineexplicit |
double ROOT::Minuit2::MnFcn::CallWithoutDoingTrafo | ( | const MnAlgebraicVector & | v | ) | const |
|
inline |
|
inline |
|
private |