15 cv = ROOT.TCanvas(name.replace(
'.pdf',
''), name.replace(
'.pdf',
''), 10, 10, 700, 600)
18 cv.Divide(1, 2, 0.0, 0.0)
20 cv.GetPad(1).SetPad(0.0, 0.32, 1., 1.0)
21 cv.GetPad(2).SetPad(0.0, 0.00, 1., 0.34)
22 cv.GetPad(1).SetFillStyle(4000)
23 cv.GetPad(2).SetFillStyle(4000)
26 ROOT.gPad.SetTopMargin(0.08)
27 ROOT.gPad.SetLeftMargin(0.12)
28 ROOT.gPad.SetBottomMargin(0.03)
29 ROOT.gPad.SetRightMargin(0.1)
32 ROOT.gPad.SetBottomMargin(0.35)
33 ROOT.gPad.SetLeftMargin(0.12)
34 ROOT.gPad.SetRightMargin(0.1)
36 bogyHist = ROOT.TH1F(
"legendPseudoHist",
"", 1, 1., 2.)
37 bogyHist.SetFillColor(errorBandFillColor)
38 bogyHist.SetFillStyle(errorBandStyle)
39 bogyHist.SetLineColor(0)
def createRatioCanvas(name, errorBandFillColor=14, errorBandStyle=3354)