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
45 namespace FitUtilParallel {
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)