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

VID fix & core unit tests + Regression ValueMap Producer code cleanup. (76X) #11229

Merged
merged 6 commits into from Sep 16, 2015

Conversation

lgray
Copy link
Contributor

@lgray lgray commented Sep 12, 2015

Addresses some recent issues (and fixes one) for maintaining out-of-the-box functionality for VID.
Particularly that VID doesn't run on top of MiniAOD right now, after this PR it does.

There are now unit tests that ensure Electron/Photon VID runs on MiniAOD and AOD out of the box.
This will help ensure problems like the one above are not encountered again.

Fixes a small bug in the calculation of regression input values.

Vectors started with size at least three, then push_back was used to assign instead of the index.

Small changes expected to MiniAOD electron energy.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @lgray (Lindsey Gray) for CMSSW_7_6_X.

VID fix & core unit tests + Regression ValueMap Producer code cleanup.

It involves the following packages:

RecoEgamma/ElectronIdentification
RecoEgamma/PhotonIdentification

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

@lgray
Copy link
Contributor Author

lgray commented Sep 12, 2015

@ikrav I am working on the 74X backport now. You may use that for user recipes once it is available.

@lgray
Copy link
Contributor Author

lgray commented Sep 12, 2015

@cmsbuild please test

@lgray
Copy link
Contributor Author

lgray commented Sep 12, 2015

@matteosan1 Edits to regression valuemap producer.

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@lgray lgray changed the title VID fix & core unit tests + Regression ValueMap Producer code cleanup. VID fix & core unit tests + Regression ValueMap Producer code cleanup. (76X) Sep 12, 2015
@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #11229 was updated. @cmsbuild, @cvuosalo, @slava77 can you please check and sign again.

@lgray
Copy link
Contributor Author

lgray commented Sep 14, 2015

@cmsbuild please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor


if(theseed == pclus )
continue;
_clusterRawEnergy[iclus] = pclus->energy();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note for posterity: this is the part of #11236, which actually changes the saved values; the rest is just refactoring

@slava77
Copy link
Contributor

slava77 commented Sep 16, 2015

+1

for #11229 8b65eb7

  • changes in the code are OK, mostly refactoring and addition of unit tests. there is also a bugfix in the regresion input variable computations
  • plot from wflow 4.53 in jenkins shows the expected small change in the miniAOD electron kinematics
    wf4 53_pt_slimmedele
  • additionally, tested locally in CMSSW_7_6_0_pre5 /test area sign590/ to check on run2 (run 251721) with more stats and check technical performance
    • plot from run 251721 DoubleEG 200 events shows about the same with a bit more statistics
      wf251721doubleeg_pt_slimmedele
    • timing and event sizes are essentially unchanged
  • use of isnan should be replaced with something else, as reported by the static analyzer, e.g.
    https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-11229/8068/llvm-analysis/report-9c70ee.html#EndPath
    Due to broken IB at this point, I suggest to make a fix in a separate technical PR.

@cmsbuild
Copy link
Contributor

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

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Sep 16, 2015
VID fix & core unit tests + Regression ValueMap Producer code cleanup. (76X)
@cmsbuild cmsbuild merged commit d2db716 into cms-sw:CMSSW_7_6_X Sep 16, 2015
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