3 #include <Minuit2/FCNBase.h> 11 class FCN :
public Minuit2::FCNBase {
20 double operator()(
const std::vector<double> &pars)
const override;
26 double Up()
const override {
return 0.5; }
FCN(Params ¶ms)
Create an FCN given parameters (PDF reference is inside params)
double operator()() const
produce the FCN value for the current values of the parameters
double Up() const override
This value is 0.5 for ll, 1 for chi2.
Params * GetParams()
Get a pointer to the parameters.