Variables | |
| a0 = ROOT.RooRealVar("a0", "a0", 0.5, 0.0, 1.0) | |
| a1 = ROOT.RooRealVar("a1", "a1", -0.2, -1, 1.0) | |
| bkg = ROOT.RooChebychev("bkg", "Background", x, [a0, a1]) | |
| c = ROOT.TCanvas("rf801_mcstudy", "rf801_mcstudy", 900, 900) | |
| corrHist000 = mcstudy.fitResult(0).correlationHist("c000") | |
| corrHist127 = mcstudy.fitResult(127).correlationHist("c127") | |
| corrHist953 = mcstudy.fitResult(953).correlationHist("c953") | |
| frame1 = mcstudy.plotParam(mean, Bins=40) | |
| frame2 = mcstudy.plotError(mean, Bins=40) | |
| frame3 = mcstudy.plotPull(mean, Bins=40, FitGauss=True) | |
| frame4 = mcstudy.plotNLL(Bins=40) | |
| hh_cor_a0_a1 = mcstudy.fitParDataSet().createHistogram("hh", a0, YVar=a1) | |
| hh_cor_a0_s1f = mcstudy.fitParDataSet().createHistogram("hh", a1, YVar=sig1frac) | |
| mcstudy | |
| mean = ROOT.RooRealVar("mean", "mean of gaussians", 5, 0, 10) | |
| model = ROOT.RooAddPdf("model", "g1+g2+a", [bkg, sig], [nbkg, nsig]) | |
| nbkg = ROOT.RooRealVar("nbkg", "number of background events, ", 150, 0, 1000) | |
| nsig = ROOT.RooRealVar("nsig", "number of signal events", 150, 0, 1000) | |
| 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) | |
| rf801_mcstudy.a0 = ROOT.RooRealVar("a0", "a0", 0.5, 0.0, 1.0) |
Definition at line 33 of file rf801_mcstudy.py.
| rf801_mcstudy.a1 = ROOT.RooRealVar("a1", "a1", -0.2, -1, 1.0) |
Definition at line 34 of file rf801_mcstudy.py.
Definition at line 35 of file rf801_mcstudy.py.
| rf801_mcstudy.c = ROOT.TCanvas("rf801_mcstudy", "rf801_mcstudy", 900, 900) |
Definition at line 103 of file rf801_mcstudy.py.
| rf801_mcstudy.corrHist000 = mcstudy.fitResult(0).correlationHist("c000") |
Definition at line 96 of file rf801_mcstudy.py.
| rf801_mcstudy.corrHist127 = mcstudy.fitResult(127).correlationHist("c127") |
Definition at line 97 of file rf801_mcstudy.py.
| rf801_mcstudy.corrHist953 = mcstudy.fitResult(953).correlationHist("c953") |
Definition at line 98 of file rf801_mcstudy.py.
| rf801_mcstudy.frame1 = mcstudy.plotParam(mean, Bins=40) |
Definition at line 84 of file rf801_mcstudy.py.
| rf801_mcstudy.frame2 = mcstudy.plotError(mean, Bins=40) |
Definition at line 85 of file rf801_mcstudy.py.
Definition at line 86 of file rf801_mcstudy.py.
| rf801_mcstudy.frame4 = mcstudy.plotNLL(Bins=40) |
Definition at line 89 of file rf801_mcstudy.py.
Definition at line 93 of file rf801_mcstudy.py.
Definition at line 92 of file rf801_mcstudy.py.
| rf801_mcstudy.mcstudy |
Definition at line 64 of file rf801_mcstudy.py.
| rf801_mcstudy.mean = ROOT.RooRealVar("mean", "mean of gaussians", 5, 0, 10) |
Definition at line 25 of file rf801_mcstudy.py.
Definition at line 44 of file rf801_mcstudy.py.
| rf801_mcstudy.nbkg = ROOT.RooRealVar("nbkg", "number of background events, ", 150, 0, 1000) |
Definition at line 42 of file rf801_mcstudy.py.
| rf801_mcstudy.nsig = ROOT.RooRealVar("nsig", "number of signal events", 150, 0, 1000) |
Definition at line 43 of file rf801_mcstudy.py.
Definition at line 39 of file rf801_mcstudy.py.
Definition at line 29 of file rf801_mcstudy.py.
| rf801_mcstudy.sig1frac = ROOT.RooRealVar("sig1frac", "fraction of component 1 in signal", 0.8, 0.0, 1.0) |
Definition at line 38 of file rf801_mcstudy.py.
Definition at line 30 of file rf801_mcstudy.py.
| rf801_mcstudy.sigma1 = ROOT.RooRealVar("sigma1", "width of gaussians", 0.5) |
Definition at line 26 of file rf801_mcstudy.py.
| rf801_mcstudy.sigma2 = ROOT.RooRealVar("sigma2", "width of gaussians", 1) |
Definition at line 27 of file rf801_mcstudy.py.
| rf801_mcstudy.x = ROOT.RooRealVar("x", "x", 0, 10) |
Definition at line 20 of file rf801_mcstudy.py.