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

set decay time in the right place for the antiparticle in Pythia8PtGun #16743

Merged

Conversation

slava77
Copy link
Contributor

@slava77 slava77 commented Nov 23, 2016

oddly enough, before this fix the not only the anti-particle doesn't decay,
but also the decaying particle comes out with ctau=0 (prompt decays).

K-gun with decays allowed:
Before:

eo->Scan("recoGenParticles_genParticles__GEN.obj.pdgId():recoGenParticles_genParticles__GEN.obj.vx():recoGenParticles_genParticles__GEN.obj.vy():recoGenParticles_genParticles__GEN.obj.vz():recoGenParticles_genParticles__GEN.obj.pt()")
***********************************************************************************
*    Row   * Instance * recoGenPa * recoGenPa * recoGenPa * recoGenPa * recoGenPa *
***********************************************************************************
*        0 *        0 *      -321 * 0.1056949 * 0.1692507 * 1.3009399 * 60.489666 *
*        0 *        1 *       321 * 0.1056949 * 0.1692507 * 1.3009399 * 60.489666 *
*        0 *        2 *       -13 * 0.1056949 * 0.1692507 * 1.3009399 * 26.971918 *
*        0 *        3 *        14 * 0.1056949 * 0.1692507 * 1.3009399 * 33.517959 *

After:

e->Scan("recoGenParticles_genParticles__GEN.obj.pdgId():recoGenParticles_genParticles__GEN.obj.vx():recoGenParticles_genParticles__GEN.obj.vy():recoGenParticles_genParticles__GEN***********************************************************************************
*    Row   * Instance * recoGenPa * recoGenPa * recoGenPa * recoGenPa * recoGenPa *
***********************************************************************************
*        0 *        0 *      -321 * 0.1052539 * 0.1674712 * -4.651619 * 52.327102 *
*        0 *        1 *       321 * 0.1052539 * 0.1674712 * -4.651619 * 52.327102 *
*        0 *        2 *       -13 * 14.896501 * -98.68802 * 8.3533515 * 36.057064 *
*        0 *        3 *        14 * 14.896501 * -98.68802 * 8.3533515 * 16.271556 *

note vx,vy,vz for muons
(both +13 and -13 show up).

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @slava77 (Slava Krutelyov) for CMSSW_9_0_X.

It involves the following packages:

GeneratorInterface/Pythia8Interface

@cmsbuild, @govoni, @perrozzi, @thuer, @davidlange6 can you please review it and eventually sign? Thanks.
@agrohsje, @mkirsano this is something you requested to watch as well.
@slava77, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@slava77
Copy link
Contributor Author

slava77 commented Nov 23, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 23, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/16571/console

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@perrozzi
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_9_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar

@davidlange6 davidlange6 merged commit eb57e3e into cms-sw:CMSSW_9_0_X Nov 26, 2016
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

5 participants