Logo ROOT  
Reference Guide
rf703_effpdfprod Namespace Reference

Variables

 c = ROOT.TCanvas("rf703_effpdfprod", "rf703_effpdfprod", 1200, 400)
 data = modelEff.generate({t}, 10000)
 eff = ROOT.RooFormulaVar("eff", "0.5*(TMath::Erf((t-1)/0.5)+1)", [t])
 frame1 = t.frame(Title="Efficiency")
 frame2 = t.frame(Title="Pdf with and without efficiency")
 frame3 = t.frame(Title="Fitted pdf with efficiency")
 LineColor
 LineStyle
 model = ROOT.RooExponential("model", "model", t, tau)
 modelEff = ROOT.RooEffProd("modelEff", "model with efficiency", model, eff)
 PrintLevel
 t = ROOT.RooRealVar("t", "t", 0, 5)
 tau = ROOT.RooRealVar("tau", "tau", -1.54, -4, -0.1)

Variable Documentation

◆ c

rf703_effpdfprod.c = ROOT.TCanvas("rf703_effpdfprod", "rf703_effpdfprod", 1200, 400)

Definition at line 64 of file rf703_effpdfprod.py.

◆ data

rf703_effpdfprod.data = modelEff.generate({t}, 10000)

Definition at line 54 of file rf703_effpdfprod.py.

◆ eff

rf703_effpdfprod.eff = ROOT.RooFormulaVar("eff", "0.5*(TMath::Erf((t-1)/0.5)+1)", [t])

Definition at line 30 of file rf703_effpdfprod.py.

◆ frame1

rf703_effpdfprod.frame1 = t.frame(Title="Efficiency")

Definition at line 41 of file rf703_effpdfprod.py.

◆ frame2

rf703_effpdfprod.frame2 = t.frame(Title="Pdf with and without efficiency")

Definition at line 44 of file rf703_effpdfprod.py.

◆ frame3

rf703_effpdfprod.frame3 = t.frame(Title="Fitted pdf with efficiency")

Definition at line 60 of file rf703_effpdfprod.py.

◆ LineColor

rf703_effpdfprod.LineColor

Definition at line 42 of file rf703_effpdfprod.py.

◆ LineStyle

rf703_effpdfprod.LineStyle

Definition at line 46 of file rf703_effpdfprod.py.

◆ model

rf703_effpdfprod.model = ROOT.RooExponential("model", "model", t, tau)

Definition at line 24 of file rf703_effpdfprod.py.

◆ modelEff

rf703_effpdfprod.modelEff = ROOT.RooEffProd("modelEff", "model with efficiency", model, eff)

Definition at line 36 of file rf703_effpdfprod.py.

◆ PrintLevel

rf703_effpdfprod.PrintLevel

Definition at line 57 of file rf703_effpdfprod.py.

◆ t

rf703_effpdfprod.t = ROOT.RooRealVar("t", "t", 0, 5)

Definition at line 20 of file rf703_effpdfprod.py.

◆ tau

rf703_effpdfprod.tau = ROOT.RooRealVar("tau", "tau", -1.54, -4, -0.1)

Definition at line 23 of file rf703_effpdfprod.py.