Logo ROOT  
Reference Guide
rf605_profilell Namespace Reference

Variables

 c = ROOT.TCanvas("rf605_profilell", "rf605_profilell", 800, 400)
 data = model.generate({x}, 1000)
 frac = ROOT.RooRealVar("frac", "frac", 0.5, 0.0, 1.0)
 frame1 = frac.frame(Bins=10, Range=(0.01, 0.95), Title="LL and profileLL in frac")
 frame2 = sigma_g2.frame(Bins=10, Range=(3.3, 5.0), Title="LL and profileLL in sigma_g2")
 g1 = ROOT.RooGaussian("g1", "g1", x, mean, sigma_g1)
 g2 = ROOT.RooGaussian("g2", "g2", x, mean, sigma_g2)
 LineColor
 mean = ROOT.RooRealVar("mean", "mean of g1 and g2", 0, -10, 10)
 model = ROOT.RooAddPdf("model", "model", [g1, g2], [frac])
 nll = model.createNLL(data, NumCPU=2)
 pll_frac = nll.createProfile({frac})
 pll_sigmag2 = nll.createProfile({sigma_g2})
 ShiftToZero
 sigma_g1 = ROOT.RooRealVar("sigma_g1", "width of g1", 3)
 sigma_g2 = ROOT.RooRealVar("sigma_g2", "width of g2", 4, 3.0, 6.0)
 x = ROOT.RooRealVar("x", "x", -20, 20)

Variable Documentation

◆ c

rf605_profilell.c = ROOT.TCanvas("rf605_profilell", "rf605_profilell", 800, 400)

Definition at line 86 of file rf605_profilell.py.

◆ data

rf605_profilell.data = model.generate({x}, 1000)

Definition at line 37 of file rf605_profilell.py.

◆ frac

rf605_profilell.frac = ROOT.RooRealVar("frac", "frac", 0.5, 0.0, 1.0)

Definition at line 33 of file rf605_profilell.py.

◆ frame1

rf605_profilell.frame1 = frac.frame(Bins=10, Range=(0.01, 0.95), Title="LL and profileLL in frac")

Definition at line 49 of file rf605_profilell.py.

◆ frame2

rf605_profilell.frame2 = sigma_g2.frame(Bins=10, Range=(3.3, 5.0), Title="LL and profileLL in sigma_g2")

Definition at line 53 of file rf605_profilell.py.

◆ g1

rf605_profilell.g1 = ROOT.RooGaussian("g1", "g1", x, mean, sigma_g1)

Definition at line 28 of file rf605_profilell.py.

◆ g2

rf605_profilell.g2 = ROOT.RooGaussian("g2", "g2", x, mean, sigma_g2)

Definition at line 31 of file rf605_profilell.py.

◆ LineColor

rf605_profilell.LineColor

Definition at line 65 of file rf605_profilell.py.

◆ mean

rf605_profilell.mean = ROOT.RooRealVar("mean", "mean of g1 and g2", 0, -10, 10)

Definition at line 26 of file rf605_profilell.py.

◆ model

rf605_profilell.model = ROOT.RooAddPdf("model", "model", [g1, g2], [frac])

Definition at line 34 of file rf605_profilell.py.

◆ nll

rf605_profilell.nll = model.createNLL(data, NumCPU=2)

Definition at line 43 of file rf605_profilell.py.

◆ pll_frac

rf605_profilell.pll_frac = nll.createProfile({frac})

Definition at line 62 of file rf605_profilell.py.

◆ pll_sigmag2

rf605_profilell.pll_sigmag2 = nll.createProfile({sigma_g2})

Definition at line 76 of file rf605_profilell.py.

◆ ShiftToZero

rf605_profilell.ShiftToZero

Definition at line 50 of file rf605_profilell.py.

◆ sigma_g1

rf605_profilell.sigma_g1 = ROOT.RooRealVar("sigma_g1", "width of g1", 3)

Definition at line 27 of file rf605_profilell.py.

◆ sigma_g2

rf605_profilell.sigma_g2 = ROOT.RooRealVar("sigma_g2", "width of g2", 4, 3.0, 6.0)

Definition at line 30 of file rf605_profilell.py.

◆ x

rf605_profilell.x = ROOT.RooRealVar("x", "x", -20, 20)

Definition at line 23 of file rf605_profilell.py.