-
Hello, I have a question on the sign of the ImpactX longitudinal "t" coordinate. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@Binabek ImpactX uses the lattice position |
Beta Was this translation helpful? Give feedback.
-
What you wrote is exactly correct for a particle moving at the reference velocity (with no transverse momentum or momentum deviation). For a general particle, it is correct to linear order in the phase space variables, and this is what I usually use if asked to plot the distribution in Strictly speaking, there are nonlinear corrections that could be important at low energy. To second order: |
Beta Was this translation helpful? Give feedback.
@Binabek ImpactX uses the lattice position$s$ as the independent variable. At a fixed lattice position $s$ , different particles will arrive at different times $t$ . If $t_0$ denotes the arrival time of the reference particle, then for each particle $t_{impactX}=c\Delta t$ , where $\Delta t=t-t_0$ . The relationships that you give between $s$ and $t$ are correct only if there is no acceleration and all particles start the simulation with an initial value of $t=0$ . (In general, this is not the case. For example, even at the source, different particles are emitted at different times.)