Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

vkbo
Copy link
Member

@vkbo vkbo commented Jul 13, 2019

Just looked at the variables definitions in the DUMP section.

I added the scaling factor for xp & yp, but for consistency, I removed those and updated the units instead. Also, the array variable for momentum was wrong.

The delta array should also be scaled by 1000, right?

Also, if ejfv is "Pc", shouldn't e0f be "P0 c"?

@vkbo vkbo requested review from amereghe and rdemaria July 13, 2019 11:33
@rdemaria
Copy link
Contributor

At least internally dpsv should be unscaled if I remember correctly....

@vkbo
Copy link
Member Author

vkbo commented Jul 13, 2019

You're right. It's in the tas matrix the factor 1000 comes in, not the array itself.

Although dpsv1 is scaled.

@rdemaria
Copy link
Contributor

I would use the following rule:

Value = Formula / Unit

ejfv [MeV/c] $P$ means that if I take P in SI units and MeV/c in SI units P/(MeV/c) gives the numerical value in ejfv.

This works also for xv

xv [1/1000] Px/P means that xv=(Px/P)/(1/1000)

@vkbo vkbo merged commit 5fa49a3 into SixTrack:master Jul 22, 2019
@vkbo vkbo deleted the doc_updates branch August 1, 2019 08:17
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

Successfully merging this pull request may close these issues.

2 participants