You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[math] Support multithreaded fits of TGraphErrors with x errors
Make FitUtil::EvaluateChi2Effective execution-policy aware via
TThreadExecutor (same pattern as EvaluateChi2) and thread the policy
through Chi2FCN. Point coordinates/errors are read via the thread-safe
component accessors, since GetPoint/GetPointError use shared temp buffers.
Also honour the SERIAL/MULTITHREAD options for graph fits. Adds exec-policy
tests to testFitter.
Closes#10021.
🤖 Done with the help of AI.
/// "G" | Uses the gradient implemented in `TF1::GradientPar` for the minimization. This allows to use Automatic Differentiation when it is supported by the provided TF1 function.
1182
1182
/// "EX0" | When fitting a TGraphErrors or TGraphAsymErrors do not consider errors in the X coordinates
1183
1183
/// "ROB" | In case of linear fitting, compute the LTS regression coefficients (robust (resistant) regression), using the default fraction of good points "ROB=0.x" - compute the LTS regression coefficients, using 0.x as a fraction of good points
1184
+
/// "SERIAL" | Runs in serial mode. By default, if ROOT is built with MT support and MT is enabled, the fit is performed in multi-thread.
1185
+
/// "MULTITHREAD" | Forces usage of multi-thread execution whenever possible.
1184
1186
///
1185
1187
///
1186
1188
/// This function is used for fitting also the derived TGraph classes such as TGraphErrors or TGraphAsymmErrors.
0 commit comments