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

Replace Geometry_cff with GeometryDB_cff in RecoEgamma #38285

Merged
merged 5 commits into from
Jun 15, 2022

Conversation

jeongeun
Copy link
Contributor

@jeongeun jeongeun commented Jun 8, 2022

PR description:
Review on the Reco part of #31113

process.load("Configuration.StandardSequences.Geometry_cff")
was outdated #8810
It should be replaced with
process.load("Configuration.StandardSequences.GeometryDB_cff")

In this PR, RecoEgamma configuration files (10 files) are fixed.

modified:   RecoEgamma/EgammaElectronProducers/test/egammaClustersToGsfElectrons_cfg.py
modified:   RecoEgamma/EgammaElectronProducers/test/egammaCoresToGsfElectrons_cfg.py
modified:   RecoEgamma/EgammaElectronProducers/test/egammaRawDataToGsfElectrons_cfg.py
modified:   RecoEgamma/EgammaElectronProducers/test/egammaRecHitsToElectronSeeds_cfg.py
modified:   RecoEgamma/EgammaElectronProducers/test/egammaRecHitsToGsfElectrons_cfg.py
modified:   RecoEgamma/EgammaIsolationAlgos/test/egammaIsoTest_cfg.py
modified:   RecoEgamma/EgammaIsolationAlgos/test/pfclusterIsoTest_cfg.py
modified:   RecoEgamma/EgammaIsolationAlgos/test/runInterestingEgammaIsoDetIdsSequence_cfg.py
modified:   RecoEgamma/ElectronIdentification/test/eidSelectorTest_cfg.py
modified:   RecoEgamma/ElectronIdentification/test/runElectronID_cfg.py

From 12_4_X to 12_5_X, following 4 files in Examples/test/ are all removed.
RecoEgamma/Examples/test/ElectronSeedMCAnalyzer_cfg.py
RecoEgamma/Examples/test/GsfElectronRedoFromCore_cfg.py
RecoEgamma/Examples/test/GsfElectronRedoFromRaw_cfg.py
RecoEgamma/Examples/test/SimplePi0DiscAnalyzer_cfg.py

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 8, 2022

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 8, 2022

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38285/30440

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 8, 2022

A new Pull Request was created by @jeongeun (JeongEun Lee) for master.

It involves the following packages:

  • RecoEgamma/EgammaElectronProducers (reconstruction)
  • RecoEgamma/EgammaIsolationAlgos (reconstruction)
  • RecoEgamma/ElectronIdentification (reconstruction)
  • RecoEgamma/Examples (reconstruction)

@jpata, @cmsbuild, @clacaputo, @slava77 can you please review it and eventually sign? Thanks.
@Sam-Harper, @jainshilpi, @valsdav, @rovere, @lgray, @sobhatta, @lecriste, @afiqaize, @wrtabb, @varuns23, @ram1123 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

@jpata
Copy link
Contributor

jpata commented Jun 8, 2022

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 8, 2022

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-50eeb2/25357/summary.html
COMMIT: e89a5e4
CMSSW: CMSSW_12_5_X_2022-06-08-1100/el8_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/38285/25357/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: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3652078
  • DQMHistoTests: Total failures: 8
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3652048
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 49 files compared)
  • Checked 208 log files, 45 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@@ -4,7 +4,7 @@

process.load('FWCore/MessageService/MessageLogger_cfi')
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please also change

Suggested change
process.load('FWCore/MessageService/MessageLogger_cfi')
process.load('FWCore.MessageService.MessageLogger_cfi')

@@ -4,7 +4,7 @@

process.load('FWCore/MessageService/MessageLogger_cfi')
process.load('Configuration/StandardSequences/Services_cff')
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
process.load('Configuration/StandardSequences/Services_cff')
process.load('Configuration.StandardSequences.Services_cff')

@@ -4,7 +4,7 @@

process.load('FWCore/MessageService/MessageLogger_cfi')
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
process.load('FWCore/MessageService/MessageLogger_cfi')
process.load('FWCore.MessageService.MessageLogger_cfi')

@@ -4,7 +4,7 @@

process.load('FWCore/MessageService/MessageLogger_cfi')
process.load('Configuration/StandardSequences/Services_cff')
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
process.load('Configuration/StandardSequences/Services_cff')
process.load('Configuration.StandardSequences.Services_cff')

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38285/30563

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

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

@clacaputo
Copy link
Contributor

@cmsbuild please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-50eeb2/25534/summary.html
COMMIT: 99ed83e
CMSSW: CMSSW_12_5_X_2022-06-14-2300/el8_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/38285/25534/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: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3659074
  • DQMHistoTests: Total failures: 8
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3659044
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 49 files compared)
  • Checked 208 log files, 45 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@clacaputo
Copy link
Contributor

+reconstruction

  • technical PR
  • no reco changes

@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

@tvami
Copy link
Contributor

tvami commented Jun 16, 2022

Let me comment that when the GeometryDB is used (as the name says) the geometry is taken from the DB, meaning that a GT will have to be specified. I see some of the modified files dont have that, for example
https://github.com/jeongeun/cmssw/blob/99ed83e1c8d3ee0474b5d347ea519ea34e22a1b2/RecoEgamma/EgammaIsolationAlgos/test/egammaIsoTest_cfg.py
so that's not expected to work after this migration. Some other files have very old GTs, which might work or not.

Given that fact that no wf has been broken that means these files are actually not used anywhere... but when/if they will be used, they'll need to have a GT in them

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