Variables | |
| a0 = ROOT.RooRealVar("a0", "a0", 0.5, 0.0, 1.0) | |
| a1 = ROOT.RooRealVar("a1", "a1", 0.2, 0.0, 1.0) | |
| bkg = ROOT.RooChebychev("bkg", "Background", x, [a0, a1]) | |
| bkgfrac = ROOT.RooRealVar("bkgfrac", "fraction of background", 0.5, 0.0, 1.0) | |
| chi2_lowstat = model.createChi2(dhsmall) | |
| d = model.generate({x}, 10000) | |
| dh = d.binnedClone() | |
| dhsmall = dsmall.binnedClone() | |
| dsmall = d.reduce(ROOT.RooFit.EventRange(1, 100)) | |
| ll = ROOT.RooLinkedList() | |
| mean = ROOT.RooRealVar("mean", "mean of gaussians", 5) | |
| model = ROOT.RooAddPdf("model", "g1+g2+a", [bkg, sig], [bkgfrac]) | |
| sig = ROOT.RooAddPdf("sig", "Signal", [sig1, sig2], [sig1frac]) | |
| sig1 = ROOT.RooGaussian("sig1", "Signal component 1", x, mean, sigma1) | |
| sig1frac = ROOT.RooRealVar("sig1frac", "fraction of component 1 in signal", 0.8, 0.0, 1.0) | |
| sig2 = ROOT.RooGaussian("sig2", "Signal component 2", x, mean, sigma2) | |
| sigma1 = ROOT.RooRealVar("sigma1", "width of gaussians", 0.5) | |
| sigma2 = ROOT.RooRealVar("sigma2", "width of gaussians", 1) | |
| x = ROOT.RooRealVar("x", "x", 0, 10) | |
| rf602_chi2fit.a0 = ROOT.RooRealVar("a0", "a0", 0.5, 0.0, 1.0) |
Definition at line 33 of file rf602_chi2fit.py.
| rf602_chi2fit.a1 = ROOT.RooRealVar("a1", "a1", 0.2, 0.0, 1.0) |
Definition at line 34 of file rf602_chi2fit.py.
Definition at line 35 of file rf602_chi2fit.py.
| rf602_chi2fit.bkgfrac = ROOT.RooRealVar("bkgfrac", "fraction of background", 0.5, 0.0, 1.0) |
Definition at line 42 of file rf602_chi2fit.py.
| rf602_chi2fit.chi2_lowstat = model.createChi2(dhsmall) |
Definition at line 67 of file rf602_chi2fit.py.
| rf602_chi2fit.d = model.generate({x}, 10000) |
Definition at line 48 of file rf602_chi2fit.py.
| rf602_chi2fit.dh = d.binnedClone() |
Definition at line 49 of file rf602_chi2fit.py.
| rf602_chi2fit.dhsmall = dsmall.binnedClone() |
Definition at line 66 of file rf602_chi2fit.py.
| rf602_chi2fit.dsmall = d.reduce(ROOT.RooFit.EventRange(1, 100)) |
Definition at line 65 of file rf602_chi2fit.py.
| rf602_chi2fit.ll = ROOT.RooLinkedList() |
Definition at line 56 of file rf602_chi2fit.py.
| rf602_chi2fit.mean = ROOT.RooRealVar("mean", "mean of gaussians", 5) |
Definition at line 25 of file rf602_chi2fit.py.
Definition at line 43 of file rf602_chi2fit.py.
Definition at line 39 of file rf602_chi2fit.py.
Definition at line 29 of file rf602_chi2fit.py.
| rf602_chi2fit.sig1frac = ROOT.RooRealVar("sig1frac", "fraction of component 1 in signal", 0.8, 0.0, 1.0) |
Definition at line 38 of file rf602_chi2fit.py.
Definition at line 30 of file rf602_chi2fit.py.
| rf602_chi2fit.sigma1 = ROOT.RooRealVar("sigma1", "width of gaussians", 0.5) |
Definition at line 26 of file rf602_chi2fit.py.
| rf602_chi2fit.sigma2 = ROOT.RooRealVar("sigma2", "width of gaussians", 1) |
Definition at line 27 of file rf602_chi2fit.py.
| rf602_chi2fit.x = ROOT.RooRealVar("x", "x", 0, 10) |
Definition at line 21 of file rf602_chi2fit.py.