Commit 054a254d authored by Dennis Noll's avatar Dennis Noll
Browse files

[recipe] tth: fixes bug in muon sf (must use mu_corr)

parent 029f267f
......@@ -629,9 +629,9 @@ class Base(common.NeutrinoBase, common.Base):
# fmt: off
## tight tth id
mask = (abs(lep.pdgId) == 13) & lep.gen_matched & lep.tight_cand
nominal = ak.prod(e_corr["muon_Tallinn_tth_tight_EGamma_SF2D"](abs(lep.eta), lep.pt)[mask], axis=-1) # using pT
up = ak.prod(e_corr["muon_Tallinn_tth_tight_error_histo_eff_data_max"](abs(lep.eta), lep.pt)[mask], axis=-1) # using pT
down = ak.prod(e_corr["muon_Tallinn_tth_tight_error_histo_eff_data_min"](abs(lep.eta), lep.pt)[mask], axis=-1) # using pT
nominal = ak.prod(mu_corr["muon_Tallinn_tth_tight_EGamma_SF2D"](abs(lep.eta), lep.pt)[mask], axis=-1)
up = ak.prod(mu_corr["muon_Tallinn_tth_tight_error_histo_eff_data_max"](abs(lep.eta), lep.pt)[mask], axis=-1)
down = ak.prod(mu_corr["muon_Tallinn_tth_tight_error_histo_eff_data_min"](abs(lep.eta), lep.pt)[mask], axis=-1)
weights.add(
"muon_tth_tight",
nominal,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment