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 PPS geometry ES producer to read preprocessed geometry from DB #33851

Merged
merged 3 commits into from May 28, 2021

Conversation

wpcarvalho
Copy link
Contributor

PR description:

The goal of this PR is to make the ES producer CTPPSGeometryESModule.cc able to read the PPS reco geometry from conditions data stored in the database. Currently, PPS geometry is read directly from XML files.

  • No changes are expected in the output.
  • We plan a future PR that will change the default reco sequence to consume conditions data from DB.

@fabferro @jan-kaspar

PR validation:

The following validation tests have been performed:

  • Comparison of pot and sensor positions obtained from XML (current producer) and from DB (changed producer). Perfect agreement is found.
  • Reco workflow. Local tests have been run to compare the current and the changed versions of the producer. Nearly perfect agreement has been observed, as can be seen from a sample of plots shown below. Only a few very tiny differences (probably at the round level) among hundreds of histograms. See the Mean for theta_x and theta_y histograms in the bottom canvas (top row = baseline ; bottom row = changed producer) as the only visible differences.

reco_cmp

base_vs_db_1

The tests with the changed producer used conditions data from a local sqlite file and also the same data uploaded to the Prep database as a test tag: https://cms-conddb.cern.ch/cmsDbBrowser/list/Prep/tags/PPS_RecoGeometry_test_v1.

if this PR is a backport please specify the original PR and why you need to backport that PR:

Not a backport.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33851/22874

  • This PR adds an extra 24KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33851/22876

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @wpcarvalho (Wagner Carvalho) for master.

It involves the following packages:

Geometry/Records
Geometry/VeryForwardGeometryBuilder

@civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild can you please review it and eventually sign? Thanks.
@forthommel, @jan-kaspar, @fabiocos 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

@civanch
Copy link
Contributor

civanch commented May 26, 2021

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3b7b9e/15335/summary.html
COMMIT: 8cf6b07
CMSSW: CMSSW_12_0_X_2021-05-26-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33851/15335/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: 1268 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2650486
  • DQMHistoTests: Total failures: 3681
  • DQMHistoTests: Total nulls: 19
  • DQMHistoTests: Total successes: 2646764
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 45.703 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 140.53 ): 44.531 KiB Hcal/DigiRunHarvesting
  • DQMHistoSizes: changed ( 140.53 ): 1.172 KiB RPC/DCSInfo
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: no differences found

: m_name(item.name_),
m_copy(item.copy_),
m_isDD4hep(true),
m_params(item.params_), // default unit from DD4hep (cm)
Copy link
Contributor

Choose a reason for hiding this comment

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

Default unit for DD4hep is not cm. Delete "(cm)" from the comment.

: m_name(item.name_),
m_copy(item.copy_),
m_isDD4hep(true),
m_params(item.params_), // default unit from DD4hep (cm)
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
m_params(item.params_), // default unit from DD4hep (cm)
m_params(item.params_), // default unit from DD4hep

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

m_params(item.params_), // default unit from DD4hep (cm)
m_sensorType(item.sensorType_),
m_geographicalID(item.geographicalID_),
m_z(item.z_) // converted from cm (DD4hep) to mm
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
m_z(item.z_) // converted from cm (DD4hep) to mm
m_z(item.z_) // converted from DD4hep units to mm

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33851/22906

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

Pull request #33851 was updated. @civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild can you please check and sign again.

@cvuosalo
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. 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)

@cvuosalo
Copy link
Contributor

@cmsbuild please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3b7b9e/15372/summary.html
COMMIT: 4f8c283
CMSSW: CMSSW_12_0_X_2021-05-27-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33851/15372/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: 37
  • DQMHistoTests: Total histograms compared: 2650486
  • DQMHistoTests: Total failures: 12
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2650451
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 155 log files, 37 edm output root files, 37 DQM output files
  • TriggerResults: no differences found

@qliphy
Copy link
Contributor

qliphy commented May 28, 2021

+1

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