85 for (
unsigned index = 0; index <
_nDim; index++) {
86 if (
_logfile) (*_logfile) <<
x[index] <<
" " ;
117 (*_logfile) << setprecision(15) << fvalue << setprecision(4) << endl;
119 cout <<
"\nprevFCN" << (
_funct->
isOffsetting()?
"-offset":
"") <<
" = " << setprecision(10)
120 << fvalue << setprecision(4) <<
" " ;
virtual void constOptimizeTestStatistic(ConstOpCode opcode, Bool_t doAlsoTrackingOpt=kTRUE)
Interface function signaling a request to perform constant term optimization.
RooArgSet * getParameters(const RooAbsData *data, bool stripDisconnected=true) const
Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of...
Bool_t SetPdfParamVal(int index, double value) const
Set value of parameter i.
void printEvalErrors() const
Print information about why evaluation failed.
double _recoverFromNaNStrength
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual Bool_t isOffsetting() const
static void setHideOffset(Bool_t flag)
Double_t getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
virtual void enableOffsetting(Bool_t)
static Int_t numEvalErrors()
Return the number of logged evaluation errors since the last clearing.
static void clearEvalErrorLog()
Clear the stack of evaluation error messages.
RooArgSet 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...
std::string getFunctionName() const override
RooMinimizer sometimes needs the name of the minimized function. Implement this in the derived class.
void setOffsetting(Bool_t flag) override
Enable or disable offsetting on the function to be minimized, which enhances numerical precision.
ROOT::Math::IBaseFunctionMultiDim * Clone() const override
Clone a function.
virtual ~RooMinimizerFcn()
double DoEval(const double *x) const override
Evaluate function given the parameters in x.
void setOptimizeConstOnFunction(RooAbsArg::ConstOpCode opcode, Bool_t doAlsoTrackingOpt) override
This function must be overridden in the derived class to pass on constant term optimization configura...
RooMinimizerFcn(RooAbsReal *funct, RooMinimizer *context, bool verbose=false)
std::string getFunctionTitle() const override
RooMinimizer sometimes needs the title of the minimized function. Implement this in the derived class...
RooMinimizer is a wrapper class around ROOT::Fit:Fitter that provides a seamless interface between th...
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
Namespace for new Math classes and functions.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
static float unpackNaN(double val)
If val is NaN and a this NaN has been tagged as containing a payload, unpack the float from the manti...