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

Change input collection for genVisTaus #33522

Conversation

mbluj
Copy link
Contributor

@mbluj mbluj commented Apr 26, 2021

PR description:

As title says: input collection of genParticles used to build genVisTaus is changed from prunedGenParticles (miniAOD collection) to finalGenParticles (nanoAOD collection) to ensure consistency with other genParticle-based information stored in nanoAOD, in particular to make mother indices working properly.

Expected changes:

  • indices of mother particles of genVisTaus are correctly set,
  • marginal impact on produced genVisTaus - with the new setup there is ~4/10000 less genVisTaus than with previous setup which is acceptable (tested with DY sample).

This fixes issue cms-nanoAOD#486.

A backport to 106X for nanoAODv9 is foreseen.

PR validation:

Change tested with a custom workflow with DYJetsToLL sample from Summer20UL production.
Matrix tests (runTheMatrix.py -l limited -i all --ibeos) successful.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33522/22281

  • This PR adds an extra 16KB to repository

  • There are other open Pull requests which might conflict with changes you have proposed:

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

PhysicsTools/NanoAOD

@cmsbuild, @mariadalfonso, @gouskos, @fgolf can you please review it and eventually sign? Thanks.
@gpetruc, @swertz this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@mariadalfonso
Copy link
Contributor

please test

@mariadalfonso
Copy link
Contributor

The change is deactivated for former nanoAOD eras to ensure backward compatibility.

This "no change policy" should be done for the backport,
but for master is better to apply this bug fix for all previous nano.

@mbluj
Copy link
Contributor Author

mbluj commented Apr 26, 2021

The change is deactivated for former nanoAOD eras to ensure backward compatibility.

This "no change policy" should be done for the backport,
but for master is better to apply this bug fix for all previous nano.

Does it mean that I should remove the era depended "inactivation" at all? Correct?

@mbluj
Copy link
Contributor Author

mbluj commented Apr 26, 2021

Hi,
"inactivation" of the changes for past eras was removed as requested in the recent comment; description of the PR updated accordingly.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33522/22287

  • This PR adds an extra 16KB to repository

  • There are other open Pull requests which might conflict with changes you have proposed:

@cmsbuild
Copy link
Contributor

Pull request #33522 was updated. @cmsbuild, @mariadalfonso, @gouskos, @fgolf can you please check and sign again.

@mbluj
Copy link
Contributor Author

mbluj commented Apr 26, 2021

In last commit tauGenJets producers were cloned to avoid potential problems with modified definition of original producers which are used in other workflows.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33522/22300

  • This PR adds an extra 16KB to repository

  • There are other open Pull requests which might conflict with changes you have proposed:

@cmsbuild
Copy link
Contributor

Pull request #33522 was updated. @cmsbuild, @mariadalfonso, @gouskos, @fgolf can you please check and sign again.

@mbluj
Copy link
Contributor Author

mbluj commented Apr 26, 2021

In last commit tauGenJets producers were cloned to avoid potential problems with modified definition of original producers which are used in other workflows.

@mariadalfonso
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b5506d/14594/summary.html
COMMIT: c255002
CMSSW: CMSSW_12_0_X_2021-04-26-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33522/14594/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

The workflows 140.53 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 1273 differences found in the comparisons
  • DQMHistoTests: Total files compared: 38
  • DQMHistoTests: Total histograms compared: 2877605
  • DQMHistoTests: Total failures: 3673
  • DQMHistoTests: Total nulls: 20
  • DQMHistoTests: Total successes: 2873890
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 45.699 KiB( 37 files compared)
  • DQMHistoSizes: changed ( 140.53 ): 44.531 KiB Hcal/DigiRunHarvesting
  • DQMHistoSizes: changed ( 140.53 ): 1.172 KiB RPC/DCSInfo
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 160 log files, 37 edm output root files, 38 DQM output files
  • TriggerResults: no differences found

@mariadalfonso
Copy link
Contributor

+xpog

(the use of finalGenParticles is now also consistent with the ele/muon/ph)

@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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@qliphy
Copy link
Contributor

qliphy commented Apr 28, 2021

comparison diff are due to change in input dataset file

@qliphy
Copy link
Contributor

qliphy commented Apr 28, 2021

+1

@cmsbuild cmsbuild merged commit 32d5a10 into cms-sw:master Apr 28, 2021
@mbluj mbluj deleted the CMSSW_11_3_X_tau-pog_genPartsForGenTauAtnano branch April 28, 2021 08:12
@makortel
Copy link
Contributor

This PR could have caused ProductNotFound failures in NANOGEN workflows, see #33578

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