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
Fix sign error in expression in GEM digitizer #34123
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34123/23319
|
A new Pull Request was created by @watson-ij (Ian J. Watson) for master. It involves the following packages: SimMuon/GEMDigitizer @mdhildreth, @cmsbuild, @civanch, @srimanob, @kpedro88 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-5752f3/15955/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Comparison SummarySummary:
|
+1 @watson-ij , may be you can add some plot(s) to description? |
@civanch, yep added a plot showing what the different expressions give for the eff. and how this corresponds to number of gemhits after the update. It looks like theres some minor knock-on effects to the muon parameters in a few of the workflows, and the test picked up some differences from #34103 maybe. I think between those they explain the differences in the plots that are shown in the tests. |
type bug-fix |
+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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
A sign error was introduced when turning magic numbers into named parameter in the following commit:
3347619#diff-a4f2f038afa58c34cba02c63dd10a0a5e318afd43c03b05dd941b99c6e00b3a4
The negative sign is used twice, once in the parameter, once in the expression.
@jshlee @yeckang
PR validation:
Checked on a small test. The GEM digi and rechit distributions changed slightly.
Plotting the eff. expression with the correct (i.e. the original expression, and the expression reverted to by this PR) or incorrect signs (i.e. the expression after the changes to add named parameters instead of magic), you can see that the eff. should be lower for the particular branch:
and you can see slightly less gem hits in the cluster size plot for instance:
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: