14 #ifndef ROOT_Fit_FitUtilParallel 15 #define ROOT_Fit_FitUtilParallel 17 #ifdef _WIN32 // no support for parallel fits on Win32 18 #ifdef ROOT_FIT_PARALLEL 19 #undef ROOT_FIT_PARALLEL 23 #ifdef ROOT_FIT_PARALLEL 25 #ifndef ROOT_Math_IParamFunctionfwd 29 #ifndef ROOT_Fit_DataVectorfwd 49 namespace FitUtilParallel {
58 double EvaluateChi2(IModelFunction &
func,
const BinData &
data,
const double *
x,
unsigned int & nPoints);
61 double EvaluateLogL(IModelFunction &
func,
const UnBinData &
data,
const double * p,
unsigned int &nPoints);
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
IParamFunction interface (abstract class) describing multi-dimensional parameteric functions It is a ...
double EvaluateLogL(const IModelFunction &func, const UnBinData &data, const double *x, int iWeight, bool extended, unsigned int &nPoints)
evaluate the LogL given a model function and the data at the point x.
ROOT::Math::IParamMultiFunction IModelFunction
double EvaluateChi2(const IModelFunction &func, const BinData &data, const double *x, unsigned int &nPoints)
Chi2 Functions.
TFitResultPtr Fit(FitObject *h1, TF1 *f1, Foption_t &option, const ROOT::Math::MinimizerOptions &moption, const char *goption, ROOT::Fit::DataRange &range)
double func(double *x, double *p)