Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
roofit Directory Reference
Directory dependency graph for roofit:

Files

 rf101_basics.C
  View in nbviewer Open in SWAN Basic functionality: fitting, plotting, toy data generation on one-dimensional PDFs.
 
 rf101_basics.py
  View in nbviewer Open in SWAN This tutorial illustrates the basic features of RooFit.
 
 rf102_dataimport.C
  View in nbviewer Open in SWAN Basic functionality: importing data from ROOT TTrees and THx histograms.
 
 rf103_interprfuncs.C
  View in nbviewer Open in SWAN Basic functionality: interpreted functions and PDFs.
 
 rf103_interprfuncs.py
  View in nbviewer Open in SWAN Basic functionality: interpreted functions and pdfs
 
 rf104_classfactory.C
  View in nbviewer Open in SWAN Basic functionality: The class factory for functions and pdfs
 
 rf104_classfactory.py
  View in nbviewer Open in SWAN Basic functionality: the class factory for functions and pdfs
 
 rf105_funcbinding.C
  View in nbviewer Open in SWAN Basic functionality: binding ROOT math functions as RooFit functions and pdfs
 
 rf106_plotdecoration.C
  View in nbviewer Open in SWAN Basic functionality: adding boxes with parameters, statistics to RooPlots, decorating with arrows, text etc...
 
 rf106_plotdecoration.py
  View in nbviewer Open in SWAN Basic functionality: adding boxes with parameters to RooPlots and decorating with arrows, etc...
 
 rf107_plotstyles.C
  View in nbviewer Open in SWAN Basic functionality: various plotting styles of data, functions in a RooPlot
 
 rf107_plotstyles.py
  View in nbviewer Open in SWAN Basic functionality: demonstration of various plotting styles of data, functions in a RooPlot
 
 rf108_plotbinning.C
  View in nbviewer Open in SWAN Basic functionality: plotting unbinned data with alternate and variable binnings
 
 rf108_plotbinning.py
  View in nbviewer Open in SWAN Basic functionality: plotting unbinned data with alternate and variable binnings
 
 rf109_chi2residpull.C
  View in nbviewer Open in SWAN Basic functionality: Calculating chi^2 from histograms and curves in RooPlots, making histogram of residual and pull distributions
 
 rf110_normintegration.C
  View in nbviewer Open in SWAN Basic functionality: normalization and integration of pdfs, construction of cumulative distribution monodimensional functions
 
 rf110_normintegration.py
  View in nbviewer Open in SWAN Basic functionality: examples on normalization and integration of pdfs, construction of cumulative distribution functions from monodimensional pdfs
 
 rf111_derivatives.C
  View in nbviewer Open in SWAN Basic functionality: numerical 1st,2nd and 3rd order derivatives w.r.t.
 
 rf111_derivatives.py
  View in nbviewer Open in SWAN Basic functionality: numerical 1st, and 3rd order derivatives w.r.t.
 
 rf201_composite.C
  View in nbviewer Open in SWAN Addition and convolution: composite pdf with signal and background component
 
 rf201_composite.py
  View in nbviewer Open in SWAN Addition and convolution: composite pdf with signal and background component
 
 rf202_extendedmlfit.C
  View in nbviewer Open in SWAN Setting up an extended maximum likelihood fit.
 
 rf202_extendedmlfit.py
  View in nbviewer Open in SWAN Addition and convolution: setting up an extended maximum likelihood fit
 
 rf203_ranges.C
  View in nbviewer Open in SWAN Fitting and plotting in sub ranges.
 
 rf203_ranges.py
  View in nbviewer Open in SWAN Addition and convolution: fitting and plotting in sub ranges
 
 rf204_extrangefit.py
  View in nbviewer Open in SWAN Addition and convolution: extended maximum likelihood fit with alternate range definition for observed number of events.
 
 rf204a_extendedLikelihood.C
  View in nbviewer Open in SWAN Extended maximum likelihood fit in multiple ranges.
 
 rf204b_extendedLikelihood_rangedFit.C
  View in nbviewer Open in SWAN This macro demonstrates how to set up a fit in two ranges such that it does not only fit the shapes in each region, but also takes into account the relative normalization of the two.
 
 rf205_compplot.C
  View in nbviewer Open in SWAN Addition and convolution: options for plotting components of composite pdfs.
 
 rf205_compplot.py
  View in nbviewer Open in SWAN Addition and convolution: options for plotting components of composite pdfs.
 
 rf206_treevistools.C
  View in nbviewer Open in SWAN Addition and convolution: tools for visualization of RooAbsArg expression trees
 
 rf206_treevistools.py
  View in nbviewer Open in SWAN Addition and convolution: tools for visualization of ROOT.RooAbsArg expression trees
 
 rf207_comptools.C
  View in nbviewer Open in SWAN Addition and convolution: tools and utilities for manipulation of composite objects
 
 rf208_convolution.C
  View in nbviewer Open in SWAN Addition and convolution: one-dimensional numeric convolution
 
 rf209_anaconv.C
  View in nbviewer Open in SWAN Addition and convolution: decay function pdfs with optional B physics effects (mixing and CP violation)
 
 rf209_anaconv.py
  View in nbviewer Open in SWAN Addition and convolution: decay function pdfs with optional B physics effects (mixing and CP violation) that can be analytically convolved with e.g.
 
 rf210_angularconv.C
  View in nbviewer Open in SWAN Addition and convolution: convolution in cyclical angular observables theta
 
 rf211_paramconv.C
  View in nbviewer Open in SWAN Addition and convolution: working with a pdf with a convolution operator in terms of a parameter
 
 rf212_plottingInRanges_blinding.C
  View in nbviewer Open in SWAN Plot a PDF in disjunct ranges, and get normalisation right.
 
 rf301_composition.C
  View in nbviewer Open in SWAN Multidimensional models: multi-dimensional pdfs through composition e.g.
 
 rf301_composition.py
  View in nbviewer Open in SWAN Multidimensional models: multi-dimensional pdfs through composition, e.g.
 
 rf302_utilfuncs.C
  View in nbviewer Open in SWAN Multidimensional models: utility functions classes available for use in tailoring of composite (multidimensional) pdfs
 
 rf302_utilfuncs.py
  View in nbviewer Open in SWAN Multidimensional models: utility functions classes available for use in tailoring of composite (multidimensional) pdfs
 
 rf303_conditional.C
  View in nbviewer Open in SWAN Multidimensional models: use of tailored pdf as conditional pdfs.s
 
 rf304_uncorrprod.C
  View in nbviewer Open in SWAN Multidimensional models: simple uncorrelated multi-dimensional pdfs
 
 rf304_uncorrprod.py
  View in nbviewer Open in SWAN Multidimensional models: simple uncorrelated multi-dimensional pdfs
 
 rf305_condcorrprod.C
  View in nbviewer Open in SWAN Multidimensional models: multi-dimensional pdfs with conditional pdfs in product
 
 rf305_condcorrprod.py
  View in nbviewer Open in SWAN Multidimensional models: multi-dimensional pdfs with conditional pdfs in product
 
 rf306_condpereventerrors.C
  View in nbviewer Open in SWAN Multidimensional models: conditional pdf with per-event errors
 
 rf306_condpereventerrors.py
  View in nbviewer Open in SWAN Multidimensional models: complete example with use of conditional pdf with per-event errors
 
 rf307_fullpereventerrors.C
  View in nbviewer Open in SWAN Multidimensional models: full pdf with per-event errors
 
 rf307_fullpereventerrors.py
  View in nbviewer Open in SWAN Multidimensional models: usage of full pdf with per-event errors
 
 rf308_normintegration2d.C
  View in nbviewer Open in SWAN Multidimensional models: normalization and integration of pdfs, construction of cumulative distribution functions from pdfs in two dimensions
 
 rf308_normintegration2d.py
  View in nbviewer Open in SWAN Multidimensional models: normalization and integration of pdfs, construction of cumulative distribution functions from pdfs in two dimensions
 
 rf309_ndimplot.C
  View in nbviewer Open in SWAN Multidimensional models: making 2/3 dimensional plots of pdfs and datasets
 
 rf309_ndimplot.py
  View in nbviewer Open in SWAN Multidimensional models: making 2/3 dimensional plots of pdfs and datasets
 
 rf310_sliceplot.C
  View in nbviewer Open in SWAN Multidimensional models: projecting pdf and data slices in discrete observables
 
 rf310_sliceplot.py
  View in nbviewer Open in SWAN Multidimensional models: projecting pdf and data slices in discrete observables
 
 rf311_rangeplot.C
  View in nbviewer Open in SWAN Multidimensional models: projecting pdf and data ranges in continuous observables
 
 rf311_rangeplot.py
  View in nbviewer Open in SWAN Multidimensional models: projecting pdf and data ranges in continuous observables
 
 rf312_multirangefit.C
  View in nbviewer Open in SWAN Multidimensional models: performing fits in multiple (disjoint) ranges in one or more dimensions
 
 rf312_multirangefit.py
  View in nbviewer Open in SWAN Multidimensional models: performing fits in multiple (disjoint) ranges in one or more dimensions
 
 rf313_paramranges.C
  View in nbviewer Open in SWAN Multidimensional models: working with parametrized ranges to define non-rectangular regions for fitting and integration
 
 rf313_paramranges.py
  View in nbviewer Open in SWAN Multidimensional models: working with parameterized ranges to define non-rectangular regions for fitting and integration
 
 rf314_paramfitrange.C
  View in nbviewer Open in SWAN Multidimensional models: working with parametrized ranges in a fit.
 
 rf314_paramfitrange.py
  View in nbviewer Open in SWAN Multidimensional models: working with parameterized ranges in a fit.
 
 rf315_projectpdf.C
  View in nbviewer Open in SWAN Multidimensional models: marginizalization of multi-dimensional pdfs through integration
 
 rf315_projectpdf.py
  View in nbviewer Open in SWAN Multidimensional models: marginizalization of multi-dimensional pdfs through integration
 
 rf316_llratioplot.C
  View in nbviewer Open in SWAN Multidimensional models: using the likelihood ratio technique to construct a signal enhanced one-dimensional projection of a multi-dimensional pdf
 
 rf316_llratioplot.py
  View in nbviewer Open in SWAN Multidimensional models: using the likelihood ratio techique to construct a signal enhanced one-dimensional projection of a multi-dimensional pdf
 
 rf401_importttreethx.C
  View in nbviewer Open in SWAN Data and categories: advanced options for importing data from ROOT TTree and THx histograms
 
 rf402_datahandling.C
  View in nbviewer Open in SWAN Data and categories: tools for manipulation of (un)binned datasets
 
 rf402_datahandling.py
  View in nbviewer Open in SWAN Data and categories: tools for manipulation of (un)binned datasets
 
 rf403_weightedevts.C
  View in nbviewer Open in SWAN Data and categories: using weights in unbinned datasets
 
 rf404_categories.C
  View in nbviewer Open in SWAN Data and categories: working with RooCategory objects to describe discrete variables
 
 rf404_categories.py
  View in nbviewer Open in SWAN Data and categories: working with ROOT.RooCategory objects to describe discrete variables
 
 rf405_realtocatfuncs.C
  View in nbviewer Open in SWAN Data and categories: demonstration of real-->discrete mapping functions
 
 rf405_realtocatfuncs.py
  View in nbviewer Open in SWAN Data and categories: demonstration of real-discrete mapping functions
 
 rf406_cattocatfuncs.C
  View in nbviewer Open in SWAN Data and categories: demonstration of discrete-->discrete (invertible) functions
 
 rf406_cattocatfuncs.py
  View in nbviewer Open in SWAN Data and categories: demonstration of discrete-discrete (invertable) functions
 
 rf407_latextables.C
  View in nbviewer Open in SWAN Data and categories: latex printing of lists and sets of RooArgSets
 
 rf407_latextables.py
  View in nbviewer Open in SWAN Data and categories: latex printing of lists and sets of RooArgSets
 
 rf501_simultaneouspdf.C
  View in nbviewer Open in SWAN Organisation and simultaneous fits: using simultaneous pdfs to describe simultaneous fits to multiple datasets
 
 rf501_simultaneouspdf.py
  View in nbviewer Open in SWAN Organization and simultaneous fits: using simultaneous pdfs to describe simultaneous fits to multiple datasets
 
 rf502_wspacewrite.C
  View in nbviewer Open in SWAN Organisation and simultaneous fits: creating and writing a workspace
 
 rf502_wspacewrite.py
  View in nbviewer Open in SWAN Organization and simultaneous fits: creating and writing a workspace
 
 rf503_wspaceread.C
  View in nbviewer Open in SWAN Organisation and simultaneous fits: reading and using a workspace
 
 rf504_simwstool.C
  View in nbviewer Open in SWAN Organisation and simultaneous fits: using RooSimWSTool to construct a simultaneous pdf that is built of variations of an input pdf
 
 rf504_simwstool.py
  View in nbviewer Open in SWAN Organization and simultaneous fits: using RooSimWSTool to construct a simultaneous pdf that is built of variations of an input pdf
 
 rf505_asciicfg.C
  View in nbviewer Open in SWAN Organisation and simultaneous fits: reading and writing ASCII configuration files
 
 rf505_asciicfg.py
  View in nbviewer Open in SWAN Organization and simultaneous fits: reading and writing ASCII configuration files
 
 rf506_msgservice.C
  View in nbviewer Open in SWAN Organisation and simultaneous fits: tuning and customizing the RooFit message logging facility
 
 rf506_msgservice.py
  View in nbviewer Open in SWAN Organization and simultaneous fits: tuning and customizing the ROOT.RooFit message logging facility
 
 rf507_debugtools.C
  View in nbviewer Open in SWAN Organization and simultaneous fits: RooFit memory tracing debug tool
 
 rf507_debugtools.py
  View in nbviewer Open in SWAN Organization and simultaneous fits: RooFit memory tracing debug tool
 
 rf508_listsetmanip.C
  View in nbviewer Open in SWAN Organization and simultaneous fits: RooArgSet and RooArgList tools and tricks
 
 rf509_wsinteractive.C
  View in nbviewer Open in SWAN Organization and simultaneous fits: easy interactive access to workspace contents - CINT to CLING code migration
 
 rf509_wsinteractive.py
  View in nbviewer Open in SWAN Organization and simultaneous fits: easy interactive access to workspace contents - CINT to CLING code migration
 
 rf510_wsnamedsets.C
  View in nbviewer Open in SWAN Organization and simultaneous fits: working with named parameter sets and parameter snapshots in workspaces
 
 rf511_wsfactory_basic.C
  View in nbviewer Open in SWAN Organization and simultaneous fits: basic use of the 'object factory' associated with a workspace to rapidly build pdfs functions and their parameter components
 
 rf511_wsfactory_basic.py
  View in nbviewer Open in SWAN Organization and simultaneous fits: basic use of the 'object factory' associated with a workspace to rapidly build pdfs functions and their parameter components
 
 rf512_wsfactory_oper.C
  View in nbviewer Open in SWAN Organization and simultaneous fits: operator expressions and expression-based basic pdfs in the workspace factory syntax
 
 rf513_wsfactory_tools.C
  View in nbviewer Open in SWAN Organization and simultaneous fits: RooCustomizer and RooSimWSTool interface in factory workspace tool in a complex standalone B physics example
 
 rf513_wsfactory_tools.py
  View in nbviewer Open in SWAN Organization and simultaneous fits: illustration use of ROOT.RooCustomizer and ROOT.RooSimWSTool interface in factory workspace tool in a complex standalone B physics example
 
 rf514_RooCustomizer.C
  View in nbviewer Open in SWAN Using the RooCustomizer to create multiple PDFs that share a lot of properties, but have unique parameters for each category.
 
 rf601_intminuit.C
  View in nbviewer Open in SWAN Likelihood and minimization: interactive minimization with MINUIT
 
 rf602_chi2fit.C
  View in nbviewer Open in SWAN Likelihood and minimization: setting up a chi^2 fit to a binned dataset
 
 rf603_multicpu.C
  View in nbviewer Open in SWAN Likelihood and minimization: setting up a multi-core parallelized unbinned maximum likelihood fit
 
 rf603_multicpu.py
  View in nbviewer Open in SWAN Likelihood and minimization: setting up a multi-core parallelized unbinned maximum likelihood fit
 
 rf604_constraints.C
  View in nbviewer Open in SWAN Likelihood and minimization: fitting with constraints
 
 rf604_constraints.py
  View in nbviewer Open in SWAN Likelihood and minimization: fitting with constraints
 
 rf605_profilell.C
  View in nbviewer Open in SWAN Likelihood and minimization: working with the profile likelihood estimator
 
 rf606_nllerrorhandling.C
  View in nbviewer Open in SWAN Likelihood and minimization: understanding and customizing error handling in likelihood evaluations
 
 rf607_fitresult.C
  View in nbviewer Open in SWAN Likelihood and minimization: demonstration of options of the RooFitResult class
 
 rf607_fitresult.py
  View in nbviewer Open in SWAN Likelihood and minimization: demonstration of options of the RooFitResult class
 
 rf608_fitresultaspdf.C
  View in nbviewer Open in SWAN Likelihood and minimization: representing the parabolic approximation of the fit as a multi-variate Gaussian on the parameters of the fitted pdf
 
 rf608_fitresultaspdf.py
  View in nbviewer Open in SWAN Likelihood and minimization: representing the parabolic approximation of the fit as a multi-variate Gaussian on the parameters of the fitted pdf
 
 rf609_xychi2fit.C
  View in nbviewer Open in SWAN Likelihood and minimization: setting up a chi^2 fit to an unbinned dataset with X,Y,err(Y) values (and optionally err(X) values)
 
 rf609_xychi2fit.py
  View in nbviewer Open in SWAN Likelihood and minimization: setting up a chi^2 fit to an unbinned dataset with X,Y,err(Y) values (and optionally err(X) values)
 
 rf610_visualerror.C
  View in nbviewer Open in SWAN Likelihood and minimization: visualization of errors from a covariance matrix
 
 rf610_visualerror.py
  View in nbviewer Open in SWAN Likelihood and minimization: visualization of errors from a covariance matrix
 
 rf611_weightedfits.C
  View in nbviewer Open in SWAN Likelihood and minimization: Parameter uncertainties for weighted unbinned ML fits
 
 rf612_recoverFromInvalidParameters.C
  View in nbviewer Open in SWAN Likelihood and minimization: Recover from regions where the function is not defined.
 
 rf701_efficiencyfit.C
  View in nbviewer Open in SWAN Special pdf's: unbinned maximum likelihood fit of an efficiency eff(x) function
 
 rf701_efficiencyfit.py
  View in nbviewer Open in SWAN Special pdf's: unbinned maximum likelihood fit of an efficiency eff(x) function to a dataset D(x,cut), cut is a category encoding a selection, which the efficiency as function of x should be described by eff(x)
 
 rf702_efficiencyfit_2D.C
  View in nbviewer Open in SWAN Special pdf's: unbinned maximum likelihood fit of an efficiency eff(x) function to a dataset D(x,cut), cut is a category encoding a selection whose efficiency as function of x should be described by eff(x)
 
 rf702_efficiencyfit_2D.py
  View in nbviewer Open in SWAN Special pdf's: unbinned maximum likelihood fit of an efficiency eff(x) function to a dataset D(x,cut), cut is a category encoding a selection whose efficiency as function of x should be described by eff(x)
 
 rf703_effpdfprod.C
  View in nbviewer Open in SWAN Special pdf's: using a product of an (acceptance) efficiency and a pdf as pdf
 
 rf703_effpdfprod.py
  View in nbviewer Open in SWAN Special pdf's: using a product of an (acceptance) efficiency and a pdf as pdf
 
 rf704_amplitudefit.C
  View in nbviewer Open in SWAN Special pdf's: using a pdf defined by a sum of real-valued amplitude components
 
 rf704_amplitudefit.py
  View in nbviewer Open in SWAN Special pdf's: using a pdf defined by a sum of real-valued amplitude components
 
 rf705_linearmorph.C
  View in nbviewer Open in SWAN Special pdf's: linear interpolation between pdf shapes using the 'Alex Read' algorithm
 
 rf706_histpdf.C
  View in nbviewer Open in SWAN Special pdf's: histogram-based pdfs and functions
 
 rf706_histpdf.py
  View in nbviewer Open in SWAN Special pdf's: histogram based pdfs and functions
 
 rf707_kernelestimation.C
  View in nbviewer Open in SWAN Special pdf's: using non-parametric (multi-dimensional) kernel estimation pdfs
 
 rf707_kernelestimation.py
  View in nbviewer Open in SWAN Special pdf's: using non-parametric (multi-dimensional) kernel estimation pdfs
 
 rf708_bphysics.C
  View in nbviewer Open in SWAN Special pdf's: special decay pdf for B physics with mixing and/or CP violation
 
 rf708_bphysics.py
  View in nbviewer Open in SWAN Special pdf's: special decay pdf for B physics with mixing and/or CP violation
 
 rf709_BarlowBeeston.C
  View in nbviewer Open in SWAN Implementing the Barlow-Beeston method for taking into account the statistical uncertainty of a Monte-Carlo fit template.
 
 rf801_mcstudy.C
  View in nbviewer Open in SWAN Validation and MC studies: toy Monte Carlo study that perform cycles of event generation and fitting
 
 rf801_mcstudy.py
  View in nbviewer Open in SWAN Validation and MC studies: toy Monte Carlo study that perform cycles of event generation and fitting
 
 rf802_mcstudy_addons.C
  View in nbviewer Open in SWAN Validation and MC studies: RooMCStudy - using separate fit and generator models, using the chi^2 calculator model Running a biased fit model against an optimal fit.
 
 rf803_mcstudy_addons2.C
  View in nbviewer Open in SWAN Validation and MC studies: RooMCStudy - Using the randomizer and profile likelihood add-on models
 
 rf804_mcstudy_constr.C
  View in nbviewer Open in SWAN Validation and MC studies: using RooMCStudy on models with constrains
 
 rf901_numintconfig.C
  View in nbviewer Open in SWAN Numeric algorithm tuning: configuration and customization of how numeric (partial) integrals are executed
 
 rf901_numintconfig.py
  View in nbviewer Open in SWAN Numeric algorithm tuning: configuration and customization of how numeric (partial) integrals are executed
 
 rf902_numgenconfig.C
  View in nbviewer Open in SWAN Numeric algorithm tuning: configuration and customization of how MC sampling algorithms on specific pdfs are executed
 
 rf902_numgenconfig.py
  View in nbviewer Open in SWAN Numeric algorithm tuning: configuration and customization of how MC sampling algorithms on specific pdfs are executed
 
 rf903_numintcache.C
  View in nbviewer Open in SWAN Numeric algorithm tuning: caching of slow numeric integrals and parameterization of slow numeric integrals
 
 rf903_numintcache.py
  View in nbviewer Open in SWAN Numeric algorithm tuning: caching of slow numeric integrals and parameterizations of slow numeric integrals