-
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
Protect TauSpinnerTable producer against crash with samples with HTT mixed with other processes #46679
Conversation
…auTau being only a fraction of differnt event types
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46679/42606 |
A new Pull Request was created by @mbluj for master. It involves the following packages:
@cmsbuild, @ftorrresd, @hqucms can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
enable nano |
please test |
+1 Size: This PR adds an extra 12KB to repository Comparison SummaryThere are some workflows for which there are errors in the baseline: Summary:
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. @antoniovilela, @sextonkennedy, @rappoccio, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This PR fixes
TauSpinnerTableProducer
(introduced in #45828) against an issue caused by samples with events containing the H->tau,tau (HTT) decay mixed with events without this decay. Examples of such samples were discussed in https://cms-talk.web.cern.ch/t/higgs-in-wz-amcatnlofxfx-samples/55138.The nanoAOD production crashes in such samples as the
TauSpinnerTableProducer
produces a non-empty table for events with the HTT decay while empty one for events without it which leads to an inconsistent output across different events which then confuses the output module.The fix consists of producing tables with default weights for events without HTT ensuring consistency, but for price of producing not needed numbers. To be noted that similar strategy is employed in case of HTXS tables. Overhead due to this should be limited as tables with constant values are efficiently compressed.
PR validation:
Validated by processing samples with events containing the HTT decay, without the HTT decay and mixed with and without.
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
No backport expected.