Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jmduarte committed May 21, 2024
1 parent 081cbfe commit 40bcd04
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/HH4b/combine/prepare_snapshots.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

run_blinded_hh4b.sh --workspace --bfit --passbin=0
extract_fit_result.py higgsCombineSnapshot.MultiDimFit.mH125.root "w:MultiDimFit" "inject_combined.json" --keep '*'
if [ -f "passvbf.txt" ]; then
Expand Down
4 changes: 3 additions & 1 deletion src/HH4b/combine/run_inference_upper_limits_hh4b.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@ if [ -f "passvbf.txt" ]; then
datacards=$card_dir/passbin3_nomasks.root:$card_dir/passbin2_nomasks.root:$card_dir/passbin1_nomasks.root:$card_dir/passvbf_nomasks.root:$card_dir/combined_nomasks.root
datacard_names="Category 3,Category 2,Category 1,VBF Category,Combined"
xmin="0.03"
parameters="C2V=0"
else
datacards=$card_dir/passbin3_nomasks.root:$card_dir/passbin2_nomasks.root:$card_dir/passbin1_nomasks.root:$card_dir/combined_nomasks.root
datacard_names="Category 3,Category 2,Category 1,Combined"
xmin="0.75"
parameters="C2V=1"
fi
model=hh_model.model_default@noNNLOscaling@noklDependentUnc
campaign="61 fb$^{-1}$, 2022-2023 (13.6 TeV)"

law run PlotUpperLimitsAtPoint \
--version dev \
--multi-datacards "$datacards" \
--parameter-values "$masks" \
--parameter-values "$parameters" \
--h-lines 1 \
--x-log True \
--x-min "$xmin" \
Expand Down
2 changes: 1 addition & 1 deletion src/HH4b/postprocessing/datacardHelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Syst:
# in case of uncorrelated unc., which years to split into
uncorr_years: list[str] = field(default_factory=lambda: all_years)
pass_only: bool = False # is it applied only in the pass regions
convert_shape_to_lnN: bool = False # take shape uncertainty and conert to lnN
convert_shape_to_lnN: bool = False # take shape uncertainty and convert to lnN

def __post_init__(self):
if isinstance(self.value, dict) and not (self.diff_regions or self.diff_samples):
Expand Down

0 comments on commit 40bcd04

Please sign in to comment.