Navigation Menu

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

add a nan protection to avoid crash in fastjet call from pvsorter #14846

Merged
merged 2 commits into from Jun 24, 2016

Conversation

arizzi
Copy link
Contributor

@arizzi arizzi commented Jun 11, 2016

this should address
https://hypernews.cern.ch/HyperNews/CMS/get/recoDevelopment/1451/2/1/1/1.html
by adding a protection on "nan" being passed to fastjet.

the nan seems to be coming from ptError and should be further investigated

@cmsbuild cmsbuild added this to the Next CMSSW_8_0_X milestone Jun 11, 2016
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @arizzi for CMSSW_8_0_X.

It involves the following packages:

CommonTools/RecoAlgos

@cmsbuild, @cvuosalo, @slava77, @davidlange6 can you please review it and eventually sign? Thanks.
@rappoccio, @jdolen, @makortel, @abbiendi, @jhgoh, @ahinzmann this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@slava77
Copy link
Contributor

slava77 commented Jun 11, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 11, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/13459/console

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@slava77
Copy link
Contributor

slava77 commented Jun 13, 2016

@arizzi I'm still expecting 81X PR
Please clarify when or if.

if(c->pt()!=0) {
scale=(c->pt()-c->bestTrack()->ptError())/c->pt();
}
if(isnan(scale)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The static analyzer warns: "std::isnan does not work when fast-math is used. Please use edm::isNotFinite from 'FWCore/Utilities/interface/isNotFinite.h'".
Please fix this line.

@cvuosalo
Copy link
Contributor

@arizzi: When might this PR get updated?

@cvuosalo
Copy link
Contributor

@arizzi: When will the 81X version of this PR be submitted?

@cmsbuild
Copy link
Contributor

Pull request #14846 was updated. @cmsbuild, @cvuosalo, @slava77, @davidlange6 can you please check and sign again.

@arizzi
Copy link
Contributor Author

arizzi commented Jun 22, 2016

81X PR made (just cherry picking the two commits, no other test performed)

@slava77
Copy link
Contributor

slava77 commented Jun 22, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 22, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/13620/console

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@cvuosalo
Copy link
Contributor

+1

For #14846 365c976

Bug fix to prevent crash due to a NAN in FastJet call from PV sorter. There should be no change in monitored quantities.

#14945 is the 81X version of this PR.

The code fix is satisfactory, and Jenkins tests against baseline CMSSW_8_0_X_2016-06-20-1100 show no significant differences, as expected.

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit d1e666c into cms-sw:CMSSW_8_0_X Jun 24, 2016
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

5 participants