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

Remove unneeded selector #13735

Merged
merged 1 commit into from Mar 16, 2016
Merged

Conversation

wmtan
Copy link
Contributor

@wmtan wmtan commented Mar 15, 2016

Minor internal framework improvement.
The current code uses a default event selector when there is no event selection, i.e. all events are selected. However, output modules were recently modified to enforce the consumes interface.
This required a new NamedEventSelector constructor to enforce the consumes interface. However, the default event selector does not consume anything, so the prior constructor was needed just for it.
Chris Jones commented that this old constructor should be removed if no longer needed.
This PR removes the default selector, and replaces it with a simple bool wantAllEvents_ flag, thereby simplifying the code.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @wmtan for CMSSW_8_1_X.

It involves the following packages:

FWCore/Framework

@cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @wddgit 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

@wmtan
Copy link
Contributor Author

wmtan commented Mar 15, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

Comparison not run due to Build errors (RelVals and Igprof tests were also skipped)

@cmsbuild
Copy link
Contributor

-1
Tested at: 41b4990
I found an error when building:

>> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-03-15-1100/src/FWCore/MessageService/test/UnitTestClient_C.cc 
>> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-03-15-1100/src/FWCore/MessageService/test/ProblemTestClient_t1.cc 
>> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-03-15-1100/src/FWCore/MessageService/test/UnitTestClient_Hd.cc 
>> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-03-15-1100/src/FWCore/MessageService/test/UnitTestClient_W.cc 
In file included from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-03-15-1100/src/FWCore/MessageService/test/UnitTestClient_T.cc:1:0:
/build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-03-15-1100/src/FWCore/MessageService/test/UnitTestClient_T.h:66:29: error: 'ErrorSummaryEntry' is not a member of 'edm'
   void printLES(std::vectoredm::ErrorSummaryEntry const & v);
                             ^
/build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-03-15-1100/src/FWCore/MessageService/test/UnitTestClient_T.h:66:29: error: 'ErrorSummaryEntry' is not a member of 'edm'
/build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-03-15-1100/src/FWCore/MessageService/test/UnitTestClient_T.h:66:51: error: template argument 1 is invalid
   void printLES(std::vectoredm::ErrorSummaryEntry const & v);


you can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-13735/11915/summary.html

@cmsbuild
Copy link
Contributor

-1

Tested at: 41b4990
I found errors in the following unit tests:

---> test runtestTqafTopEventSelection had ERRORS

you can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-13735/11919/summary.html

@cmsbuild
Copy link
Contributor

@wmtan
Copy link
Contributor Author

wmtan commented Mar 16, 2016

@cmsbuild @Dr15Jones @davidlange6 The unit test failure is in the base IB, and has nothing to do with this PR.

@wmtan
Copy link
Contributor Author

wmtan commented Mar 16, 2016

@Dr15Jones When you have the time, can you either make suggestions for changes, or sign it.

@Dr15Jones
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

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

davidlange6 added a commit that referenced this pull request Mar 16, 2016
@davidlange6 davidlange6 merged commit d2dfe39 into cms-sw:CMSSW_8_1_X Mar 16, 2016
@wmtan wmtan deleted the RemoveUnneededSelectors branch March 16, 2016 22:17
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

4 participants