Enable pythia8 selective channel on/off#483
Open
nusense wants to merge 6 commits into
Open
Conversation
previous it only processed "true" cases for "InhibitDecay/Particle=/Channel=" entries also warn against attempting to modify channels that don't exist Process "PrintParticleDecayChannels=" XML lines provide dummy PrintDecayChannelInfo method used by all but Pythia8Decayer2023
Make FindPythiaDecayChannel public for use in debugging Remove unused MatchDecayChannels method
…nnels in Pythia8 Implement method for matching PDGLibrary/TDatabasePDG channels to Pythia8 channels FindPythiaDecayChannel(); give warnings if a match isn't found Correct state flipping of onMode for turning "on" channels Implement new virtual PrintDecayChannelInfo() method specific to Pythia8 case
in particular that PDGLibrary/TDatabasePDG might not map to any Pythia8 channel Add example for using PrintParticleDecayChannels= param
LiangLiu212
reviewed
May 11, 2026
Contributor
|
I tested it with tau(15) and D(411) and it works as expected. I'm going to approve this PR. However, we have a issue with DIS event record. The second mother index of the diquark in the final state is 7. This may indicate an issue within the FSI code, specifically that the daughter particle directly replicates the state of its parent, as I discussed with Robert. Best. Liang Liu |
LiangLiu212
approved these changes
May 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement method for matching PDGLibrary/TDatabasePDG channels to Pythia8 channels via FindPythiaDecayChannel(); give warnings if a match isn't found
Correct state flipping of onMode for turning "on" channels
Implement new virtual PrintDecayChannelInfo() method specific to Pythia8 case
Add to more comments to config/CommonDecay.xml regarding these changes