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 all other guns #36420
Update all other guns #36420
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36420/27235
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-36420/27238
|
A new Pull Request was created by @mkirsano (Mikhail Kirsanov) for master. It involves the following packages:
@SiewYan, @mkirsano, @Saptaparna, @cmsbuild, @GurpreetSinghChahal, @agrohsje, @alberto-sanchez 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-3f47b4/21103/summary.html Comparison SummarySummary:
|
+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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
@mkirsano could you please comment about the changes in the outputs of wf 1306.0 which are visible in the test results? |
How can I look at the configurations in 1306? Did not find them in logs. |
(that you can reach from #36420 (comment), "Comparison failed", etc.) |
1306 involves Pythia8PtGun [1], which is changed by this PR [2]. @mkirsano Please check whether the differences [3] are expected or not. |
I compared how the configuration GEN-SIM of wf1306 works, and I see no difference. The second event at the generator level is the same, which means that Geant4 had the same input in the first event (random sequence did not change). Output slightly increased because of one more particle in HepMC record (so simhits did not disappear). |
Thanks @mkirsano Would you please elaborate more on above? |
Unlike HepMC2, HepMC3 creates a record from a tree, starting from beam particle(s). In previous variant of guns there were no beam particles and no well defined tree. If HepMC3 is used, the record would be empty. This PR changes this, adding a dummy "beam" particle. Its status is not "final state" particle, so it is not taken by Geant4. |
+1 |
PR description:
Change all remaining Pythia8 guns similarly to Py8EGun (preparation for hepmc3, PR #35700)
PR validation:
Tested by running test configuration in Pythia8Interface/test
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: