Ejemplo n.º 1
0
                       scale_by_bin_width=True)

    analysis.plot_hist(['wplusmunu', 'wplustaunu'],
                       'mt_born',
                       weight='truth_weight',
                       title='truth - un-normalised',
                       bins=(30, 50, 5000),
                       logbins=True,
                       logx=True,
                       normalise=False,
                       lepton='muon',
                       yerr='rsumw2',
                       scale_by_bin_width=True)

    # cut
    analysis.apply_cuts()

    # =========================
    # ====== RECO - CUTS ======
    # =========================
    # normalised
    analysis.plot_hist(['wminmunu', 'wmintaunu'],
                       'mu_mt_reco',
                       weight='reco_weight',
                       title='reco - 139fb$^{-1}$',
                       bins=(30, 50, 5000),
                       logbins=True,
                       logx=True,
                       lepton='muon',
                       normalise='lumi',
                       yerr='rsumw2',