10#ifndef ROOT_Minuit2_FumiliMaximumLikelihoodFCN
11#define ROOT_Minuit2_FumiliMaximumLikelihoodFCN
87 virtual std::vector<double>
Elements(
const std::vector<double> &par)
const = 0;
132 double sumoflogs = 0.0;
133 std::vector<double> vecElements =
Elements(par);
134 unsigned int vecElementsSize = vecElements.size();
136 for (
unsigned int i = 0; i < vecElementsSize; ++i) {
137 double tmp = vecElements[i];
153 virtual double Up()
const {
return 0.5; }
Extension of the FCNBase for the Fumili method.
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)
const ParametricFunction * ModelFunction() const
Returns the model function used for the data.
virtual std::vector< double > Elements(const std::vector< double > &par) const =0
Evaluates the model function for the different measurement points and the Parameter values supplied,...
const ParametricFunction * fModelFunction
virtual const std::vector< double > & GetMeasurement(int Index) const =0
Accessor to the parameters of a given measurement.
virtual double Up() const
!!!!!!!!!!!! to be commented
virtual ~FumiliMaximumLikelihoodFCN()
double operator()(const std::vector< double > &par) const
Calculates the function for the maximum likelihood method.
FumiliMaximumLikelihoodFCN()
virtual int GetNumberOfMeasurements() const =0
Accessor to the number of measurements used for calculating the present figure of merit.
Function which has parameters.
T EvalLog(T x)
safe evaluation of log(x) with a protections against negative or zero argument to the log smooth line...
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...