Пример #1
0
def comparisonPlots(hists,
                    titles,
                    isLog=False,
                    pname='sync.pdf',
                    isRatio=False,
                    isLegend=True):

    display = DisplayManager(pname, isLog, isRatio, 0.6, 0.7)
    display.draw_legend = isLegend

    display.Draw(hists, titles)
Пример #2
0
def comparisonPlots(hists,
                    titles,
                    isLog=False,
                    pname='sync.pdf',
                    isRatio=False,
                    isLegend=False,
                    doption='ep',
                    prefix=None):

    display = DisplayManager(pname, isLog, isRatio, 0.2, 0.68, doption)
    display.draw_legend = isLegend
    #    display.isEff = isEff

    display.Draw(hists, titles, prefix)
Пример #3
0
def comparisonPlots(hists,
                    titles,
                    isLog=False,
                    LogRange=0,
                    pname='sync.pdf',
                    isRatio=True,
                    isLegend=True,
                    isCutOpt=False,
                    is2D=False):

    display = DisplayManager(pname, isLog, isRatio, LogRange, 0.2, 0.7,
                             isCutOpt, is2D)
    display.draw_legend = isLegend

    display.Draw(hists, titles, isCutOpt, is2D)