Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/HH4b/combine/run_blinded_hh4b.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ fi
# freeze qcd params in blinded bins
setparamsblinded=""
freezeparamsblinded=""
for bin in {5..7}
for bin in {2..3}
do
setparamsblinded+="${CMS_PARAMS_LABEL}_tf_dataResidual_Bin${bin}=0,"
freezeparamsblinded+="${CMS_PARAMS_LABEL}_tf_dataResidual_Bin${bin},"
Expand Down
5 changes: 2 additions & 3 deletions src/HH4b/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,9 +817,8 @@ def get_variances(bg_hist):

# if math.isinf(yhist[5]):
# blind!
yhist[5] = 0
yhist[6] = 0
yhist[7] = 0
yhist[2] = 0
yhist[3] = 0

hep.histplot(
yhist,
Expand Down
8 changes: 4 additions & 4 deletions src/HH4b/postprocessing/PlotFits.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,17 @@ def plot_fits(args):
fit_shape_var = ShapeVar(
"H2Msd",
r"Jet 2 $m_\mathrm{SD}$ (GeV)",
[16, 60, 220],
[8, 60, 220],
reg=False,
blind_window=[110, 140],
blind_window=[100, 140],
)
else:
fit_shape_var = ShapeVar(
"H2PNetMass",
r"Jet 2 $m_\mathrm{reg}$ (GeV)",
[16, 60, 220],
[8, 60, 220],
reg=True,
blind_window=[110, 140],
blind_window=[100, 140],
)

shape_vars = [fit_shape_var]
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 @@ -1383,7 +1383,7 @@ def postprocess_run3(args):
# different for glopart-v2
elif args.txbb == "glopart-v2":
fom_window_by_mass["H2PNetMass"] = [110, 155] # use wider range for FoM scan
blind_window_by_mass["H2PNetMass"] = [110, 140] # only blind 3 bins
blind_window_by_mass["H2PNetMass"] = [100, 140] # only blind 2 bins
# different for pnet-v12
elif args.txbb == "pnet-v12":
fom_window_by_mass["H2PNetMass"] = [120, 150]
Expand Down Expand Up @@ -1700,7 +1700,7 @@ def postprocess_run3(args):
parser.add_argument(
"--mass-bins",
type=int,
default=10,
default=20,
choices=[10, 15, 20],
help="width of mass bins",
)
Expand Down
Loading