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
Maintainability cleanup for EventSelector #11143
Conversation
A new Pull Request was created by @wmtan for CMSSW_7_6_X. Maintainability cleanup for EventSelector It involves the following packages: FWCore/Framework @cmsbuild, @smuzaffar, @Dr15Jones can you please review it and eventually sign? Thanks. |
please test |
The tests are being triggered in jenkins. |
HLTGlobalStatus const& tr, | ||
bool | ||
EventSelector::acceptOneBit(Bits const& b, | ||
HLTGlobalStatus const& tr, | ||
hlt::HLTState const& s) const | ||
{ | ||
bool lookForException = (s == hlt::Exception); | ||
Bits::const_iterator i(b.begin()); | ||
Bits::const_iterator e(b.end()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why were these variables kept?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chris,
Just an oversight. I will remove them when you let me know that you have no other suggested changes, or in a half hour or so if I don't hear from you.
Signed-off-by: wmtan <wmtan@fnal.gov>
f2a0a67
to
9ea4f8f
Compare
Pull request #11143 was updated. @cmsbuild, @smuzaffar, @Dr15Jones can you please check and sign again. |
please test |
+1 |
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 or unless it breaks tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs or unless it breaks tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
-1 1 warning generated. >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_7_6_X_2015-09-04-1700/src/FWCore/Framework/src/EventSetupRecord.cc >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_7_6_X_2015-09-04-1700/src/FWCore/Framework/src/EventSetupRecordIntervalFinder.cc >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_7_6_X_2015-09-04-1700/src/FWCore/Framework/src/EventSetupRecordKey.cc >> Compiling /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_7_6_X_2015-09-04-1700/src/FWCore/Framework/src/EventSetupRecordProvider.cc /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_7_6_X_2015-09-04-1700/src/FWCore/Framework/src/EventSelector.cc:398:26: error: unused variable 'i' [-Werror,-Wunused-variable] Bits::const_iterator i(b.begin()); ^ /tmp/cmsbuild/workspace/ib-any-integration/CMSSW_7_6_X_2015-09-04-1700/src/FWCore/Framework/src/EventSelector.cc:399:26: error: unused variable 'e' [-Werror,-Wunused-variable] Bits::const_iterator e(b.end()); ^ you can see the results of the tests here: |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs (but tests are reportedly failing). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs (but tests are reportedly failing). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
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 requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
+1 |
Maintainability cleanup for EventSelector
This PR is a cleanup of the EventSelector class for maintainability and clarity. The changes include: