Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
fit Directory Reference

Files

 
combinedFit.C
  View in nbviewer Open in SWAN
Combined (simultaneous) fit of two histogram with separate functions and some common parameters
 
combinedFit.py
  View in nbviewer Open in SWAN
Combined (simultaneous) fit of two histogram with separate functions and some common parameters
 
ConfidenceIntervals.C
  View in nbviewer Open in SWAN
Illustrates TVirtualFitter::GetConfidenceIntervals This method computes confidence intervals for the fitted function
 
ErrorIntegral.C
  View in nbviewer Open in SWAN
Estimate the error in the integral of a fitted function taking into account the errors in the parameters resulting from the fit.
 
exampleFit3D.C
  View in nbviewer Open in SWAN
example of fitting a 3D function Typical multidimensional parametric regression where the predictor depends on 3 variables
 
fit1.C
  View in nbviewer Open in SWAN
Simple fitting example (1-d histogram with an interpreted function)
 
fit1.py
  View in nbviewer Open in SWAN
Fit example.
 
fit1_py.py
 
fit2.C
  View in nbviewer Open in SWAN
Fitting a 2-D histogram This tutorial illustrates :
 
fit2a.C
  View in nbviewer Open in SWAN
Fitting a 2-D histogram (a variant) This tutorial illustrates :
 
fit2d.C
  View in nbviewer Open in SWAN
Example illustrating how to fit a 2-d histogram of type y=f(x)
 
fit2dHist.C
  View in nbviewer Open in SWAN
Example to fit two histograms at the same time via the Fitter class.
 
fitCircle.C
  View in nbviewer Open in SWAN
Generate points distributed with some errors around a circle Fit a circle through the points and draw To run the script, do, eg
 
fitcont.C
  View in nbviewer Open in SWAN
Example illustrating how to draw the n-sigma contour of a Minuit fit.
 
fitConvolution.C
  View in nbviewer Open in SWAN
Tutorial for convolution of two functions
 
fitConvolution.py
  View in nbviewer Open in SWAN
Tutorial for convolution of two functions
 
fitEllipseTGraphDLSF.cxx
 
fitEllipseTGraphRMM.cxx
 
fitExclude.C
  View in nbviewer Open in SWAN
Illustrates how to fit excluding points in a given range.
 
fitFraction.C
  View in nbviewer Open in SWAN
FractionFitter example À la HMCMLL, see R.
 
fithist.C
  View in nbviewer Open in SWAN
Example of fit where the model is histogram + function
 
FitHistoInFile.C
  View in nbviewer Open in SWAN

 
fitLinear.C
  View in nbviewer Open in SWAN
Example of fitting with a linear function, using TLinearFitter This example is for a TGraphErrors, but it can also be used when fitting a histogram, a TGraph2D or a TMultiGraph
 
fitLinear2.C
  View in nbviewer Open in SWAN
Fit a 5d hyperplane by n points, using the linear fitter directly
 
fitLinearRobust.C
  View in nbviewer Open in SWAN
This tutorial shows how the least trimmed squares regression, included in the TLinearFitter class, can be used for fitting in cases when the data contains outliers.
 
fitMultiGraph.C
  View in nbviewer Open in SWAN
fitting a parabola to a multigraph of 3 partly overlapping graphs with different errors
 
fitNormSum.C
  View in nbviewer Open in SWAN
Tutorial for normalized sum of two functions Here: a background exponential and a crystalball function Parameters can be set:
 
fitNormSum.py
  View in nbviewer Open in SWAN
Tutorial for normalized sum of two functions Here: a background exponential and a crystalball function Parameters can be set:
 
fitpanel_playback.C
 This file will test all the transient frames (aka Dialog windows) displayed in the fitpanel, as the rest of the functionality is tried automatically with the UnitTest.C unit.
 
fitslicesy.C
  View in nbviewer Open in SWAN
Illustrates how to use the TH1::FitSlicesY function It uses the TH2F histogram generated in macro hsimple.C It invokes FitSlicesY and draw the fitted "mean" and "sigma" in 2 sepate pads.
 
FittingDemo.C
  View in nbviewer Open in SWAN
Example for fitting signal/background.
 
graph2dfit.C
  View in nbviewer Open in SWAN
Fitting a TGraph2D
 
Ifit.C
  View in nbviewer Open in SWAN
Example of a program to fit non-equidistant data points
 
langaus.C
  View in nbviewer Open in SWAN
Convoluted Landau and Gaussian Fitting Function (using ROOT's Landau and Gauss functions)
 
line3Dfit.C
  View in nbviewer Open in SWAN
Fitting of a TGraph2D with a 3D straight line
 
minuit2FitBench.C
  View in nbviewer Open in SWAN
Demonstrate performance and usage of Minuit2 and Fumili2 for monodimensional fits.
 
minuit2FitBench2D.C
  View in nbviewer Open in SWAN
Minuit2 fit 2D benchmark.
 
minuit2GausFit.C
  View in nbviewer Open in SWAN
Perform fits with different configurations using Minuit2
 
multidimfit.C
  View in nbviewer Open in SWAN
Multi-Dimensional Parametrisation and Fitting
 
multifit.C
  View in nbviewer Open in SWAN
Fitting multiple functions to different ranges of a 1-D histogram Example showing how to fit in a sub-range of an histogram A histogram is created and filled with the bin contents and errors defined in the table below.
 
multifit.py
  View in nbviewer Open in SWAN
Fitting multiple functions to different ranges of a 1-D histogram Example showing how to fit in a sub-range of an histogram A histogram is created and filled with the bin contents and errors defined in the table below.
 
myfit.C
  View in nbviewer Open in SWAN
Get in memory an histogram from a root file and fit a user defined function.
 
NumericalMinimization.py
  View in nbviewer Open in SWAN
Example on how to use the new Minimizer class in ROOT Show usage with all the possible minimizers.
 
TestBinomial.C
  View in nbviewer Open in SWAN
Perform a fit to a set of data with binomial errors like those derived from the division of two histograms.
 
TwoHistoFit2D.C
  View in nbviewer Open in SWAN
Example to fit two histograms at the same time.
 
vectorizedFit.C
  View in nbviewer Open in SWAN
Tutorial for creating a Vectorized TF1 function using a formula expression and use it for fitting an histogram