-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
ECAL - Fix static analyzer issues in CalibCalorimetry/EcalLaserAnalyzer #36371
ECAL - Fix static analyzer issues in CalibCalorimetry/EcalLaserAnalyzer #36371
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36371/27141
|
A new Pull Request was created by @thomreis (Thomas Reis) 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 |
@cmsbuild , please test |
@@ -453,7 +453,7 @@ MEChannel* ME::regTree(int ireg) { | |||
leaf_ = leaf_->getDaughter(ieta, iphi, iLMRegion_); | |||
leaf_ = leaf_->getDaughter(ieta, iphi, iLMModule_); | |||
leaf_ = leaf_->getDaughter(ieta, iphi, iSuperCrystal_); | |||
leaf_ = leaf_->getDaughter(ieta, iphi, iCrystal_); | |||
leaf_->getDaughter(ieta, iphi, iCrystal_); |
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.
I'm not sure I understand why line 456 was changed but not l453-455
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.
getDaughter()
returns a new MEChannel if it has not been created yet. Since the crystal is the smallest unit it has to stop there and does not branch anymore.
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.
I see, thanks!
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-142567/21017/summary.html Comparison SummarySummary:
|
+alca
|
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:
This should fix the Static Analyzer issues found in CalibCalorimetry/EcalLaserAnalyzer.
PR validation:
Code compiles.