def METHOD_NAME(self, histos, titles):
    self.histos = histos
    ymax = max(h.GetMaximum() for h in self.histos)
    self.Legend.Clear()
    self.draw_ratioLegend.Clear()
    for i, h in enumerate(self.histos):
        title = titles[i]
        h.GetYaxis().SetRangeUser(0., ymax * 1.3)
        self.Legend.AddEntry(h, title + ': ' + str(h.Integral()))
        if i == 0:
            h.METHOD_NAME('HIST E')
        else:
            h.METHOD_NAME('SAME HIST E')
    self.Legend.METHOD_NAME()
    ## add an assessment on the agreement
    rel_diff = checkDifferences(self.histos)
    self.box.SetLineColor(1)
    self.box.SetLineWidth(1)
    self.box.SetShadowColor(0)
    if rel_diff <= 0.01:
        self.box.SetFillColor(416) ## kGreen
    elif rel_diff <= 0.10:
        self.box.SetFillColor(797) ## kOrange
    else:
        self.box.SetFillColor(632) ## kRed
    self.box.ConvertNDCtoPad()
    self.box.METHOD_NAME()
    pull_histos = []
    if self.draw_ratio:
        self.canvas.cd(2)
        for ihist in range(1, len(self.histos)):
            histPull = copy.deepcopy(self.histos[ihist])
            pull_histos.append(histPull)
            histPull.Divide(self.histos[0])
            histPull.UseCurrentStyle()
            histPull.SetLineColor(self.histos[ihist].GetLineColor())
            histPull.SetMarkerColor(self.histos[ihist].GetLineColor())
            histPull.SetLineStyle(self.histos[ihist].GetLineStyle())
            histPull.SetLineWidth(self.histos[ihist].GetLineWidth())
            histPull.GetYaxis().SetRangeUser(-self.pullRange + 1., self.pullRange + 1.)
            # defaultYtoPixel = 408.  # height in pixels of default canvas
            defaultYtoPixel = self.canvas.GetPad(1).YtoPixel(0.)
            pad2YtoPixel = float(self.canvas.GetPad(2).YtoPixel(0))
            pad2XaxisFactor = defaultYtoPixel / pad2YtoPixel
            histPull.GetXaxis().SetLabelSize(self.histos[0].GetXaxis().GetLabelSize()*pad2XaxisFactor)
            histPull.GetXaxis().SetLabelOffset(self.histos[0].GetXaxis().GetLabelOffset()*pad2XaxisFactor)
            histPull.GetXaxis().SetTitleSize(self.histos[0].GetXaxis().GetTitleSize()*pad2XaxisFactor)
            histPull.GetXaxis().SetTitleOffset(self.histos[0].GetXaxis().GetTitleOffset()/pad2XaxisFactor*2.5)
            histPull.GetYaxis().SetLabelSize(self.histos[0].GetYaxis().GetLabelSize()*pad2XaxisFactor)
            histPull.GetYaxis().SetLabelOffset(self.histos[0].GetYaxis().GetLabelOffset()*pad2XaxisFactor)
            histPull.GetYaxis().SetTitleSize(self.histos[0].GetYaxis().GetTitleSize()*pad2XaxisFactor)
            histPull.GetYaxis().SetTitleOffset(self.histos[0].GetYaxis().GetTitleOffset()/pad2XaxisFactor)
            histPull.GetYaxis().CenterTitle()
            histPull.GetXaxis().SetTickLength(histPull.GetXaxis().GetTickLength()*pad2XaxisFactor)
            histPull.GetYaxis().SetNdivisions(306)
            histPull.GetYaxis().SetTitle("Ratio to " + titles[0])
            histPull.SetTitle('')
            if ihist == 1:
                histPull.METHOD_NAME("ep")
            else:
                histPull.METHOD_NAME("same ep")
            self.draw_ratioLegend.AddEntry(histPull, titles[ihist])
        # This is a little bit ugly though ...
        for i, h in enumerate(self.histos):
            h.GetXaxis().SetLabelSize(0)
        self.canvas.cd(1)
    self.canvas.Update()
    self.canvas.Print(self.name)