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 out of bound array in photon uncertainty calculation #9381
Fix out of bound array in photon uncertainty calculation #9381
Conversation
@Degano please check if the bot is still awake. This PR wasn't announced and labelled yet. |
A new Pull Request was created by @rafaellopesdesa (Rafael Lopes de Sa) for CMSSW_7_5_X. Fix out of bound array in photon uncertainty calculation It involves the following packages: RecoEgamma/EgammaPhotonAlgos @cmsbuild, @cvuosalo, @slava77 can you please review it and eventually sign? Thanks. |
-1 you can see the results of the tests here: |
@cmsbuild please test |
The tests are being triggered in jenkins. |
+1 Protect against incorrect array reference used to calculate photon uncertainty. The code changes are satisfactory, and Jenkins tests against baseline CMSSW_7_5_X_2015-06-22-2300 show no significant differences, except for workflow 50202.0_TTbar_13+TTbar_13+DIGIUP15_PU50 where the fix appears to correct an outlier photon uncertainty value: |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs once checked with relvals in the development release cycle of CMSSW (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
+1 |
…rtaintyPhoton Fix out of bound array in photon uncertainty calculation
@rafaellopesdesa @lgray |
Old photon uncertainty calculation was trying to access array index -1.
Added protection against that.
This modification concerns only an outdated energy correction that should not be used anymore. Thus, this should not affect any current usage of RecoEgamma.