-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Backport of #31831 (Add maximum of pileup pT hats in JME custom NanoAOD) to 10_6_X #31872
Backport of #31831 (Add maximum of pileup pT hats in JME custom NanoAOD) to 10_6_X #31872
Conversation
…s option and configured to be false as default in globals_cff.py. Switched on in custom_jme_cff.py
A new Pull Request was created by @nurfikri89 (Nurfikri Norjoharuddeen) for CMSSW_10_6_X. It involves the following packages: PhysicsTools/NanoAOD @cmsbuild, @santocch, @mariadalfonso, @gouskos, @fgolf can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins.
|
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+xpog (I noted that code-format tests are not triggered for backports and now looks like that the alignment of lines is not proper) |
code-checks |
The code-checks are being triggered in jenkins. |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31872/19393
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
@nurfikri89 Can you have a check with above code-checks output? thanks! |
Hi @qliphy . I have applied the code-format patch. |
please test |
The tests are being triggered in jenkins.
|
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@cms-sw/xpog-l2 Would you please review and sign again? |
+xpog |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_10_6_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_11_2_X is complete. This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
Backport from #31831
PR description:
This PR adds the maximum of the pileup pT hats into the JME custom NanoAOD. This is done by modifying
NPUTablesProducer.cc
to find the maximum value in thevector<float>
returned bygetPU_pT_hats()
and then store in the PileUp table.A flag is also added and set to false in
globals_cff.py
so that this variable will not be stored in the main NanoAODs. The flag is set to true incustom_jme_cff.py
so that it will be stored in the JME custom NanoAOD format.The variable is needed by JERC analyses, which will use the JME Custom NanoAODs.
As mentioned in a comment in #31831, by running over 5K events on a UL17 TTJets sample, the size per event is 9.478 kb/event which is an increase of 0.04% from 9.474 kb/event.
if this PR is a backport please specify the original PR:
Original PR is #31831