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
Fix for DTMapGenerator and cleanup for DTTTrigCorrectionFirst (in CalibMuon/DTCalibration) #36534
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36534/27438
|
A new Pull Request was created by @perrotta (Andrea Perrotta) for master. It involves the following packages:
@cmsbuild, @malbouis, @tvami, @yuanchao, @francescobrivio can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
@@ -130,8 +128,7 @@ void DTMapGenerator::endJob() { | |||
} else { | |||
outRob = robCounter + 21; | |||
} | |||
} | |||
if (sector == 4) { | |||
} else if (sector == 4) { |
There was a problem hiding this comment.
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
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-df3687/21356/summary.html Comparison SummarySummary:
|
+alca
|
type bug-fix |
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) |
+1 |
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