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

Bug fix: Issue with nVertices in L2NNTagTauProducer #36318

Merged
merged 1 commit into from Dec 1, 2021

Conversation

azotz
Copy link
Contributor

@azotz azotz commented Dec 1, 2021

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2021

@azotz, CMSSW_12_2_X branch is closed for direct updates. cms-bot is going to move this PR to master branch.
In future, please use cmssw master branch to submit your changes.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2021

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36318/27056

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2021

A new Pull Request was created by @azotz for master.

It involves the following packages:

  • RecoTauTag/HLTProducers (hlt)

@cmsbuild, @missirol, @Martin-Grunewald can you please review it and eventually sign? Thanks.
@silviodonato, @mbluj, @azotz this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@missirol
Copy link
Contributor

missirol commented Dec 1, 2021

type bugfix

@missirol
Copy link
Contributor

missirol commented Dec 1, 2021

@azotz

Could you please give a bit more info on the problem? Where exactly was the seg-fault occurring, and how was this spotted? Thanks.

@missirol
Copy link
Contributor

missirol commented Dec 1, 2021

please test

@kandrosov
Copy link
Contributor

@azotz

Could you please give a bit more info on the problem? Where exactly was the seg-fault occurring, and how was this spotted? Thanks.

The seg-fault was occurring in this line

auto const minFOM_fromFrac = pTSquaredSum[sortIdxs.front()] * fractionSumPt2_;
When 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.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-31aeb3/20907/summary.html
COMMIT: 61a8f90
CMSSW: CMSSW_12_2_X_2021-12-01-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/36318/20907/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 41
  • DQMHistoTests: Total histograms compared: 3041955
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3041933
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 40 files compared)
  • Checked 175 log files, 37 edm output root files, 41 DQM output files
  • TriggerResults: no differences found

@missirol
Copy link
Contributor

missirol commented Dec 1, 2021

+hlt

  • simple bugfix to a plugin designed for HLT which is not currently used in any production workflow, nor any unit test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2021

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)

@perrotta
Copy link
Contributor

perrotta commented Dec 1, 2021

+1

@cmsbuild cmsbuild merged commit b305e3a into cms-sw:master Dec 1, 2021
@mbluj mbluj deleted the CMSSW_12_2_X_tau-pog_fixL2NN branch October 10, 2023 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants