Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmduarte committed Feb 17, 2025
1 parent b0774ba commit 8228433
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/HH4b/hh_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,12 +428,12 @@
ttbarsfs_decorr_txbb_bins["glopart-v2"] = [0, 0.31, 0.7, 0.8, 0.87, 0.92, 0.96, 1]
ttbarsfs_decorr_ggfbdt_bins = {}
ttbarsfs_decorr_ggfbdt_bins["24May31_lr_0p02_md_8_AK4Away"] = [0.03, 0.3, 0.5, 0.7, 0.93, 1.0]
ttbarsfs_decorr_ggfbdt_bins["24Nov7_v5_glopartv2_rawmass"] = [0.03, 0.6375, 0.975, 1.0]
ttbarsfs_decorr_ggfbdt_bins["24Nov7_v5_glopartv2_rawmass"] = [0.03, 0.6375, 0.9075, 1.0]
ttbarsfs_decorr_ggfbdt_bins["25Feb5_v13_glopartv2_rawmass"] = [0.03, 0.755, 0.94, 1.0]
ttbarsfs_decorr_vbfbdt_bins = {}
ttbarsfs_decorr_vbfbdt_bins["24May31_lr_0p02_md_8_AK4Away"] = []
ttbarsfs_decorr_vbfbdt_bins["24Nov7_v5_glopartv2_rawmass"] = []
ttbarsfs_decorr_vbfbdt_bins["25Feb5_v13_glopartv2_rawmass"] = [0.03, 0.6375, 0.9667, 1.0]
ttbarsfs_decorr_vbfbdt_bins["24Nov7_v5_glopartv2_rawmass"] = [0.975, 1]
ttbarsfs_decorr_vbfbdt_bins["25Feb5_v13_glopartv2_rawmass"] = [0.9667, 1.0]


txbbsfs_decorr_txbb_wps = {}
Expand Down
4 changes: 2 additions & 2 deletions src/HH4b/postprocessing/PostProcess.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,10 +698,10 @@ def load_process_run3_samples(args, year, bdt_training_keys, control_plots, plot
vbfbdtsf_up[~mask_vbf] = np.ones(np.sum(~mask_vbf))
vbfbdtsf_dn[~mask_vbf] = np.ones(np.sum(~mask_vbf))
bdt_events[
f"weight_ttbarSF_VBF_BDT_bin_{ttbarsfs_decorr_vbfbdt_bins[args.bdt_model][i]}_{ttbarsfs_decorr_ggfbdt_bins[args.bdt_model][i+1]}Up"
f"weight_ttbarSF_VBF_BDT_bin_{ttbarsfs_decorr_vbfbdt_bins[args.bdt_model][i]}_{ttbarsfs_decorr_vbfbdt_bins[args.bdt_model][i+1]}Up"
] = (bdt_events["weight"] * vbfbdtsf_up / vbfbdtsf)
bdt_events[
f"weight_ttbarSF_VBF_BDT_bin_{ttbarsfs_decorr_vbfbdt_bins[args.bdt_model][i]}_{ttbarsfs_decorr_ggfbdt_bins[args.bdt_model][i+1]}Down"
f"weight_ttbarSF_VBF_BDT_bin_{ttbarsfs_decorr_vbfbdt_bins[args.bdt_model][i]}_{ttbarsfs_decorr_vbfbdt_bins[args.bdt_model][i+1]}Down"
] = (bdt_events["weight"] * vbfbdtsf_dn / vbfbdtsf)

if key != "data":
Expand Down

0 comments on commit 8228433

Please sign in to comment.