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

prevent PAT photon iso variables from overwriting Reco ones #8493

Merged

Conversation

gzevi
Copy link
Contributor

@gzevi gzevi commented Mar 24, 2015

This is a different solution, suggested by @monttj and @lgray in #7761, to the issue of pat::Photon variables having the same name as reco::Photon variables.
Instead of renaming PAT variables (which would introduce an inconsistency between different PAT objects), we force PAT variables to return the corresponding Reco values.
This commit undoes the changes of #7764, which was not approved.
This commit is also backported to 74X in #8494

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @gzevi for CMSSW_7_5_X.

prevent PAT photon iso variables from overwriting Reco ones

It involves the following packages:

DataFormats/PatCandidates

@cmsbuild, @vadler, @nclopezo, @monttj can you please review it and eventually sign? Thanks.
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.
@nclopezo you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@ghost
Copy link

ghost commented Mar 24, 2015

please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@Dr15Jones
Copy link
Contributor

Note: when we switch to ROOT6 you'll be able to use the C++11 mechanism of saying you want to use a function for the base class:

   using reco::Photon::chargedHadronIso;

@cmsbuild
Copy link
Contributor

-1

Tested at: bf7130f
I found errors in the following unit tests:

---> test runtestPhysicsToolsPatAlgos had ERRORS

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

@monttj
Copy link
Contributor

monttj commented Apr 9, 2015

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 9, 2015

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs unless changes (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @nclopezo, @ktf, @smuzaffar

@davidlange6
Copy link
Contributor

+1

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

5 participants