-
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
Phase-hgx323Again Further correction for ring number assignment of scintillator hits in HGCal geometry for versions beyond V13 #39206
Conversation
… HGCal geometry for versions beyond V13
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39206/31818
|
A new Pull Request was created by @bsunanda (Sunanda Banerjee) for master. It involves the following packages:
@civanch, @Dr15Jones, @bsunanda, @makortel, @ianna, @mdhildreth, @cmsbuild, @AdrianoDee, @srimanob can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild Please test |
(iphi <= hgpar_->scintCells(layer))); | ||
bool ok = ((irad >= hgpar_->iradMinBH_[indx.first]) && (irad <= (hgpar_->iradMaxBH_[indx.first] + 1)) && (iphi > 0) && | ||
(iphi <= hgpar_->scintCells(layer))); | ||
return ((ok && trapezoidFile()) ? tileExist(zside, layer, irad, iphi) : ok); |
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.
return ((ok && trapezoidFile()) ? tileExist(zside, layer, irad, iphi) : ok); | |
return ((ok && trapezoidFile()) ? tileExist(zside, layer, irad, iphi) : true); |
I understand that in practice ok && ok
is identical to ok && true
. But translating in C++ the sentence "irrespective of trapezoidFile() the earlier test is good for all types of scintillators" is exactly ok && true
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.
It should return the results ok if it is false and if ok is true, then one should see if TrapezoidFile() is the case then should return a test on tileExist. That is the correct logic
@cmsbuild type bug-fix |
type bug-fix |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-705c74/27105/summary.html Comparison SummarySummary:
|
+Upgrade Change in D77 is expected (see comment #39164 (comment)). Change in D88 is unclear if it will be visible, this should be followed up with HGCAL. Propose to merge this PR to Copy the comment from original PR #39164 |
+1
|
merge |
+geometry |
PR description:
Further correction for ring number assignment of scintillator hits in HGCal geometry versions V14, V15, V16 and V17. This new PR was made because of merging #39164 and then reverting #39198. I wonder why?
PR validation:
Use the runTheMatrix test workflows
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
This is a bug fix for all versions of HGCal geometry