Skip to content

Commit

Permalink
bug fix for NuisanceParameter calculations with specified signal
Browse files Browse the repository at this point in the history
  • Loading branch information
andresnava1000 committed Mar 11, 2024
1 parent cb66a50 commit 18f3be3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/HHbbVV/postprocessing/CreateDatacard.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@
if not syst.samples_corr:
# separate nuisance param for each affected sample (TODO: propagate below)
for sample in syst.samples:
if sample not in mc_samples:
continue
shape_systs_dict[f"{skey}_{sample}"] = rl.NuisanceParameter(
f"{syst.name}_{mc_samples[sample]}", "shape"
)
Expand Down

0 comments on commit 18f3be3

Please sign in to comment.