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

Add UL case for JMS&JMR SD corr in fatJetUncertainties #286

Merged
merged 2 commits into from
Nov 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions python/postprocessing/modules/jme/fatJetUncertainties.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ def analyze(self, event):
jet_msdcorr_raw)

# Also evaluated JMS&JMR SD corr in tau21DDT region: https://twiki.cern.ch/twiki/bin/viewauth/CMS/JetWtagging#tau21DDT_0_43
# UL recommendations not yet available, use same factors in both cases
if self.era in ["2016"]:
jmstau21DDTNomVal = 1.014
jmstau21DDTDownVal = 1.007
Expand All @@ -642,6 +643,21 @@ def analyze(self, event):
jmstau21DDTDownVal = 0.990
jmstau21DDTUpVal = 1.010
self.jetSmearer.jmr_vals = [1.124, 1.208, 1.040]
elif self.era in ["UL2016", "UL2016_preVFP"]:
jmstau21DDTNomVal = 1.014
jmstau21DDTDownVal = 1.007
jmstau21DDTUpVal = 1.021
self.jetSmearer.jmr_vals = [1.086, 1.176, 0.996]
elif self.era in ["UL2017"]:
jmstau21DDTNomVal = 0.983
jmstau21DDTDownVal = 0.976
jmstau21DDTUpVal = 0.99
self.jetSmearer.jmr_vals = [1.080, 1.161, 0.999]
elif self.era in ["UL2018"]:
jmstau21DDTNomVal = 1.000 # tau21DDT < 0.43 WP
jmstau21DDTDownVal = 0.990
jmstau21DDTUpVal = 1.010
self.jetSmearer.jmr_vals = [1.124, 1.208, 1.040]

(jet_msdcorr_tau21DDT_jmrNomVal,
jet_msdcorr_tau21DDT_jmrUpVal,
Expand Down