-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Backport fixes for gen weights in NanoAOD (#31680, #31982, #31946, #31939, #32071) #32105
Backport fixes for gen weights in NanoAOD (#31680, #31982, #31946, #31939, #32071) #32105
Conversation
Fix a few places where missing_weightgroup wasn't set Debug back off Formatting
Switch loops in nanoaod producer so that PDF sets are prioritized by the order in the file, not the order in the config. Now chooses the first PDF set in the file which is part of the list of "approved" sets in the config. Also adds additional sets to this list
A new Pull Request was created by @kdlong (Kenneth Long) for CMSSW_10_6_X. It involves the following packages: PhysicsTools/NanoAOD @cmsbuild, @santocch, @mariadalfonso, @gouskos, @fgolf can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins.
|
-1 Tested at: a036b3c CMSSW: CMSSW_10_6_X_2020-11-11-1100 I found follow errors while testing this PR Failed tests: Build ClangBuild
I found compilation error when building: >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_10_6_X_2020-11-11-1100/src/PhysicsTools/NanoAOD/plugins/GenWeightsTableProducer.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_10_6_X_2020-11-11-1100/src/PhysicsTools/NanoAOD/plugins/BTagSFProducer.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_10_6_X_2020-11-11-1100/src/PhysicsTools/NanoAOD/plugins/VertexTableProducer.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_10_6_X_2020-11-11-1100/src/PhysicsTools/NanoAOD/plugins/NanoAODOutputModule.cc /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_10_6_X_2020-11-11-1100/src/PhysicsTools/NanoAOD/plugins/GenWeightsTableProducer.cc: In member function 'void GenWeightsTableProducer::fillLHEPdfWeightTablesFromGenInfo({anonymous}::Counter*, const {anonymous}::DynamicWeightChoiceGenInfo*, double, const GenEventInfoProduct&, std::unique_ptr&, std::unique_ptr&, std::unique_ptr&, std::unique_ptr&) const': /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_10_6_X_2020-11-11-1100/src/PhysicsTools/NanoAOD/plugins/GenWeightsTableProducer.cc:483:46: error: 'psWeightDocStr' was not declared in this scope wPS.size() > 1 ? psWeightDocStr : "dummy PS weight (1.0) ", ^~~~~~~~~~~~~~ /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_10_6_X_2020-11-11-1100/src/PhysicsTools/NanoAOD/plugins/GenWeightsTableProducer.cc:483:46: note: suggested alternative: 'psWeightsDocStr' wPS.size() > 1 ? psWeightDocStr : "dummy PS weight (1.0) ", ^~~~~~~~~~~~~~
I found compilation error while trying to compile with clang. Command used:
>> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_10_6_X_2020-11-11-1100/src/PhysicsTools/NanoAOD/plugins/LeptonJetVarProducer.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_10_6_X_2020-11-11-1100/src/PhysicsTools/NanoAOD/plugins/GenJetTauTaggerProducer.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_10_6_X_2020-11-11-1100/src/PhysicsTools/NanoAOD/plugins/PileupJetIDVarProducer.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_10_6_X_2020-11-11-1100/src/PhysicsTools/NanoAOD/plugins/EGMEnergyVarProducer.cc >> Compiling edm plugin /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_10_6_X_2020-11-11-1100/src/PhysicsTools/NanoAOD/plugins/VIDNestedWPBitmapProducer.cc /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_10_6_X_2020-11-11-1100/src/PhysicsTools/NanoAOD/plugins/GenWeightsTableProducer.cc:483:46: error: use of undeclared identifier 'psWeightDocStr'; did you mean 'psWeightsDocStr'? wPS.size() > 1 ? psWeightDocStr : "dummy PS weight (1.0) ", ^~~~~~~~~~~~~~ psWeightsDocStr /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_10_6_X_2020-11-11-1100/src/PhysicsTools/NanoAOD/plugins/GenWeightsTableProducer.cc:469:17: note: 'psWeightsDocStr' declared here std::string psWeightsDocStr; |
Comparison job queued. |
This is what you have in master that is not backported here |
please test |
The tests are being triggered in jenkins.
|
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+xpog changes inline with master. |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_10_6_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_11_2_X is complete. 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) |
+1 |
PR description:
Backport of #31680, #31982, #31946, #31939, #32071. Fixes to Gen weight storage in NanoAOD
PR validation:
Tests in progress
if this PR is a backport please specify the original PR and why you need to backport that PR:
#31680, #31982, #31946, #31939, #32071
Needed for Nano v8 production in 106X