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

Pf gen jet specifics #26125

Merged
merged 2 commits into from Mar 27, 2019
Merged

Pf gen jet specifics #26125

merged 2 commits into from Mar 27, 2019

Conversation

rappoccio
Copy link
Contributor

@rappoccio rappoccio commented Mar 8, 2019

PR description:

This PR adds PF-like particle fractions to GenJet, at long last. The long shutdown is a good opportunity. It adds 5 floats and 5 ints to GenJet.

Addresses this issue

PR validation:

This is gen-only so I used WF 5.1.

Example of changes:

jet   4: pt  41.1, eta +1.13, energies: ch  32.69 nh   9.38 ce   0.00 ne  28.45 mu   0.00, mults: ch   7 nh   2 ce   0 ne  11 mu   0
jet   5: pt  37.4, eta +1.45, energies: ch  43.99 nh  34.36 ce   0.00 ne   6.96 mu   0.00, mults: ch  10 nh   6 ce   0 ne   2 mu   0
jet   6: pt  12.0, eta +2.78, energies: ch  93.68 nh   0.00 ce   0.00 ne   3.35 mu   0.00, mults: ch   4 nh   0 ce   0 ne   2 mu   0
jet   7: pt   9.2, eta +2.42, energies: ch  46.10 nh   6.16 ce   0.00 ne   0.00 mu  43.57, mults: ch   2 nh   1 ce   0 ne   0 mu   1

if this PR is a backport please specify the original PR:

This is not a backport.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2019

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2019

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26125/8690

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2019

A new Pull Request was created by @rappoccio for master.

It involves the following packages:

Configuration/PyReleaseValidation
DataFormats/HepMCCandidate
DataFormats/JetReco
RecoJets/JetProducers

@perrotta, @pgunnell, @prebello, @zhenhu, @perrozzi, @efeyazgan, @kpedro88, @cmsbuild, @slava77, @alberto-sanchez, @qliphy can you please review it and eventually sign? Thanks.
@jdamgov, @TaiSakuma, @jdolen, @yslai, @schoef, @rovere, @Martin-Grunewald, @makortel, @nhanvtran, @gkasieczka, @clelange, @ahinzmann, @mariadalfonso, @seemasharmafnal 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

@kpedro88
Copy link
Contributor

kpedro88 commented Mar 8, 2019

wrong base in the PR branch (10_5_X vs. 10_6_X). Can you rebase it to a 10_6 IB? (10_6_0_pre1 should come out soon...)

float muonEnergy () const { return m_specific.mMuonEnergy ;}
int chargedHadronMultiplicity() const { return m_specific.mChargedHadronMultiplicity;}
int neutralHadronMultiplicity() const { return m_specific.mNeutralHadronMultiplicity;}
int chargedEmMultiplicity () const { return m_specific.mChargedEmMultiplicity ;}
Copy link
Contributor

Choose a reason for hiding this comment

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

in addition to charged EM and neutral EM, the PFJets provide electron and photon (which are basically the same, I think). Maybe these could be added here for consistency?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was of two minds about this, but it's probably more confusing than it's worth. "Charged" and "Neutral" EM are the same as "electron" and "photon" in the central region but differ in the forward region. For sure we shouldn't add separate data members, the information would be redundant. I could add accessors that are identical, but that seemed more confusing to me.

I can do the rebase though.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2019

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2019

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26125/8692

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2019

Pull request #26125 was updated. @perrotta, @efeyazgan, @perrozzi, @cmsbuild, @slava77, @alberto-sanchez, @qliphy can you please check and sign again.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-26125/8875

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

Pull request #26125 was updated. @perrotta, @efeyazgan, @perrozzi, @cmsbuild, @slava77, @alberto-sanchez, @qliphy can you please check and sign again.

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 22, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/33728/console Started: 2019/03/22 20:53

@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-26125/33728/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 32
  • DQMHistoTests: Total histograms compared: 3114829
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3114631
  • DQMHistoTests: Total skipped: 197
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 31 files compared)
  • Checked 133 log files, 14 edm output root files, 32 DQM output files

@perrotta
Copy link
Contributor

This PR adds 5 floats and 5 into GenJet.

The increase in miniAOD size have been measured with the PU TTbar workflow 11024:

Compare packed values
-----------------------------------------------------------------
   or, B         new, B      delta, B   delta, %   deltaJ, %    branch 
-----------------------------------------------------------------
    160.3 ->       161.6          1      0.8   0.00     recoGenJets_slimmedGenJetsAK8SoftDropSubJets__RECO.
    320.7 ->       324.7          4      1.3   0.00     recoGenJets_slimmedGenJetsAK8__RECO.
    745.3 ->       889.8        144     17.7   0.18     recoGenJets_slimmedGenJets__RECO.
-------------------------------------------------------------
    81195 ->       81345        150             0.2     ALL BRANCHES

150 B additional per event to slimmedGenJets in TTbar PU MC can be considered as acceptable, in my opinion

@perrotta
Copy link
Contributor

+1

  • PF-like particle fractions are added to GenJet's
  • The miniAOD size increase in the TTBar PU wf 11024 is approximately 150 B/evt
  • Jenkins test pass and show no differences for all other quantities

@alberto-sanchez
Copy link
Member

+1

@cmsbuild
Copy link
Contributor

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

+1

@cmsbuild cmsbuild merged commit 63ed7a2 into cms-sw:master Mar 27, 2019
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