Variables | |
| c = ROOT.TCanvas("rf802_mcstudy_addons", "rf802_mcstudy_addons", 800, 400) | |
| chi2mod = ROOT.RooChi2MCSModule() | |
| chi2mod2 = ROOT.RooChi2MCSModule() | |
| gauss = ROOT.RooGaussian("gauss", "gaussian PDF", x, mean, sigma) | |
| gauss2 = ROOT.RooGaussian("gauss2", "gaussian PDF2", x, mean2, sigma) | |
| hist2_chi2 = mcs2.fitParDataSet().createHistogram("chi2", AutoBinning=nBins) | |
| hist2_prob = mcs2.fitParDataSet().createHistogram("prob", AutoBinning=nBins) | |
| hist_chi2 = mcs.fitParDataSet().createHistogram("chi2", AutoBinning=nBins) | |
| hist_prob = mcs.fitParDataSet().createHistogram("prob", AutoBinning=nBins) | |
| mcs = ROOT.RooMCStudy(gauss, {x}, Silence=True, Binned=True) | |
| mcs2 = ROOT.RooMCStudy(gauss2, {x}, FitModel=gauss, Silence=True, Binned=True) | |
| mean = ROOT.RooRealVar("mean", "mean of gaussian", 0, -2.0, 1.8) | |
| mean2 = ROOT.RooRealVar("mean2", "mean of gaussian 2", 2.0) | |
| int | nBins = 100 |
| pullMeanFrame = mcs2.plotPull(mean) | |
| sigma = ROOT.RooRealVar("sigma", "width of gaussian", 5, 1, 10) | |
| x = ROOT.RooRealVar("x", "x", -10, 10) | |
| rf802_mcstudy_addons.c = ROOT.TCanvas("rf802_mcstudy_addons", "rf802_mcstudy_addons", 800, 400) |
Definition at line 87 of file rf802_mcstudy_addons.py.
| rf802_mcstudy_addons.chi2mod = ROOT.RooChi2MCSModule() |
Definition at line 39 of file rf802_mcstudy_addons.py.
| rf802_mcstudy_addons.chi2mod2 = ROOT.RooChi2MCSModule() |
Definition at line 66 of file rf802_mcstudy_addons.py.
Definition at line 29 of file rf802_mcstudy_addons.py.
Definition at line 58 of file rf802_mcstudy_addons.py.
| rf802_mcstudy_addons.hist2_chi2 = mcs2.fitParDataSet().createHistogram("chi2", AutoBinning=nBins) |
Definition at line 82 of file rf802_mcstudy_addons.py.
| rf802_mcstudy_addons.hist2_prob = mcs2.fitParDataSet().createHistogram("prob", AutoBinning=nBins) |
Definition at line 83 of file rf802_mcstudy_addons.py.
| rf802_mcstudy_addons.hist_chi2 = mcs.fitParDataSet().createHistogram("chi2", AutoBinning=nBins) |
Definition at line 50 of file rf802_mcstudy_addons.py.
| rf802_mcstudy_addons.hist_prob = mcs.fitParDataSet().createHistogram("prob", AutoBinning=nBins) |
Definition at line 51 of file rf802_mcstudy_addons.py.
Definition at line 36 of file rf802_mcstudy_addons.py.
Definition at line 63 of file rf802_mcstudy_addons.py.
| rf802_mcstudy_addons.mean = ROOT.RooRealVar("mean", "mean of gaussian", 0, -2.0, 1.8) |
Definition at line 25 of file rf802_mcstudy_addons.py.
| rf802_mcstudy_addons.mean2 = ROOT.RooRealVar("mean2", "mean of gaussian 2", 2.0) |
Definition at line 57 of file rf802_mcstudy_addons.py.
| int rf802_mcstudy_addons.nBins = 100 |
Definition at line 46 of file rf802_mcstudy_addons.py.
| rf802_mcstudy_addons.pullMeanFrame = mcs2.plotPull(mean) |
Definition at line 78 of file rf802_mcstudy_addons.py.
| rf802_mcstudy_addons.sigma = ROOT.RooRealVar("sigma", "width of gaussian", 5, 1, 10) |
Definition at line 26 of file rf802_mcstudy_addons.py.
| rf802_mcstudy_addons.x = ROOT.RooRealVar("x", "x", -10, 10) |
Definition at line 23 of file rf802_mcstudy_addons.py.