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

Fix bug in NanoGEN precision setting #31973

Merged
merged 1 commit into from
Nov 2, 2020
Merged

Conversation

kdlong
Copy link
Contributor

@kdlong kdlong commented Oct 28, 2020

PR description:

Fix bug in precision setting of gen variables in NanoGEN

PR validation:

It works as intended now

@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-31973/19433

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @kdlong (Kenneth Long) for master.

It involves the following packages:

PhysicsTools/NanoAOD

@cmsbuild, @santocch, @mariadalfonso, @gouskos, @fgolf can you please review it and eventually sign? Thanks.
@gpetruc, @peruzzim, @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 workflow 546,547,548

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 28, 2020

The tests are being triggered in jenkins.
Test Parameters:

@cmsbuild
Copy link
Contributor

-1

Tested at: a9b6604

CMSSW: CMSSW_11_2_X_2020-10-27-2300
SCRAM_ARCH: slc7_amd64_gcc820
You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-793d42/10351/summary.html

I found follow errors while testing this PR

Failed tests: RelVals

  • RelVals:

When I ran the RelVals I found an error in the following workflows:
546.0 step2

runTheMatrix-results/546.0_DYToLL_M-50_13TeV_pythia8+DYToLL_M-50_13TeV_pythia8+NANOGENFromGen/step2_DYToLL_M-50_13TeV_pythia8+DYToLL_M-50_13TeV_pythia8+NANOGENFromGen.log

548.0 step3
runTheMatrix-results/548.0_TTbar_Pow_LHE_13TeV+TTbar_Pow_LHE_13TeV+Hadronizer_TuneCP5_13TeV_powhegEmissionVeto2p_pythia8+NANOGENFromGen/step3_TTbar_Pow_LHE_13TeV+TTbar_Pow_LHE_13TeV+Hadronizer_TuneCP5_13TeV_powhegEmissionVeto2p_pythia8+NANOGENFromGen.log

547.0 step3
runTheMatrix-results/547.0_DYToll01234Jets_5f_LO_MLM_Madgraph_LHE_13TeV+DYToll01234Jets_5f_LO_MLM_Madgraph_LHE_13TeV+Hadronizer_TuneCP5_13TeV_MLM_5f_max4j_LHE_pythia8+NANOGENFromGen/step3_DYToll01234Jets_5f_LO_MLM_Madgraph_LHE_13TeV+DYToll01234Jets_5f_LO_MLM_Madgraph_LHE_13TeV+Hadronizer_TuneCP5_13TeV_MLM_5f_max4j_LHE_pythia8+NANOGENFromGen.log

@cmsbuild
Copy link
Contributor

Comparison job queued.

@mariadalfonso
Copy link
Contributor

mariadalfonso commented Oct 28, 2020

@kdlong
the bug fix proposed here is not correct we are asking Eta of MET

Step: DQM Spec: ['@nanogenDQM']
customising the process with customizeNanoGENFromMini from PhysicsTools/NanoAOD/nanogen_cff
Traceback (most recent call last):
File "/cvmfs/cms-ib.cern.ch/nweek-02652/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-10-27-1100/bin/slc7_amd64_gcc820/cmsDriver.py", line 56, in
run()
File "/cvmfs/cms-ib.cern.ch/nweek-02652/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_2_X_2020-10-27-1100/bin/slc7_amd64_gcc820/cmsDriver.py", line 28, in run
configBuilder.prepare()
File "/cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-10-27-2300/python/Configuration/Applications/ConfigBuilder.py", line 2273, in prepare
self.pythonCfgCode += self.addCustomise()
File "/cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-10-27-2300/python/Configuration/Applications/ConfigBuilder.py", line 885, in addCustomise
self.process=getattr(package,fcn)(self.process)
File "/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-27-2300/python/PhysicsTools/NanoAOD/nanogen_cff.py", line 77, in customizeNanoGENFromMini
nanoGenCommonCustomize(process)
File "/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-27-2300/python/PhysicsTools/NanoAOD/nanogen_cff.py", line 56, in nanoGenCommonCustomize
setGenEtaPrecision(process, CandVars.eta.precision)
File "/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-27-2300/python/PhysicsTools/NanoAOD/nanogen_cff.py", line 137, in setGenEtaPrecision
process.metMCTable.variables.eta.precision = precision
AttributeError: 'PSet' object has no attribute 'eta'

@cmsbuild
Copy link
Contributor

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

@mariadalfonso
Copy link
Contributor

please test workflow 546,547,548

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 29, 2020

The tests are being triggered in jenkins.
Test Parameters:

@cmsbuild
Copy link
Contributor

+1
Tested at: da11c5e
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-793d42/10388/summary.html
CMSSW: CMSSW_11_2_X_2020-10-29-1100
SCRAM_ARCH: slc7_amd64_gcc820

@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-793d42/10388/summary.html

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-793d42/546.0_DYToLL_M-50_13TeV_pythia8+DYToLL_M-50_13TeV_pythia8+NANOGENFromGen
  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-793d42/547.0_DYToll01234Jets_5f_LO_MLM_Madgraph_LHE_13TeV+DYToll01234Jets_5f_LO_MLM_Madgraph_LHE_13TeV+Hadronizer_TuneCP5_13TeV_MLM_5f_max4j_LHE_pythia8+NANOGENFromGen
  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-793d42/548.0_TTbar_Pow_LHE_13TeV+TTbar_Pow_LHE_13TeV+Hadronizer_TuneCP5_13TeV_powhegEmissionVeto2p_pythia8+NANOGENFromGen

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2544092
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2544069
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 149 log files, 22 edm output root files, 35 DQM output files

@mariadalfonso
Copy link
Contributor

+xpog

updates only to GENnano inline with description

@silviodonato
Copy link
Contributor

merge
@santocch please have a look

@santocch
Copy link

santocch commented Nov 3, 2020

+2

@santocch
Copy link

santocch commented Nov 3, 2020

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2020

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 be automatically merged.

cmsbuild added a commit that referenced this pull request Nov 4, 2020
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.

5 participants