10 #ifndef ROOT_Minuit2_FumiliMaximumLikelihoodFCN
11 #define ROOT_Minuit2_FumiliMaximumLikelihoodFCN
98 virtual std::vector<double>
Elements(
const std::vector<double>&
par)
const = 0;
146 double sumoflogs = 0.0;
147 std::vector<double> vecElements =
Elements(par);
148 unsigned int vecElementsSize = vecElements.size();
150 for (
unsigned int i = 0; i < vecElementsSize; ++i) {
151 double tmp = vecElements[i];
170 virtual double Up()
const {
return 0.5; }
183 #endif // ROOT_Minuit2_FumiliMaximumLikelihoodFCN
Namespace for new ROOT classes and functions.
virtual ~FumiliMaximumLikelihoodFCN()
FumiliMaximumLikelihoodFCN()
virtual double Up() const
!!!!!!!!!!!! to be commented
const ParametricFunction * ModelFunction() const
Returns the model function used for the data.
const ParametricFunction * fModelFunction
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...
Function which has parameters.
RooCmdArg Index(RooCategory &icat)
double EvalLog(double x)
safe evaluation of log(x) with a protections against negative or zero argument to the log smooth line...
Extension of the FCNBase for the Fumili method.
Extension of the FCNBase for the Fumili method.
virtual const std::vector< double > & GetMeasurement(int Index) const =0
Accessor to the parameters of a given measurement.
double operator()(const std::vector< double > &par) const
Calculates the function for the maximum likelihood method.
void SetModelFunction(const ParametricFunction &modelFCN)
Sets the model function for the data (for example gaussian+linear for a peak)
virtual int GetNumberOfMeasurements() const =0
Accessor to the number of measurements used for calculating the present figure of merit...