1 / 39

Fit Panel

This Fit Panel allows for fitting histograms, graphs, trees, and user-defined data in ROOT. It offers various fitting options, including binned/unbinned fit, user-defined models, and different minimization methods. The Fit Panel can be accessed from multiple places and provides a GUI for fitting all ROOT data analysis objects. It also allows for tuning parameters and setting fit options. Future improvements include integrating RooFit functionality and parallelization interface.

nvega
Download Presentation

Fit Panel

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Fit Panel David Gonzalez Maline Lorenzo Moneta Ilka Antcheva CERN, PH SFT Group

  2. Fitting in ROOT • Fitting in ROOT is possible : • Histograms (1D, 2D, 3D) • Graphs (also 1D, 2D, 3D) • Trees • User defined data • etc... Example: TH1D* h = new TH1D(....); // Fill the Histogram h->Fit(“gaus”, “LE+”, “SAME”, 2.4, 8.6);

  3. Fitting Options • Several options are available: • Binned/Unbinned fit • User defined model and objective functions • Choice of minimization method. • Minuit and Minuit2 • Fumili • GSL • Automatic use of linear fits for linear functions • Robust fit option for linear fits

  4. Presenting the FitPanel • GUI for fitting all ROOT data analysis objects: • Histograms • TH1, TH2 and TH3 • TProfile, TProfile2D and TProfile3D • TGraph, TGraphErrors and TGraphAsymError • TGraph2D, TGraph2DError • Trees

  5. How to get the FitPanel It can be reached from 3 different places...

  6. How to get the FitPanel It can be reached from 3 different places...

  7. How to get the FitPanel It can be reached from 3 different places...

  8. How to get the FitPanel It can be reached from 3 different places...

  9. How to get the FitPanel It can be reached from 3 different places...

  10. How to get the FitPanel It can be reached from 3 different places...

  11. How to get the FitPanel It can be reached from 3 different places...

  12. How to get the FitPanel It can be reached from 3 different places...

  13. How to get the FitPanel It can be reached from 3 different places...

  14. How to get the FitPanel It can be reached from 3 different places...

  15. Setting Object and Function • Select the Object in 'Data Set' • It can be an already drawn object • Or any object registered in gROOT • Select the type of function to used: • Predefined 1D and 2D functions • User defined functions • Functions used in previous fits Select the particular function Although, you can specify it by hand!

  16. Tuning Parameters Immediate preview of the changed function

  17. Tuning Parameters Immediate preview of the changed function

  18. Tuning Parameters Immediate preview of the changed function

  19. Tuning Parameters Immediate preview of the changed function

  20. Tuning Parameters Immediate preview of the changed function

  21. Tuning Parameters Immediate preview of the changed function

  22. Tuning Parameters Immediate preview of the changed function

  23. Special Case: TTree • Unbinned fit for un-limited number of variables • Select the variables to use • Select the cuts

  24. Special Case: TTree • Unbinned fit for un-limited number of variables • Select the variables to use • Select the cuts

  25. Special Case: TTree • Unbinned fit for un-limited number of variables • Select the variables to use • Select the cuts

  26. Special Case: TTree • Unbinned fit for un-limited number of variables • Select the variables to use • Select the cuts

  27. Special Case: TTree • Unbinned fit for un-limited number of variables • Select the variables to use • Select the cuts

  28. Setting the Fit Options • Fit Method • Fitting Options • Drawing options • Range selection

  29. Setting the Fit Options • Select the minimization algorithm • Library • Method • Minimizer parameters • Printing Options

  30. Advanced Options • Advanced drawing options from GUI • Contour plots

  31. Advanced Options • Advanced drawing options from GUI • Contour plots

  32. Advanced Options • Advanced drawing options from GUI • Contour plots

  33. Advanced Options • Advanced drawing options from GUI • Contour plots

  34. Advanced Options • Advanced drawing options from GUI • Contour plots

  35. Advanced Options • Advanced drawing options from GUI • Scan plot of likelihood

  36. Advanced Options • Advanced drawing options from GUI • Confidence Levels of fit function

  37. Future Work & Conclusions • Future Improvements: • Integration of the RooFit Functionality • Parallelization interface • Control the number of threads • Conclusions: • The fit panel has been widely re-engineered: • Support more classes and methods • Extra functionality (Advance graphics, etc) • Waiting for user's feedback

  38. Demo

  39. Questions?

More Related