14#ifndef __ROOFIT_NOROOMINIMIZER
16#ifndef ROO_MINIMIZER_FCN
17#define ROO_MINIMIZER_FCN
38 bool verbose =
false);
83 virtual double DoEval(
const double *
x)
const;
class containg the result of the fit and all the related information (fitted parameter values,...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooMinimizerFcn is an interface to the ROOT::Math::IBaseFunctionMultiDim, a function that ROOT's mini...
RooArgList * _floatParamList
void SetPdfParamErr(Int_t index, Double_t value)
Modify PDF parameter error by ordinal index (needed by MINUIT)
RooArgList * _initFloatParamList
virtual double DoEval(const double *x) const
Evaluate function given the parameters in x.
RooArgList * GetInitFloatParamList()
virtual ROOT::Math::IBaseFunctionMultiDim * Clone() const
Clone a function.
Bool_t SetLogFile(const char *inLogfile)
Change the file name for logging of a RooMinimizer of all MINUIT steppings through the parameter spac...
void ApplyCovarianceMatrix(TMatrixDSym &V)
Apply results of given external covariance matrix.
virtual unsigned int NDim() const
Retrieve the dimension of the function.
std::ofstream * GetLogFile()
Int_t evalCounter() const
void SetEvalErrorWall(Bool_t flag)
void SetRecoverFromNaNStrength(double strength)
Try to recover from invalid function values.
virtual ~RooMinimizerFcn()
RooArgList * GetInitConstParamList()
RooArgList * _constParamList
double getOffset() const
Return a possible offset that's applied to the function to separate invalid function values from vali...
Bool_t Synchronize(std::vector< ROOT::Fit::ParameterSettings > ¶meters, Bool_t optConst, Bool_t verbose)
Internal function to synchronize TMinimizer with current information in RooAbsReal function parameter...
void BackProp(const ROOT::Fit::FitResult &results)
Transfer MINUIT fit results back into RooFit objects.
void SetPrintEvalErrors(Int_t numEvalErrors)
Int_t GetNumInvalidNLL() const
void printEvalErrors() const
Print information about why evaluation failed.
const RooMinimizer * _context
void ClearPdfParamAsymErr(Int_t index)
Modify PDF parameter error by ordinal index (needed by MINUIT)
RooArgList * GetFloatParamList()
void SetVerbose(Bool_t flag=kTRUE)
Bool_t SetPdfParamVal(int index, double value) const
Set value of parameter i.
RooArgList * _initConstParamList
double _recoverFromNaNStrength
RooArgList * GetConstParamList()
RooMinimizer is a wrapper class around ROOT::Fit:Fitter that provides a seamless interface between th...