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

Dpmjet does not boost intermediate particles #177

Open
jncots opened this issue Sep 12, 2023 · 0 comments
Open

Dpmjet does not boost intermediate particles #177

jncots opened this issue Sep 12, 2023 · 0 comments

Comments

@jncots
Copy link
Collaborator

jncots commented Sep 12, 2023

This issue is related to #170. In DpmJet only final particles are boosted to lab frame. Thus, on graph illustrating history the energies of intermediate (decayed) particles are wrong. I found the place where it could be changed (in Dpmjet code itself):

C in SUBROUTINE DT_LT2LAB

C This

      DO i = NPOint(4) , NHKk
         IF ( (ABS(ISThkk(i)).EQ.1) .OR. (ISThkk(i).EQ.1000) .OR. 
     &        (ISThkk(i).EQ.1001) ) THEN
            CALL DT_LTNUC(PHKk(3,i),PHKk(4,i),pz,pe,-3)
            PHKk(3,i) = pz
            PHKk(4,i) = pe
         END IF
      END DO

C should be changed to

      DO i = 1 , NHKk
            CALL DT_LTNUC(PHKk(3,i),PHKk(4,i),pz,pe,-3)
            PHKk(3,i) = pz
            PHKk(4,i) = pe
      END DO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant