Classes | |
| class | GlobalChi2 |
Variables | |
| c1 = ROOT.TCanvas("Simfit", "Simultaneous fit of two histograms", 10, 10, 700, 700) | |
| chi2_B = ROOT.Fit.Chi2Function(dataB, wfB) | |
| chi2_SB = ROOT.Fit.Chi2Function(dataSB, wfSB) | |
| dataB = ROOT.Fit.BinData(opt, rangeB) | |
| dataSB = ROOT.Fit.BinData(opt, rangeSB) | |
| fB = ROOT.TF1("fB", "expo", 0, 100) | |
| fitter = ROOT.Fit.Fitter() | |
| fS = ROOT.TF1("fS", "gaus", 0, 100) | |
| fSB = ROOT.TF1("fSB", "expo + gaus(2)", 0, 100) | |
| globalChi2 = GlobalChi2(chi2_B, chi2_SB) | |
| globalChi2Functor = ROOT.Math.Functor(globalChi2, 6) | |
| hB = ROOT.TH1D("hB", "histo B", 100, 0, 100) | |
| hSB = ROOT.TH1D("hSB", "histo S+B", 100, 0, 100) | |
| iparB = np.array([0, 2], dtype=np.int32) | |
| iparSB | |
| int | Npar = 6 |
| opt = ROOT.Fit.DataOptions() | |
| par0 = np.array([5, 5, -0.1, 100, 30, 10]) | |
| rangeB = ROOT.Fit.DataRange() | |
| rangeSB = ROOT.Fit.DataRange() | |
| result = fitter.Result() | |
| wfB = ROOT.Math.WrappedMultiTF1(fB, 1) | |
| wfSB = ROOT.Math.WrappedMultiTF1(fSB, 1) | |
| combinedFit.c1 = ROOT.TCanvas("Simfit", "Simultaneous fit of two histograms", 10, 10, 700, 700) |
Definition at line 117 of file combinedFit.py.
| combinedFit.chi2_B = ROOT.Fit.Chi2Function(dataB, wfB) |
Definition at line 85 of file combinedFit.py.
| combinedFit.chi2_SB = ROOT.Fit.Chi2Function(dataSB, wfSB) |
Definition at line 86 of file combinedFit.py.
| combinedFit.dataB = ROOT.Fit.BinData(opt, rangeB) |
Definition at line 77 of file combinedFit.py.
| combinedFit.dataSB = ROOT.Fit.BinData(opt, rangeSB) |
Definition at line 82 of file combinedFit.py.
| combinedFit.fB = ROOT.TF1("fB", "expo", 0, 100) |
Definition at line 56 of file combinedFit.py.
| combinedFit.fitter = ROOT.Fit.Fitter() |
Definition at line 90 of file combinedFit.py.
| combinedFit.fS = ROOT.TF1("fS", "gaus", 0, 100) |
Definition at line 60 of file combinedFit.py.
| combinedFit.fSB = ROOT.TF1("fSB", "expo + gaus(2)", 0, 100) |
Definition at line 68 of file combinedFit.py.
| combinedFit.globalChi2 = GlobalChi2(chi2_B, chi2_SB) |
Definition at line 88 of file combinedFit.py.
| combinedFit.globalChi2Functor = ROOT.Math.Functor(globalChi2, 6) |
Definition at line 109 of file combinedFit.py.
| combinedFit.hB = ROOT.TH1D("hB", "histo B", 100, 0, 100) |
Definition at line 53 of file combinedFit.py.
| combinedFit.hSB = ROOT.TH1D("hSB", "histo S+B", 100, 0, 100) |
Definition at line 54 of file combinedFit.py.
| combinedFit.iparB = np.array([0, 2], dtype=np.int32) |
Definition at line 19 of file combinedFit.py.
| combinedFit.iparSB |
Definition at line 22 of file combinedFit.py.
| int combinedFit.Npar = 6 |
Definition at line 92 of file combinedFit.py.
| combinedFit.opt = ROOT.Fit.DataOptions() |
Definition at line 73 of file combinedFit.py.
| combinedFit.par0 = np.array([5, 5, -0.1, 100, 30, 10]) |
Definition at line 93 of file combinedFit.py.
| combinedFit.rangeB = ROOT.Fit.DataRange() |
Definition at line 74 of file combinedFit.py.
| combinedFit.rangeSB = ROOT.Fit.DataRange() |
Definition at line 80 of file combinedFit.py.
| combinedFit.result = fitter.Result() |
Definition at line 114 of file combinedFit.py.
| combinedFit.wfB = ROOT.Math.WrappedMultiTF1(fB, 1) |
Definition at line 70 of file combinedFit.py.
| combinedFit.wfSB = ROOT.Math.WrappedMultiTF1(fSB, 1) |
Definition at line 71 of file combinedFit.py.