Basic functionality: examples on normalization and integration of pdfs, construction of cumulative distribution functions from monodimensional pdfs
import ROOT
nset = {x}
xset = {x}
frame =
x.frame(Title=
"cdf of Gaussian pdf")
c =
ROOT.TCanvas(
"rf110_normintegration",
"rf110_normintegration", 600, 600)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
gx = 0.8007374029168081
[#0] FATAL:Eval -- calling RooAbsReal::getVal() with r-value references to the normalization set is not allowed, because it breaks RooFits caching logic and potentially introduces significant overhead. Please explicitly create the RooArgSet outside the call to getVal().
gx_Norm[x] = 0.1068955044839622
gx_Int[x] = 7.490842639102233
[#1] INFO:Eval -- RooRealVar::setRange(x) new range named 'signal' created with bounds [-5,5]
gx_Int[x|signal]_Norm[x] = 0.8347532778470285
- Date
- February 2018
- Authors
- Clemens Lange, Wouter Verkerke (C++ version)
Definition in file rf110_normintegration.py.