10#ifndef ROOT_Minuit2_FumiliChi2FCN
11#define ROOT_Minuit2_FumiliChi2FCN
86 virtual std::vector<double>
Elements(std::vector<double>
const &par)
const = 0;
128 double operator()(std::vector<double>
const &par)
const override
131 double chiSquare = 0.0;
147 double Up()
const override {
return 1.0; }
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Extension of the FCNBase for the Fumili method.
void SetModelFunction(const ParametricFunction &modelFCN)
Sets the model function for the data (for example gaussian+linear for a peak)
double operator()(std::vector< double > const &par) const override
Calculates the sum of Elements squared, ie the chi-square.
const ParametricFunction * fModelFunction
const ParametricFunction * ModelFunction() const
Returns the model function used for the data.
virtual std::vector< double > Elements(std::vector< double > const &par) const =0
Evaluates the model function for the different measurement points and the Parameter values supplied,...
double Up() const override
!!!!!!!!!!!! to be commented
virtual const std::vector< double > & GetMeasurement(int Index) const =0
Accessor to the parameters of a given measurement.
virtual int GetNumberOfMeasurements() const =0
Accessor to the number of measurements used for calculating the present figure of merit.
Extension of the FCNBase for the Fumili method.
Function which has parameters.
Namespace for new ROOT classes and functions.