-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Fix haddnano.py to handle zero-events nanoAOD files properly #43533
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43533/38115
|
A new Pull Request was created by @namapane (Nicola Amapane) for master. It involves the following packages:
@cmsbuild, @simonepigazzini, @vlimant can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@vlimant, pls note that this is a fix in PhysicsTools/NanoAOD. The fixed file has been added 3 years ago and there has been only a minor update since [blame]. I would not call this "frequent updates"... |
probably belongs in NANOAODTools then |
I am unsure where it belongs. It was put her because it is used to merge nanoAODs. |
enable nano |
please test |
Indeed it's nothing specific to NanoAODTools, it is intended to properly merge nanoAOD files, regardless of the way they are produced or analyzed. So I think it really belongs to NanoAOD. |
-1 Failed Tests: RelVals-INPUT RelVals-INPUTThe relvals timed out after 4 hours. Comparison SummarySummary:
NANO Comparison SummarySummary:
Nano size comparison Summary:
|
Error is a timeout that is unrelated to the PR. Maybe the test could be retriggered? |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9aff76/36857/summary.html Comparison SummarySummary:
NANO Comparison SummarySummary:
Nano size comparison Summary:
|
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @rappoccio, @sextonkennedy, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Fix a mis-handled case in haddnano.py, where nanoAOD files with no events were wrongly recognized as files with missing branches. As a result, the hadded file had branches screwed up.
PR validation:
Tested using a file with no events, (/store/data/Run2022F/MuonEG/NANOAOD/22Sep2023-v1/50000/4d76213a-ef14-411a-9558-559a6df3f978.root) in all possible conditions: