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