15#ifndef ROO_ABS_MINIMIZER_FCN
16#define ROO_ABS_MINIMIZER_FCN
49 virtual bool Synchronize(std::vector<ROOT::Fit::ParameterSettings> ¶meters,
bool optConst,
bool verbose);
127 mutable double _maxFCN = -std::numeric_limits<double>::infinity();
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
class containing the result of the fit and all the related information (fitted parameter values,...
Fitter class, entry point for performing all type of fits.
Documentation for the abstract class IBaseFunctionMultiDim.
RooArgList * GetInitFloatParamList()
void SetVerbose(bool flag=true)
std::ofstream * GetLogFile()
void setOptimizeConst(Int_t flag)
std::unique_ptr< RooArgList > _floatParamList
bool SetLogFile(const char *inLogfile)
Change the file name for logging of a RooMinimizer of all MINUIT steppings through the parameter spac...
void SetPrintEvalErrors(Int_t numEvalErrors)
virtual bool Synchronize(std::vector< ROOT::Fit::ParameterSettings > ¶meters, bool optConst, bool verbose)
Like synchronizeParameterSettings, Synchronize informs Minuit through its parameter_settings vector o...
Int_t GetNumInvalidNLL() const
RooArgList * GetConstParamList()
virtual void setOptimizeConstOnFunction(RooAbsArg::ConstOpCode opcode, bool doAlsoTrackingOpt)=0
This function must be overridden in the derived class to pass on constant term optimization configura...
virtual ~RooAbsMinimizerFcn()=default
void BackProp(const ROOT::Fit::FitResult &results)
Put Minuit results back into RooFit objects.
void finishDoEval() const
virtual std::string getFunctionName() const =0
RooMinimizer sometimes needs the name of the minimized function. Implement this in the derived class.
void optimizeConstantTerms(bool constStatChange, bool constValChange)
void printEvalErrors() const
Print information about why evaluation failed.
void ClearPdfParamAsymErr(Int_t index)
Modify PDF parameter error by ordinal index (needed by MINUIT)
virtual std::string getFunctionTitle() const =0
RooMinimizer sometimes needs the title of the minimized function. Implement this in the derived class...
std::vector< double > getParameterValues() const
virtual ROOT::Math::IMultiGenFunction * getMultiGenFcn()=0
void SetPdfParamErr(Int_t index, double value)
Modify PDF parameter error by ordinal index (needed by MINUIT)
double _recoverFromNaNStrength
void ApplyCovarianceMatrix(TMatrixDSym &V)
Set different external covariance matrix.
std::unique_ptr< RooArgList > _initConstParamList
double getOffset() const
Return a possible offset that's applied to the function to separate invalid function values from vali...
void SetEvalErrorWall(bool flag)
RooArgList * GetFloatParamList()
unsigned int NDim() const
std::unique_ptr< RooArgList > _constParamList
RooAbsMinimizerFcn(RooArgList paramList, RooMinimizer *context, bool verbose=false)
bool synchronizeParameterSettings(std::vector< ROOT::Fit::ParameterSettings > ¶meters, bool optConst, bool verbose)
Informs Minuit through its parameter_settings vector of RooFit parameter properties.
virtual bool fit(ROOT::Fit::Fitter &) const =0
virtual void setOffsetting(bool flag)=0
Enable or disable offsetting on the function to be minimized, which enhances numerical precision.
bool SetPdfParamVal(int index, double value) const
Set value of parameter i.
RooArgList * GetInitConstParamList()
unsigned int getNDim() const
std::unique_ptr< RooArgList > _initFloatParamList
void SetRecoverFromNaNStrength(double strength)
Try to recover from invalid function values.
Int_t evalCounter() const
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooMinimizer is a wrapper class around ROOT::Fit:Fitter that provides a seamless interface between th...