示例#1
0
def draw_atlas_label(preliminary, offset=0.0):
    ROOT.ATLAS_LABEL(0.2, 0.88)
    txt = ROOT.TLatex()
    txt.SetNDC()
    txt.DrawText(
        0.33 + offset,
        0.88,
        'Simulation {}'.format(
            'Preliminary' if preliminary else 'Internal'
        )
    )
示例#2
0
def atlas_label(x_coord, y_coord):
    ROOT.ATLAS_LABEL(x_coord, y_coord)