Skip to content
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

Merged
merged 2 commits into from Dec 16, 2014
Merged

new residualdecay #6938

merged 2 commits into from Dec 16, 2014

Conversation

mkirsano
Copy link
Contributor

No description provided.

@cmsbuild
Copy link
Contributor

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.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.

@mkirsano
Copy link
Contributor Author

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.

@bendavid
Copy link
Contributor

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?
https://github.com/cms-sw/cmssw/blob/CMSSW_7_1_X/Configuration/Generator/python/Pythia8CommonSettings_cfi.py

@mkirsano
Copy link
Contributor Author

I took HepMC.h from pythia8, removed some methods and added append_event. In principle the unneeded methods could be left there.

@bendavid
Copy link
Contributor

No no, better to keep the duplication of code to a minimum.

@mkirsano
Copy link
Contributor Author

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.

@bendavid
Copy link
Contributor

Ok, even better. I guess could even just automatically take only the lines starting with "ParticleDecays:"

@mkirsano
Copy link
Contributor Author

I added what we discussed above. Plus some cleaning.

@cmsbuild
Copy link
Contributor

Pull request #6938 was updated. @vciulli, @covarell, @thuer, @cmsbuild, @nclopezo, @bendavid can you please check and sign again.

@mkirsano
Copy link
Contributor Author

pythia8 by default prints out the settings when initialized. The printout that I removed was a duplication.

@mkirsano
Copy link
Contributor Author

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.

@bendavid
Copy link
Contributor

Yes ok agreed. Sorry, getting paranoid these days.

@bendavid
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

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.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

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.

cmsbuild added a commit that referenced this pull request Dec 16, 2014
@cmsbuild cmsbuild merged commit 9085d38 into cms-sw:CMSSW_7_4_X Dec 16, 2014
@cmsbuild
Copy link
Contributor

bendavid pushed a commit to bendavid/cmssw that referenced this pull request Jan 12, 2015
hroskes pushed a commit to hroskes/cmssw that referenced this pull request Feb 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants