00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifdef _WIN32 // no support for parallel fits on Win32
00015 #ifdef ROOT_FIT_PARALLEL
00016 #undef ROOT_FIT_PARALLEL
00017 #endif
00018 #endif
00019
00020 #ifdef ROOT_FIT_PARALLEL
00021
00022 #ifndef ROOT_Fit_FitUtilParallel
00023 #define ROOT_Fit_FitUtilParallel
00024
00025 #ifndef ROOT_Math_IParamFunctionfwd
00026 #include "Math/IParamFunctionfwd.h"
00027 #endif
00028
00029 #ifndef ROOT_Fit_DataVectorfwd
00030 #include "Fit/DataVectorfwd.h"
00031 #endif
00032
00033
00034 namespace ROOT {
00035
00036 namespace Fit {
00037
00038
00039 typedef ROOT::Math::IParamMultiFunction IModelFunction;
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049 namespace FitUtilParallel {
00050
00051
00052
00053
00054
00055
00056
00057
00058 double EvaluateChi2(IModelFunction & func, const BinData & data, const double * x, unsigned int & nPoints);
00059
00060
00061 double EvaluateLogL(IModelFunction & func, const UnBinData & data, const double * p, unsigned int &nPoints);
00062
00063
00064 }
00065
00066 }
00067
00068 }
00069
00070
00071 #endif
00072 #endif