-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
EGM ID Update 80X #12740
EGM ID Update 80X #12740
Conversation
A new Pull Request was created by @lgray (Lindsey Gray) for CMSSW_8_0_X. It involves the following packages: PhysicsTools/PatAlgos @cvuosalo, @monttj, @cmsbuild, @slava77, @vadler, @davidlange6 can you please review it and eventually sign? Thanks. Following commands in first line of a comment are recognized
|
@cmsbuild please test |
The tests are being triggered in jenkins. |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
|
||
void PhoAnyPFIsoWithEAAndQuadScalingCut::getEventContent(const edm::EventBase& ev) { | ||
ev.getByLabel(contentTags_[anyPFIsoWithEA_],_anyPFIsoMap); | ||
ev.getByLabel(contentTags_[rhoString_],_rhoHandle); |
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.
Would it be better to use getByToken()
here?
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.
This is necessary for the classes to operate in (py)FWLite and full CMSSW.
The consumes interface does not exist in edm::EventBase
.
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.
An explanatory comment to that effect would be helpful here.
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.
You cannot call consumes in FWLite and thus getbytoken cannot work. Likewise the accessor's are not available in edm::EventBase
and cannot be used in this function.
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.
@Dr15Jones - can we can this behavior?
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.
@davidlange6 Are you asking if we can get rid of this behavior? That is you want us to invent a new mechanism in FWLite to allow equivalent consumes
behavior?
+1 Adding a new photon ID. The code changes are satisfactory, and Jenkins tests against baseline CMSSW_8_0_X_2015-12-09-1600 show no significant differences. Several other PRs were included by Jenkins in the tests, and they cause differences not related to this PR. An extended test of workflow 134.705_RunMET2015B with 200 events against baseline CMSSW_8_0_X_2015-12-10-1100 also shows no significant differences and no significant change in the size of event content for RECO or Mini-AOD. |
Forward port of #12738.
New photon ID added to 80X MiniAOD.