25f = ROOT.TFile(
"rf502_workspace_py.root")
45model.fitTo(data, PrintLevel=-1)
48xframe = x.frame(Title=
"Model and data read from workspace")
53model.plotOn(xframe, Components=
"bkg", LineStyle=
"--")
56model.plotOn(xframe, Components=
"bkg,sig2", LineStyle=
":")
59c = ROOT.TCanvas(
"rf503_wspaceread",
"rf503_wspaceread", 600, 600)
60ROOT.gPad.SetLeftMargin(0.15)
61xframe.GetYaxis().SetTitleOffset(1.4)
64c.SaveAs(
"rf503_wspaceread.png")