API
RooFitLite.AddPdf — Type
AddPdf(name, pdfs, coefs)
AddPdf(name, pdf1, pdf2, fraction)Combine PDFs that share one observable. If coefs has one entry fewer than pdfs, coefficients are interpreted as recursive fractions. If it has the same length, coefficients are interpreted as extended yields.
RooFitLite.ArgusPdf — Type
ArgusPdf(name, x, m0, c, p=ConstVar(:p, 0.5))Build a normalized ARGUS background PDF in observable x.
RooFitLite.Chebyshev — Type
Chebyshev(name, x, coeffs)Build a Chebyshev PDF in observable x from a vector of coefficient variables.
RooFitLite.DataSet — Type
DataSet(data, observables)Container for generated or user-provided data together with the observables that describe the data dimensions.
RooFitLite.Exponential — Type
Exponential(name, x, c)Build a normalized exponential PDF in observable x with slope parameter c. The PDF is truncated to x.limits.
RooFitLite.FitResult — Type
FitResult(data, model, engine)Result returned by fitTo, storing the input data, fitted model, and underlying minimization engine.
RooFitLite.Gaussian — Type
Gaussian(name, x, mean, sigma)Build a normalized Gaussian PDF in observable x with mean and width variables. The PDF is truncated to x.limits.
RooFitLite.RealVar — Type
RealVar(name, value=0, error=0; limits=(-Inf, Inf), nbins=0)
RealVar{T}(name, value=0, error=0; limits=(-Inf, Inf), nbins=0)Store an observable or floating model parameter with a symbolic name, current value, uncertainty error, allowed limits, and optional histogram nbins. Parameterized construction with RealVar{T} creates a constant variable.
RooFitLite.ConstVar — Method
ConstVar(name, value)
ConstVar(value=0.0)Create a constant RealVar whose value cannot be changed by a fit.
RooFitLite.fitTo — Function
fitTo(model, data)Fit model to data and return a FitResult. This function is provided by the Minuit2 extension.
RooFitLite.generate — Method
generate(d::AbstractPdf, n::Integer=1000; nbins=0)Generate n random numbers from a distribution d.
RooFitLite.minuitkwargs — Function
minuitkwargs(model; randomize=false)Return keyword arguments for constructing a Minuit2 minimizer from a RooFitLite model. This function is provided by the Minuit2 extension.
RooFitLite.visualize — Function
visualize(args...; kwargs...)Create plots for models, fit results, or Minuit2 engines when the Plots and Minuit2 extensions are loaded.