Histogram package

Modify implementation of the Fit function in the histograms and data classes to use a new common implementation, defined in the file HFitImpl.cxx. This file provides the implementation of the function used for bin fitting of the data objects of the histogram package, TH1's, TGraph, TMultiGraph, TGraph2D, and un-binned maximum likelihood fit for TTree data (used by the TTree::UnbinnedFit method).

HFitInterface.h

Header file defining functions in the namespace ROOT::Fit providing functions required for fitting the data objects of the histogram package. These functions are used for example from other libraries like the FitPanel or the TTreePlayer for performing the fits.

TBackCompFitter

New class providing a backward compatible implementation of the TVirtualFitter using the new fitting class. It is wrapping the functionality of the ROOT::Math::Fitter and it can be used to retrieve the fit information (result and configuration) via the TVirtualFitter API from FitConfig and FitResult. A static instance of this class is created after calling the histograms and graph Fit methods in order to retrieve the full fit information after having fit. This instace will be deleted only when the next fit is executed. This gives full backward compatibility functionality in fitting. This class in addition to the TVirtualFitter provides the following functionality:

TH1

TH2

TH3

TProfile

TProfile3D

THnSparse

  • fix a bug in SetBinError
  • fix in THnSParse::Rebin
  • fix error calculation in Multiply

    TGraph

    TGraph2D

    TMultiGraph

    TGraphPainter

    TPaletteAxis

    TFormula

    TF1

    THStack

    TUnfold



    FitPanel

    Add a new revised version of the Fit Panel with the following functionality: Here is how the fit panel is now:

    Fit Panel

    These are the currently support methods for the new Advance Graphics dialog:

    Fit Panel Fit Panel