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 for DTMapGenerator and cleanup for DTTTrigCorrectionFirst (in CalibMuon/DTCalibration) #36534

Merged

Conversation

perrotta
Copy link
Contributor

@perrotta perrotta commented Dec 17, 2021

PR description:

Dead assignment reports of the static analyzer pointed out at something which looks like a bug (with a rather obvious fix) in the endJob() methid of CalibMuon/DTCalibration/plugins/DTMapGenerator.cc.
Perhaps @battibass can confirm

Another dead assignment in CalibMuon/DTCalibration/plugins/DTTTrigCorrectionFirst.cc can be fixed simply by removing the useless code.

PR validation:

Code builds

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36534/27438

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @perrotta (Andrea Perrotta) for master.

It involves the following packages:

  • CalibMuon/DTCalibration (alca)

@cmsbuild, @malbouis, @tvami, @yuanchao, @francescobrivio can you please review it and eventually sign? Thanks.
@mmusich, @tocheng, @battibass 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

@perrotta
Copy link
Contributor Author

please test

@@ -130,8 +128,7 @@ void DTMapGenerator::endJob() {
} else {
outRob = robCounter + 21;
}
}
if (sector == 4) {
} else if (sector == 4) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the actual bugfix: otherwise outRob assignments above get overwritten

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-df3687/21356/summary.html
COMMIT: 3a9deef
CMSSW: CMSSW_12_3_X_2021-12-16-2300/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/36534/21356/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: 2783 differences found in the comparisons
  • DQMHistoTests: Total files compared: 42
  • DQMHistoTests: Total histograms compared: 3250719
  • DQMHistoTests: Total failures: 3832
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3246865
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 41 files compared)
  • Checked 177 log files, 37 edm output root files, 42 DQM output files
  • TriggerResults: found differences in 1 / 41 workflows

@tvami
Copy link
Contributor

tvami commented Dec 17, 2021

+alca

  • bugfix
  • test diffs are coming from different (known) sources

@tvami
Copy link
Contributor

tvami commented Dec 17, 2021

type bug-fix

@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 Author

+1

@cmsbuild cmsbuild merged commit 92d511b into cms-sw:master Dec 17, 2021
@perrotta perrotta deleted the removeDeadAssignmentsInCalibMuonDtCalibration branch December 17, 2021 16:08
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

3 participants