Variables | |
| allCustomiserNodes = ROOT.RooArgSet() | |
| cust = ROOT.RooCustomizer(model, sample, newLeaves, allCustomiserNodes) | |
| E = ROOT.RooRealVar("Energy", "Energy", 0, 3000) | |
| gauss = ROOT.RooGaussian("gauss", "gauss", E, meanG, sigmaG) | |
| linear = ROOT.RooPolynomial("linear", "linear", E, pol1) | |
| mass = ROOT.RooRealVar("M", "M", 1, 0, 12000) | |
| meanG = ROOT.RooRealVar("meanG", "meanG", 100.0, 0.0, 3000.0) | |
| meanG1 = allCustomiserNodes["meanG_Sample1"] | |
| meanG2 = allCustomiserNodes["meanG_Sample2"] | |
| model = ROOT.RooAddPdf("model", "S + B model", [gauss, linear], [yieldSig, yieldBkg]) | |
| newLeaves = ROOT.RooArgSet() | |
| pdf1 = cust.build("Sample1") | |
| pdf2 = cust.build("Sample2") | |
| pdf3 = cust.build("Sample3") | |
| pol1 = ROOT.RooRealVar("pol1", "Constant of the polynomial", 1, -10, 10) | |
| sample = ROOT.RooCategory("sample", "sample", {"Sample1": 1, "Sample2": 2, "Sample3": 3}) | |
| sigmaG = ROOT.RooRealVar("sigmaG", "sigmaG", 3.0) | |
| yield1 = ROOT.RooFormulaVar("yieldSig_Sample1", "Signal yield in the first sample", "M/3.360779", mass) | |
| yield2 = ROOT.RooFormulaVar("yieldSig_Sample2", "Signal yield in the second sample", "M/2", mass) | |
| yieldBkg = ROOT.RooRealVar("yieldBkg", "yieldBkg", 1, 0, 1.0e4) | |
| yieldSig = ROOT.RooRealVar("yieldSig", "yieldSig", 1, 0, 1.0e4) | |
| rf514_RooCustomizer.allCustomiserNodes = ROOT.RooArgSet() |
Definition at line 42 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.cust = ROOT.RooCustomizer(model, sample, newLeaves, allCustomiserNodes) |
Definition at line 48 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.E = ROOT.RooRealVar("Energy", "Energy", 0, 3000) |
Definition at line 15 of file rf514_RooCustomizer.py.
Definition at line 19 of file rf514_RooCustomizer.py.
Definition at line 22 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.mass = ROOT.RooRealVar("M", "M", 1, 0, 12000) |
Definition at line 58 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.meanG = ROOT.RooRealVar("meanG", "meanG", 100.0, 0.0, 3000.0) |
Definition at line 17 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.meanG1 = allCustomiserNodes["meanG_Sample1"] |
Definition at line 85 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.meanG2 = allCustomiserNodes["meanG_Sample2"] |
Definition at line 87 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.model = ROOT.RooAddPdf("model", "S + B model", [gauss, linear], [yieldSig, yieldBkg]) |
Definition at line 27 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.newLeaves = ROOT.RooArgSet() |
Definition at line 41 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.pdf1 = cust.build("Sample1") |
Definition at line 69 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.pdf2 = cust.build("Sample2") |
Definition at line 70 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.pdf3 = cust.build("Sample3") |
Definition at line 71 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.pol1 = ROOT.RooRealVar("pol1", "Constant of the polynomial", 1, -10, 10) |
Definition at line 21 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.sample = ROOT.RooCategory("sample", "sample", {"Sample1": 1, "Sample2": 2, "Sample3": 3}) |
Definition at line 34 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.sigmaG = ROOT.RooRealVar("sigmaG", "sigmaG", 3.0) |
Definition at line 18 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.yield1 = ROOT.RooFormulaVar("yieldSig_Sample1", "Signal yield in the first sample", "M/3.360779", mass) |
Definition at line 59 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.yield2 = ROOT.RooFormulaVar("yieldSig_Sample2", "Signal yield in the second sample", "M/2", mass) |
Definition at line 60 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.yieldBkg = ROOT.RooRealVar("yieldBkg", "yieldBkg", 1, 0, 1.0e4) |
Definition at line 25 of file rf514_RooCustomizer.py.
| rf514_RooCustomizer.yieldSig = ROOT.RooRealVar("yieldSig", "yieldSig", 1, 0, 1.0e4) |
Definition at line 24 of file rf514_RooCustomizer.py.