ROOT » ROOFIT » ROOFITCORE » RooMinimizerFcn

class RooMinimizerFcn: public ROOT::Math::IBaseFunctionMultiDim


 RooMinimizerFcn is am interface class to the ROOT::Math function
 for minization.

Function Members (Methods)

private:
voidClearPdfParamAsymErr(Int_t index)
virtual doubleDoEval(const double* x) const
Double_tGetPdfParamErr(Int_t index)
Double_tGetPdfParamVal(Int_t index)
voidSetPdfParamErr(Int_t index, Double_t value)
voidSetPdfParamErr(Int_t index, Double_t loVal, Double_t hiVal)
Bool_tSetPdfParamVal(const Int_t& index, const Double_t& value) const
voidupdateFloatVec()

Data Members

private:
RooArgList*_constParamList
RooMinimizer*_context
Bool_t_doEvalErrorWall
Int_t_evalCounter
RooArgList*_floatParamList
vector<RooAbsArg*>_floatParamVec
RooAbsReal*_funct
RooArgList*_initConstParamList
RooArgList*_initFloatParamList
ofstream*_logfile
double_maxFCN
int_nDim
int_numBadNLL
int_printEvalErrors
bool_verbose

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

RooMinimizerFcn(RooAbsReal* funct, RooMinimizer* context, bool verbose = false)
 Reset the *largest* negative log-likelihood value we have seen so far
RooMinimizerFcn(const RooMinimizerFcn& other)
~RooMinimizerFcn()
ROOT::Math::IBaseFunctionMultiDim* Clone() const
Bool_t Synchronize(vector<ROOT::Fit::ParameterSettings>& parameters, Bool_t optConst, Bool_t verbose)
Double_t GetPdfParamVal(Int_t index)
 Access PDF parameter value by ordinal index (needed by MINUIT)
Double_t GetPdfParamErr(Int_t index)
 Access PDF parameter error by ordinal index (needed by MINUIT)
void SetPdfParamErr(Int_t index, Double_t value)
 Modify PDF parameter error by ordinal index (needed by MINUIT)
void ClearPdfParamAsymErr(Int_t index)
 Modify PDF parameter error by ordinal index (needed by MINUIT)
void SetPdfParamErr(Int_t index, Double_t loVal, Double_t hiVal)
 Modify PDF parameter error by ordinal index (needed by MINUIT)
void BackProp(const ROOT::Fit::FitResult& results)
 Transfer MINUIT fit results back into RooFit objects
Bool_t SetLogFile(const char* inLogfile)
 Change the file name for logging of a RooMinimizer of all MINUIT steppings
 through the parameter space. If inLogfile is null, the current log file
 is closed and logging is stopped.
void ApplyCovarianceMatrix(TMatrixDSym& V)
 Apply results of given external covariance matrix. i.e. propagate its errors
 to all RRV parameter representations and give this matrix instead of the
 HESSE matrix at the next save() call
Bool_t SetPdfParamVal(const Int_t& index, const Double_t& value) const
void updateFloatVec()
double DoEval(const double* x) const
unsigned int NDim() const
{ return _nDim; }
RooArgList* GetFloatParamList()
{ return _floatParamList; }
RooArgList* GetConstParamList()
{ return _constParamList; }
RooArgList* GetInitFloatParamList()
RooArgList* GetInitConstParamList()
void SetEvalErrorWall(Bool_t flag)
{ _doEvalErrorWall = flag ; }
void SetPrintEvalErrors(Int_t numEvalErrors)
{ _printEvalErrors = numEvalErrors ; }
std::ofstream* GetLogFile()
{ return _logfile; }
void SetVerbose(Bool_t flag = kTRUE)
{ _verbose = flag ; }
Double_t& GetMaxFCN()
{ return _maxFCN; }
Int_t GetNumInvalidNLL()
{ return _numBadNLL; }
Int_t evalCounter() const
{ return _evalCounter ; }
void zeroEvalCount()
{ _evalCounter = 0 ; }