def plotComparisonsSupportNote( ic_numerator
                              , ic_denominator
                              , ic_other
                              , out_file_name
                              , do_ratio=True
                              , atlas_label='Internal'
                              ):
    # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    # root stuff
    ROOT.TH1.SetDefaultSumw2()
    ROOT.gROOT.SetBatch()

    # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    out_file = ROOT.TFile(out_file_name, 'RECREATE')

    pc.makeFinalPlot(dir_name='BMINUSL_CR_TOP_MBL_200',
                     hist='flavor_all__mbl_0',
                     ic_numerator=ic_numerator,
                     ic_denominator=ic_denominator,
                     ic_other=ic_other,
                     out_file=out_file,
                     y_max_lin=60,
                     y_max_log=2e3,
                     y_min_log=0.01,
                     do_ratio=True,
                     atlas_label=atlas_label)

    # pc.makeFinalPlot(dir_name='BMINUSL_SR_HT_1100_MBL_400_MINUS_HT',
    #                  hist='flavor_all__ht_signal',
    #                  ic_numerator=ic_numerator_blind,
    #                  ic_denominator=ic_denominator,
    #                  ic_other=ic_other,
    #                  out_file=out_file,
    #                  y_max_lin=600,
    #                  y_max_log=1000000,
    #                  y_min_log=0.01,
    #                  do_ratio=do_ratio,
    #                  atlas_label='Simulation %s' % atlas_label)

    # pc.makeFinalPlot(dir_name='BMINUSL_SR_HT_1100_MBL_400_MINUS_MBL_ASYM',
    #                  hist='flavor_all__mbl_asym',
    #                  ic_numerator=ic_numerator_blind,
    #                  ic_denominator=ic_denominator,
    #                  ic_other=ic_other,
    #                  out_file=out_file,
    #                  y_max_lin=100,
    #                  y_max_log=8000,
    #                  do_ratio=do_ratio,
    #                  atlas_label='Simulation %s' % atlas_label)

    out_file.Close()
def plotComparisonsConfNote( ic_numerator
                           , ic_denominator
                           , ic_other
                           , out_file_name
                           , do_ratio=True
                           , atlas_label='Preliminary'
                           ):
    # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    # root stuff
    ROOT.TH1.SetDefaultSumw2()
    ROOT.gROOT.SetBatch()

    # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    out_file = ROOT.TFile(out_file_name, 'RECREATE')

    pc.makeFinalPlot(dir_name='BMINUSL_SR_HT_1100_MINUS_MBL',
                     hist='flavor_all__mbl_0',
                     ic_numerator=ic_numerator,
                     ic_denominator=ic_denominator,
                     ic_other=ic_other,
                     out_file=out_file,
                     y_max_lin=60,
                     y_max_log=3000,
                     y_min_log=0.01,
                     atlas_label=atlas_label)

    pc.makeFinalPlot(dir_name='BMINUSL_SR_HT_1100_MBL_400_MINUS_HT',
                     hist='flavor_all__ht_signal',
                     ic_numerator=ic_numerator,
                     ic_denominator=ic_denominator,
                     ic_other=ic_other,
                     out_file=out_file,
                     y_max_lin=600,
                     y_max_log=1000000,
                     y_min_log=0.01,
                     do_ratio=do_ratio,
                     atlas_label=atlas_label)

    pc.makeFinalPlot(dir_name='BMINUSL_SR_HT_1100_MBL_400_MINUS_MBL_ASYM',
                     hist='flavor_all__mbl_asym',
                     ic_numerator=ic_numerator,
                     ic_denominator=ic_denominator,
                     ic_other=ic_other,
                     out_file=out_file,
                     y_max_lin=100,
                     y_max_log=8000,
                     do_ratio=do_ratio,
                     atlas_label=atlas_label)

    out_file.Close()