Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added histograms for ctag fixed WP SF #100

Merged
merged 12 commits into from
Dec 16, 2024
Prev Previous commit
fixing formatting
  • Loading branch information
Agostino De Iorio committed Dec 16, 2024
commit 00262aaedeba3b2eaf50c1e5db298b66e49eeba0
5 changes: 4 additions & 1 deletion src/BTVNanoCommissioning/workflows/ctag_Wctt_valid_sf.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,10 @@ def process_shift(self, events, shift_name):
flatten(ssmu[histname.replace("soft_l_", "")]),
weight=weight,
)
elif "mujet_" in histname and histname.replace("mujet_", "") in smuon_jet.fields:
elif (
"mujet_" in histname
and histname.replace("mujet_", "") in smuon_jet.fields
):
h.fill(
syst,
smflav,
Expand Down
Loading