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

Simplify jet daughter processing in DeepBoostedJet #28035

Merged

Conversation

hqucms
Copy link
Contributor

@hqucms hqucms commented Sep 20, 2019

PR description:

This PR simplifies the treatment of Puppi jet daughters in DeepAK8. In the past, we rely on a postfix string to distinguish whether the AK8 jets have puppi scaled daughters or not, which is quite fragile. Now we unifies it to always first get the original candidate (via the key(), inspired by @raggleton's RekeyJets) and then scaled it by the puppi weight.

PR validation:

Tested in a boosted TT sample and no change in the discriminator outputs found.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28035/11962

  • This PR adds an extra 32KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28035/11963

  • This PR adds an extra 32KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @hqucms (Huilin Qu) for master.

It involves the following packages:

PhysicsTools/PatAlgos
RecoBTag/FeatureTools

@perrotta, @cmsbuild, @santocch, @slava77 can you please review it and eventually sign? Thanks.
@rappoccio, @gouskos, @emilbols, @HeinerTholen, @peruzzim, @seemasharmafnal, @mmarionncern, @ahinzmann, @smoortga, @acaudron, @jdolen, @ferencek, @jdamgov, @nhanvtran, @gkasieczka, @schoef, @andrzejnovak, @clelange, @riga, @JyothsnaKomaragiri, @mverzett, @gpetruc, @mariadalfonso, @pvmulder this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@slava77
Copy link
Contributor

slava77 commented Sep 20, 2019

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 20, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/2590/console Started: 2019/09/20 13:07

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2778ea/2590/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2958092
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2957749
  • DQMHistoTests: Total skipped: 341
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 145 log files, 15 edm output root files, 34 DQM output files

@perrotta
Copy link
Contributor

@hqucms ; can this be tested in any standard workflow, or do you have to run something manually? Please provide a recipe for testing, in case this is not run in one of the automatically tested workflows.

@hqucms
Copy link
Contributor Author

hqucms commented Sep 25, 2019

@perrotta DeepAK8 is run in the standard MiniAOD/NanoAOD workflows now so it should be covered.

@perrotta
Copy link
Contributor

perrotta commented Oct 2, 2019

+1

  • It unifies the jet daughter processing, whether or not those daughters are already scaled by puppi weight; the implementation follows what is in the PR description
  • Jenkins tests pass and show no differences
  • Larger tests are reported in the PR description, where no change in the discriminator outputs are found

@santocch
Copy link

santocch commented Oct 2, 2019

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2019

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@fabiocos
Copy link
Contributor

fabiocos commented Oct 2, 2019

+1

@cmsbuild cmsbuild merged commit 6b815ea into cms-sw:master Oct 2, 2019
hqucms added a commit to hqucms/DNNTuples that referenced this pull request Dec 13, 2019
 - Use original PackedCandidate instead of puppi scaled ones. (needs
cms-sw/cmssw#28035)
 - Use uncorr_pt to sort subjets.
 - Use calibrated hcalFrac. (11_0_X)
 - Add Top_bl matching def.
 - Return matched parton for QCD labels.
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

6 participants