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
Remove some dead assignments in L1Trigger/DTTriggerPhase2/src/HoughGrouping.cc #37540
Conversation
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37540/29264
|
A new Pull Request was created by @perrotta (Andrea Perrotta) for master. It involves the following packages:
@epalencia, @AdrianoDee, @srimanob, @cecilecaillol, @rekovic can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e5016f/23848/summary.html Comparison SummarySummary:
|
+l1 |
// Filling info | ||
returnPC.nLayersWithHits_++; | ||
returnPC.isThereNeighBourHitInLayer_[abslay] = true; | ||
|
||
returnPC.xDistToPattern_[abslay] = abs(tmpx - (tmpLocalCh.x() - 1.05)); |
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.
Don't we need these three returnPC(s) at all? Were it there on purpose, i.e. define in case bool check is false?
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.
They were overwritten two lines below...
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.
Ah, OK. Thanks.
There is else
of if (isDistRight)
which did not show up on my screen.
+Upgrade Technical PR, no change is expected. |
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:
Title says all.
Spotted by the static analyzer
It should not interfere with any of the ongoing L1T related developments, but if so this PR can be simply postponed
PR validation:
It builds.