10#ifndef ROOT_Minuit2_FumiliStandardMaximumLikelihoodFCN 
   11#define ROOT_Minuit2_FumiliStandardMaximumLikelihoodFCN 
   51      unsigned int n = pos.size();
 
   53      std::vector<double> 
x(1);
 
   54      for (
unsigned int i = 0; i < 
n; ++i) {
 
 
   89   std::vector<double> 
Elements(std::vector<double> 
const &par) 
const override;
 
  101   const std::vector<double> &
GetMeasurement(
int Index) 
const override;
 
  124   void EvaluateAll(std::vector<double> 
const &par) 
override;
 
 
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)
 
Class implementing the Elements member function for the standard maximum likelihood method.
 
FumiliStandardMaximumLikelihoodFCN(const ParametricFunction &modelFCN, std::span< const double > pos)
Constructor which initializes the measurement points for the one dimensional model function.
 
std::vector< std::vector< double > > fPositions
 
int GetNumberOfMeasurements() const override
Accessor to the number of measurements used for calculating the maximum likelihood.
 
void EvaluateAll(std::vector< double > const &par) override
Evaluate function Value, Gradient and Hessian using Fumili approximation, for values of parameters p ...
 
FumiliStandardMaximumLikelihoodFCN(const ParametricFunction &modelFCN, std::span< const std::vector< double > > pos)
Constructor which initializes the measurement points for the multi dimensional model function.
 
const std::vector< double > & GetMeasurement(int Index) const override
Accessor to the position of the measurement (x coordinate).
 
std::vector< double > Elements(std::vector< double > const &par) const override
Evaluates the model function for the different measurement points and the Parameter values supplied.
 
Function which has parameters.
 
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...