17#ifndef ROO_MINIMIZER_FCN
18#define ROO_MINIMIZER_FCN
36 RooMinimizerFcn(RooAbsReal *funct, RooMinimizer *context);
38 void initMinimizer(ROOT::Math::Minimizer &, RooMinimizer *context)
override;
40 std::string getFunctionName()
const override;
41 std::string getFunctionTitle()
const override;
45 void setOffsetting(
bool flag)
override;
48 void evaluateGradient(
const double *
x,
double *out)
const;
49 bool evaluateHessian(std::span<const double>
x,
double *out)
const;
51 RooArgSet freezeDisconnectedParameters()
const override;
54 RooAbsReal *_funct =
nullptr;
55 std::unique_ptr<ROOT::Math::IBaseFunctionMultiDim> _multiGenFcn;
56 mutable std::vector<double> _gradientOutput;
57 mutable std::vector<double> _hessianOutput;
TRObject operator()(const T1 &t1) const
Wrapper class around ROOT::Math::Minimizer that provides a seamless interface between the minimizer f...