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 CMS deprecated warnings in JetMetCorrections/Modules #35681

Merged
merged 3 commits into from
Oct 18, 2021

Conversation

Dr15Jones
Copy link
Contributor

PR description:

  • moved modules away from inheriting from legacy types
  • added esConsumes to modules and helpers
    • For JME::JetResolution* classes, changes to modules outside of the package was required
  • did some memory management improvements

PR validation:

Code compiles.

- modules using the object were also moved away from inheriting from legacy modules
- moved modules away from inheriting from legacy modules
- added esConsumes
- switched to using edm::unique_ptr
@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35681/25972

  • This PR adds an extra 40KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

  • JetMETCorrections/Modules (reconstruction)
  • PhysicsTools/PatUtils (reconstruction)
  • RecoMET/METProducers (reconstruction)

@jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@AlexDeMoor, @rappoccio, @gouskos, @jdolen, @ahinzmann, @schoef, @mmarionncern, @jdamgov, @JyothsnaKomaragiri, @nhanvtran, @gkasieczka, @clelange, @emilbols, @hatakeyamak, @gpetruc, @andrzejnovak, @demuller, @mariadalfonso, @seemasharmafnal this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests RelVals
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f87a44/19644/summary.html
COMMIT: 2c2b1fa
CMSSW: CMSSW_12_1_X_2021-10-14-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35681/19644/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found errors in the following unit tests:

---> test runtestPhysicsToolsPatAlgos had ERRORS

RelVals

----- Begin Fatal Exception 14-Oct-2021 23:59:14 CEST-----------------------
An exception of category 'NoProxyException' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 1 stream: 0
   [1] Running path 'MINIAODSIMoutput_step'
   [2] Prefetching for module PoolOutputModule/'MINIAODSIMoutput'
   [3] Prefetching for module PATMETSlimmer/'slimmedMETs'
   [4] Prefetching for module CorrectedPATMETProducer/'patPFMetT1JetResUp'
   [5] Prefetching for module ShiftedParticleMETcorrInputProducer/'shiftedPatMETCorrJetResUp'
   [6] Calling method for module SmearedPATJetProducer/'shiftedPatJetResUp'
Exception Message:
No data of type "JME::JetResolutionObject" with label "AK4PFchs" in record "JetResolutionRcd"
 Please add an ESSource or ESProducer to your job which can deliver this data.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 15-Oct-2021 00:01:07 CEST-----------------------
An exception of category 'NoProxyException' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 1 stream: 0
   [1] Running path 'dqmofflineOnPAT_step'
   [2] Prefetching for module SingleTopTChannelLeptonDQM_miniAOD/'singleTopElectronMediumDQM_miniAOD'
   [3] Prefetching for module PATMETSlimmer/'slimmedMETs'
   [4] Prefetching for module CorrectedPATMETProducer/'patPFMetT1JetResUp'
   [5] Prefetching for module ShiftedParticleMETcorrInputProducer/'shiftedPatMETCorrJetResUp'
   [6] Calling method for module SmearedPATJetProducer/'shiftedPatJetResUp'
Exception Message:
No data of type "JME::JetResolutionObject" with label "AK4PFchs" in record "JetResolutionRcd"
 Please add an ESSource or ESProducer to your job which can deliver this data.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 15-Oct-2021 00:02:02 CEST-----------------------
An exception of category 'NoProxyException' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 3 stream: 0
   [1] Running path 'nanoAOD_step'
   [2] Prefetching for module CorrectedPATMETProducer/'patPFMetT1Smear'
   [3] Prefetching for module PATPFJetMETcorrInputProducer/'patPFMetT1T2SmearCorr'
   [4] Prefetching for module PATJetSelector/'selectedPatJetsForMetT1T2SmearCorr'
   [5] Calling method for module SmearedPATJetProducer/'patSmearedJets'
Exception Message:
No data of type "JME::JetResolutionObject" with label "AK4PFchs" in record "JetResolutionRcd"
 Please add an ESSource or ESProducer to your job which can deliver this data.
----- End Fatal Exception -------------------------------------------------
Expand to see more relval errors ...

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35681/25974

  • This PR adds an extra 40KB to repository

@cmsbuild
Copy link
Contributor

Pull request #35681 was updated. @jpata, @cmsbuild, @slava77 can you please check and sign again.

@Dr15Jones
Copy link
Contributor Author

Please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f87a44/19649/summary.html
COMMIT: 18da2f8
CMSSW: CMSSW_12_1_X_2021-10-14-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35681/19649/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 2769241
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2769212
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 39 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 170 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@slava77
Copy link
Contributor

slava77 commented Oct 18, 2021

+reconstruction

for #35681 18da2f8

  • code changes are technical in line with the PR description
  • jenkins tests pass and comparisons with the baseline show no (relevant) differences

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

@perrotta
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit d9e7806 into cms-sw:master Oct 18, 2021
@Dr15Jones Dr15Jones deleted the deprecatedJetMETCorrectionsModules branch October 20, 2021 20:00
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

4 participants