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

Discrepancy in table TRACKSUMM of PTC tracking #962

Closed
bogomyag opened this issue Oct 26, 2020 · 5 comments
Closed

Discrepancy in table TRACKSUMM of PTC tracking #962

bogomyag opened this issue Oct 26, 2020 · 5 comments

Comments

@bogomyag
Copy link

I track for 16 turns 15 particles with different X and PT, then in TRACKSUMM table I see that initial coordinates are correct but the final ones are mismatched, i.e. particle 9 having initial PT=-0.5, has PT=0.5 in the second half of the TRACKSUMM table, and particle 10 has correct values of PT.
Also X,PX of the particles 9 and 10 are different between TRACKSUMM and TRACKONE.
Test-1.zip

@bogomyag
Copy link
Author

I forgot to mention the version of madx
++++++++++++++++++++++++++++++++++++++++++++

  • MAD-X 5.06.00  (64 bit, Windows)     +
    
  • Support: mad@cern.ch, http://cern.ch/mad +
  • Release date: 2020.08.13 +
  • Execution date: 2020.10.27 09:05:47 +
    ++++++++++++++++++++++++++++++++++++++++++++

@tpersson
Copy link
Contributor

Thanks for the report. I will have a look.

@tpersson
Copy link
Contributor

tpersson commented Jan 5, 2021

It is indeed very strange this behaviour and I have been looking to fully understand it this enitre morning. I have found that it is actually linked to particle 8 beeing lost which for some reason confuses it so if I make sure it doesn't get lost everything looks fine for me. I will continue a bit more and ask the other collegues in the team if they have any ideas...

@tpersson
Copy link
Contributor

tpersson commented Jan 11, 2021

This bug was fixed in collaboration with @piotrskowronski . It was a problem with the indexing when a particle was lost. This meant that any particle that was lost after the inital lost particle gets the wrong coordinates. The PR that fixes this is #972

@bogomyag
Copy link
Author

Thank you. When is it going to be included in the release?

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

2 participants