Variables | |
| a = ROOT.RooRealVar("a", "a", 5, 0, 10) | |
| b = ROOT.RooRealVar("b", "b", 2, 0, 10) | |
| beta = ROOT.RooFit.bindPdf("beta", ROOT.Math.beta_pdf, x2, a, b) | |
| c = ROOT.TCanvas("rf105_funcbinding", "rf105_funcbinding", 1200, 400) | |
| data = beta.generate({x2}, 10000) | |
| erf = ROOT.RooFit.bindFunction("erf", ROOT.TMath.Erf, x) | |
| fa1 = ROOT.TF1("fa1", "sin(x)/x", 0, 10) | |
| frame1 = x.frame(Title="TMath.Erf bound as ROOT.RooFit function") | |
| frame2 = x2.frame(Title="ROOT.Math.Beta bound as ROOT.RooFit pdf") | |
| frame3 = x3.frame(Title="TF1 bound as ROOT.RooFit function") | |
| PrintLevel | |
| rfa1 = ROOT.RooFit.bindFunction(fa1, x3) | |
| x = ROOT.RooRealVar("x", "x", -3, 3) | |
| x2 = ROOT.RooRealVar("x2", "x2", 0, 0.999) | |
| x3 = ROOT.RooRealVar("x3", "x3", 0.01, 20) | |
| rf105_funcbinding.a = ROOT.RooRealVar("a", "a", 5, 0, 10) |
Definition at line 36 of file rf105_funcbinding.py.
| rf105_funcbinding.b = ROOT.RooRealVar("b", "b", 2, 0, 10) |
Definition at line 37 of file rf105_funcbinding.py.
| rf105_funcbinding.beta = ROOT.RooFit.bindPdf("beta", ROOT.Math.beta_pdf, x2, a, b) |
Definition at line 38 of file rf105_funcbinding.py.
| rf105_funcbinding.c = ROOT.TCanvas("rf105_funcbinding", "rf105_funcbinding", 1200, 400) |
Definition at line 71 of file rf105_funcbinding.py.
| rf105_funcbinding.data = beta.generate({x2}, 10000) |
Definition at line 44 of file rf105_funcbinding.py.
| rf105_funcbinding.erf = ROOT.RooFit.bindFunction("erf", ROOT.TMath.Erf, x) |
Definition at line 22 of file rf105_funcbinding.py.
| rf105_funcbinding.fa1 = ROOT.TF1("fa1", "sin(x)/x", 0, 10) |
Definition at line 56 of file rf105_funcbinding.py.
| rf105_funcbinding.frame1 = x.frame(Title="TMath.Erf bound as ROOT.RooFit function") |
Definition at line 28 of file rf105_funcbinding.py.
| rf105_funcbinding.frame2 = x2.frame(Title="ROOT.Math.Beta bound as ROOT.RooFit pdf") |
Definition at line 48 of file rf105_funcbinding.py.
| rf105_funcbinding.frame3 = x3.frame(Title="TF1 bound as ROOT.RooFit function") |
Definition at line 68 of file rf105_funcbinding.py.
| rf105_funcbinding.PrintLevel |
Definition at line 45 of file rf105_funcbinding.py.
Definition at line 62 of file rf105_funcbinding.py.
| rf105_funcbinding.x = ROOT.RooRealVar("x", "x", -3, 3) |
Definition at line 21 of file rf105_funcbinding.py.
| rf105_funcbinding.x2 = ROOT.RooRealVar("x2", "x2", 0, 0.999) |
Definition at line 35 of file rf105_funcbinding.py.
| rf105_funcbinding.x3 = ROOT.RooRealVar("x3", "x3", 0.01, 20) |
Definition at line 59 of file rf105_funcbinding.py.