-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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: Optimize speed of MTD ideal geometry dump and improve verbosity #43388
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43388/37881
|
A new Pull Request was created by @fabiocos (Fabio Cossutti) for master. It involves the following packages:
@srimanob, @mdhildreth, @bsunanda, @civanch, @Dr15Jones, @cmsbuild, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ef193e/36055/summary.html Comparison SummarySummary:
|
+1 |
+Upgrade |
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. @sextonkennedy, @rappoccio, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2) |
Note to @fabiocos on warning showed in the static check, not related to this PR.
|
@srimanob thanks for noticing, this likely was left behind when I finally removed code to support the old D49 like ETL geometry. @pablom @24LopezR since you are about to update this code, could you please add a fix for this as well? Just remove that line, and move the |
@fabiocos noted! I will add a fix in my upcoming PR. |
+1 |
PR description:
This PR updates the verbosity of the tests in
Geometry/MTDCommonData
dumping the BTL and ETL geometry structure andDetId
calculation, and optimizes them for better speed in regular unit tests. Just activating the pythonMessageLogger
commented lines brings back the full dump, when needed for visual inspection.PR validation:
Code compiles and runs, unit tests are OK, and now significantly faster.