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
new residualdecay #6938
new residualdecay #6938
Conversation
A new Pull Request was created by @mkirsano for CMSSW_7_4_X. new residualdecay It involves the following packages: GeneratorInterface/Pythia8Interface @vciulli, @covarell, @thuer, @cmsbuild, @nclopezo, @bendavid can you please review it and eventually sign? Thanks. |
This should solve the problem of double counting and incorrect event structure in the cases when residual decays are cascade decays (this can happen for K0s). The idea is to test it and then propose to add the method used here to the pythia8 code. |
Is the HepMCA2.h file copied verbatim from pythia, or are there changes here specifically for the residualDecay use case? How do we want to deal with configuring the residualDecays consistently with the main pythia8 instance as far as the decay length limits are concerned? Do we want to hardcode the defaults? |
I took HepMC.h from pythia8, removed some methods and added append_event. In principle the unneeded methods could be left there. |
No no, better to keep the duplication of code to a minimum. |
It is of course easier to hardcode the parameters. But in principle I think they can be extracted at runtime from the main generator and put into the decayer. |
Ok, even better. I guess could even just automatically take only the lines starting with "ParticleDecays:" |
I added what we discussed above. Plus some cleaning. |
pythia8 by default prints out the settings when initialized. The printout that I removed was a duplication. |
I think the changes to MasterGen initialization are rather obvious: just remove the code duplication and add a message to distinguish between settings printout for it and for the Decayer. I tested this. |
Yes ok agreed. Sorry, getting paranoid these days. |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes or unless it breaks tests. |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes (tests are also fine). This pull request will be automatically merged. |
new residualdecay
new residualdecay
No description provided.