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 calls to Ref::product from Fireworks #7065

Merged
merged 1 commit into from Jan 8, 2015

Conversation

wddgit
Copy link
Contributor

@wddgit wddgit commented Jan 7, 2015

Remove the calls to Ref::product from Fireworks.
This is motivated by changes in the Ref needed
to support the miniAOD format. The removed calls
are replaced by adding a function to the EventBase
interface that allows getting a product using the
ProductID. After the change we explicitly get the
ProductID from the Ref and then use the new function
in EventBase to get the container product instead
of getting the container product directly from the
Ref.

I extended the unit tests for the Core part of this,
but have not tested the Fireworks part of this beyond
checking that it compiles (expecting the Fireworks
experts to test that, Matevz agreed to do that).

Remove the calls to Ref::product from Fireworks.
This is motivated by changes in the Ref needed
to support the miniAOD format. The removed calls
are replaced by adding a function to the EventBase
interface that allows getting a product using the
ProductID. After the change we explicitly get the
ProductID from the Ref and then use the new function
in EventBase to get the container product instead
of getting the container product directly from the
Ref.

I extended the unit tests for the Core part of this,
but have not tested the Fireworks part of this beyond
checking that it compiles (expecting the Fireworks
experts to test that, Matevz agreed to do that).
@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 7, 2015

A new Pull Request was created by @wddgit (W. David Dagenhart) for CMSSW_7_4_X.

Remove calls to Ref::product from Fireworks

It involves the following packages:

DataFormats/FWLite
FWCore/Common
FWCore/Framework
Fireworks/Tracks

@cmsbuild, @alja, @Dr15Jones, @ktf, @nclopezo can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @alja, @wmtan this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.

@Dr15Jones
Copy link
Contributor

+1

@Dr15Jones
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 7, 2015

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 7, 2015

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.

@alja
Copy link
Contributor

alja commented Jan 7, 2015

Thanks! I will test the change.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 7, 2015

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 8, 2015

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 will be automatically merged.

cmsbuild added a commit that referenced this pull request Jan 8, 2015
Remove calls to Ref::product from Fireworks
@cmsbuild cmsbuild merged commit e9bd76e into cms-sw:CMSSW_7_4_X Jan 8, 2015
@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 8, 2015

@wddgit wddgit deleted the removeUseOfRefProductFunction branch May 19, 2015 19:43
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