Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
farakiko committed Oct 14, 2024
1 parent ababe9a commit d37869f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions combine/make_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ def get_templates(years, channels, samples, samples_dir, regions_sel, model_path
)

if add_fake:

fake_SF = {
"ele": 0.75,
"mu": 1.0,
Expand Down Expand Up @@ -511,15 +512,15 @@ def get_templates(years, channels, samples, samples_dir, regions_sel, model_path
Systematic="nominal",
Region=region,
mass_observable=df["rec_higgs_m"],
weight=df["event_weight"],
weight=df["nominal"],
)
else:
hists.fill(
Sample="Fake",
Systematic=variation,
Region=region,
mass_observable=df["rec_higgs_m"],
weight=df["event_weight"],
weight=df["nominal"],
)

logging.info(hists)
Expand Down
Binary file removed combine/templates/v8/hists_templates_Run2.pkl
Binary file not shown.

0 comments on commit d37869f

Please sign in to comment.