-
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
Update TrackReco HitPattern in light of GEM now including GE0 #35205
Conversation
…g backward compatible
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35205/25149
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35205/25151
|
A new Pull Request was created by @watson-ij (Ian J. Watson) for master. It involves the following packages:
@jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f24d83/18445/summary.html Comparison SummarySummary:
|
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.
please also check that HitPattern::printHitPattern
is correct for GEM after this update.
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 looks like neither getGEMStation
nor getGEMLayer
are used in computing anything in cmssw, except for some test printouts via HitPattern::printHitPattern
. So, the validation plots are not expected to change.
please also check that HitPattern::printHitPattern
is correct for GEM after this update.
uint16_t sss = getSubSubStructure(pattern); | ||
if (sss & 0b1000) | ||
return 0; | ||
return (sss >> 2) + 1; |
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.
this looks like a bugfix (a shift by 2 instead of 1 in view of what was encoded as (gemid.station() - 1) << 2
.
Please add a more explicit note about this in the PR description.
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.
Updated the PR
@slava77 Ok thanks. I'll check the print function first, then update the code and PR description |
Co-authored-by: Slava Krutelyov <[email protected]>
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35205/25182
|
@cmsbuild please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f24d83/18489/summary.html Comparison SummarySummary:
|
+reconstruction
|
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 |
ASAN reports an issue possibly caused by this PR, please see #35283 |
PR description:
Updates TrackReco HitPattern to include GE0 in GEM, while keeping it backward compatible for GE1/1 and GE2/1 (i.e. those stations should have same bit pattern as before). Fixes a bug in the decoder which was previously reading the GEM station incorrectly. The HitPattern for GEM is not used so far, so no changes in the output is expected. Requested here: #35033 (comment)
@jshlee @slava77
PR validation:
Ran a ten mu 2026 workflow and checked it ran to completion. Checked the output of printHitPattern after adding in a GEM hit, reads out correctly.
if this PR is a backport please specify the original PR and why you need to backport that PR:
Before submitting your pull requests, make sure you followed this checklist: