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

GEMGeometryBuilder bugfix #35855

Merged

Conversation

jshlee
Copy link
Contributor

@jshlee jshlee commented Oct 26, 2021

PR description:

  • stopping non-existing chambers to be added to superchambers
  • no changes are expected

PR validation:

tested with wf 34611.0

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35855/26231

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @jshlee (Jason Lee) for master.

It involves the following packages:

  • Geometry/GEMGeometryBuilder (geometry, upgrade)

@civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @mdhildreth, @cmsbuild, @AdrianoDee, @srimanob can you please review it and eventually sign? Thanks.
@dildick, @bsunanda, @slomeo, @fabiocos, @watson-ij 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

@srimanob
Copy link
Contributor

type bug-fix

@srimanob
Copy link
Contributor

@cmsbuild please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b42cd8/19967/summary.html
COMMIT: 7d4f2a7
CMSSW: CMSSW_12_1_X_2021-10-26-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35855/19967/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: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 41
  • DQMHistoTests: Total histograms compared: 2797338
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2797310
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 40 files compared)
  • Checked 173 log files, 37 edm output root files, 41 DQM output files
  • TriggerResults: no differences found

@civanch
Copy link
Contributor

civanch commented Oct 27, 2021

@jshlee , can you, please, explain what is the change for Run-3 GEM geometry? Or this is only for Phase-2?

@jshlee
Copy link
Contributor Author

jshlee commented Oct 27, 2021

@jshlee , can you, please, explain what is the change for Run-3 GEM geometry? Or this is only for Phase-2?

@civanch, this is to protect invalid pointers being added to the geometry. This doesn't change the geometry.

@civanch
Copy link
Contributor

civanch commented Oct 27, 2021

+1

@@ -524,8 +524,9 @@ void GEMGeometryBuilder::buildRegions(GEMGeometry& theGeometry, const std::vecto
auto chamber = theGeometry.chamber(chId);
if (!chamber) {
edm::LogWarning("GEMGeometryBuilder") << "Missing chamber " << chId;
} else {
superChamber->add(chamber);
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @jshlee
I am confused a bit on the PR description and code changes. It seems the original code already protect non-exisitng chamber already. This PR seems to add existing chamber to super chamber. What will happen if you don't add chamber to superChamber (i.e. now)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the original code would just send the logwarning if the chamber is invalid and still add it to the superchamber.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, OK. I miss line 528 of the original code. Thanks.

@srimanob
Copy link
Contributor

type bug-fix

@srimanob
Copy link
Contributor

srimanob commented Oct 27, 2021

+Upgrade

This is a bug-fix PR, to include only existing GEM chamber to super chamber.

@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 addf2fb into cms-sw:master Oct 27, 2021
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