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
ROOT does not use u or l qualifiers for integer template parameters in na... #7586
Conversation
A new Pull Request was created by @wmtan for CMSSW_7_4_X. ROOT does not use u or l qualifiers for integer template prameters in na... It involves the following packages: FWCore/Utilities @cmsbuild, @Dr15Jones, @ktf, @nclopezo can you please review it and eventually sign? Thanks. |
Thank you, Bill. I tried it with https://github.com/slava77/cmssw/blob/a702fac38b8ed2fd2a5c6d1667fc3d24fe9906de/RecoMET/METProducers/src/METSignificanceProducer.cc |
+1 |
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_4_X IBs unless changes or unless it breaks tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @ktf, @smuzaffar |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes or unless it breaks tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @ktf, @smuzaffar |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @ktf, @smuzaffar |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @ktf, @smuzaffar |
+1 |
ROOT does not use u or l qualifiers for integer template parameters in na...
This is a bug fix to allow putting a ROOT SMatrix in an event, as requested by Slava Krutelyov.
ROOT does not use u or l qualifiers for the names of integer template parameters in class names. Because of this, a missing dictionary error resulted when attempting put an SMatrix into an event.
This pull request adds stripping off the "u" or "l" qualifiers in class names containing integer template parameters, thereby correcting the error.
This fix required the use of std::regex_replace(). Since we need regex_replace() anyway, two other existing CMSSW functions currently used to normalize class names were removed, as their usage is here being replaced by calls to std::regex_replace(). The usage of these functions was local to the one modified source file.