-
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
MTD geometry: update pixel index definition from RectangularMTDTopology #44051
Conversation
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44051/38992
|
A new Pull Request was created by @fabiocos for master. It involves the following packages:
@bsunanda, @mdhildreth, @cmsbuild, @Dr15Jones, @subirsarkar, @civanch, @makortel, @srimanob can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
type bugfix |
urgent |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3cabb5/37615/summary.html Comparison SummarySummary:
|
+geometry |
+Upgrade Does this PR need backport to 14_0? |
@cms-sw/simulation-l2 any comment? |
+1 |
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. @rappoccio, @sextonkennedy, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2) |
@cms-sw/orp-l2 this PR is meant to solve the issue of crashes in recent 14_1_X IBs, the sooner it is merged the sooner we may check and verify this |
+1 |
PR description:
This PR proposes a solution to the issue #43942 , or at least to the MTD-related part of it. The recent update of ETL digitization in #43762 utilizes also hits outside the active part of the pixel area, and therefore needs the computation of pixel indices also for points very close to the geometrical border of the volume. Due to numerical accuracy, they can exceed the maximum allowed value, producing a chain of problems in the downstream code.
This PR introduces a
pixelIndex
method inRectangularMTDTopology
to correctly compute the indices based on the position in the module, introducing a safety check for border situations. The geometry test is instrumented to possibly catch problems, and this new method is used in the rest of the MTD code where applicable.PR validation:
The code appears to solve the reproducible crash in recent ASAN builds within the MTD clustering algorithm, and allows the unit test of
Geometry/MTDGeometryBuilder
to pass smoothly.