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 #9821
Fix out of bound array in photon uncertainty calculation #9821
Conversation
A new Pull Request was created by @cmsbuild for CMSSW_7_6_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. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs (tests are also fine). This pull request will be automatically merged. |
…rtaintyPhoton Fix out of bound array in photon uncertainty calculation
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.
Automatically ported from CMSSW_7_5_X #9381 (original by @rafaellopesdesa).