-
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
Bug fix: Issue with nVertices in L2NNTagTauProducer #36318
Bug fix: Issue with nVertices in L2NNTagTauProducer #36318
Conversation
code checks
@azotz, CMSSW_12_2_X branch is closed for direct updates. cms-bot is going to move this PR to master branch. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36318/27056
|
A new Pull Request was created by @azotz for master. It involves the following packages:
@cmsbuild, @missirol, @Martin-Grunewald can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
type bugfix |
Could you please give a bit more info on the problem? Where exactly was the seg-fault occurring, and how was this spotted? Thanks. |
please test |
The seg-fault was occurring in this line
patavtx_soa.nvFinal==0 , sortIdxs is empty and sortIdxs.front() is undefined.We only observe nvFinal==0 when running on data (for rates estimation), for MC nvFinal is always greater than 0. That is why we didn't spot this error during the initial deployment.
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-31aeb3/20907/summary.html Comparison SummarySummary:
|
+hlt
|
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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This pull request fixes a segmentation violation issue in L2NNTagTauProducer, which was occurring when nVertices is 0.
PR validation:
Code checks have been performed.
if this PR is a backport please specify the original PR and why you need to backport that PR:
n/a