Subject | : SAD Update. V1.0.10.4.16a TrackParticles, WriteBeamLine, PrintBeamLine, etc/ |
Article No | : 931 |
Date | : 2011/07/09(Sat) 05:06:21 |
Contributor | : K. Oide |
Dear Users,
1. TrackParticles is modified to perform multiple turns of tracking:
TrackParticles[beam, destination-component, nth, nturn]
returns a beam after the tracking at the entrance of the destination- component. The destination can be specified by the name of the component or by a number obtained by LINE["POSITION", component]. If destination is omitted, the end of the line is assumed.
The argument nturn is the number of turns to be tracked. The default is 1.
The argument nth is a parameter to be passed to tracking to indicate it is in the n-th turn. The number is increased by 1 when it passes the end of beam line. If nth is omitted, 1 is assumed.
The variable beam and also the result of TrackParticles are lists of the form
{location, coordinates}
where location is the position-number of the starting point. If location is same as or in the downstream of destination, the tracking is done by folding across the beginning of the beam line. The coordinates are in a list of {7, np} form, where np is the number of particles. The first 6 elements of coordinates specifies
{x, px/p0, y, py/p0, z, dp/p0}
in this order. The {7, i} is the flag which is True(==1) when the particle is alive, and False(==0) when lost.
When a flag RADLIGHT is on, TrackParticles returns the trajectories of particles which are used to calculate the radiation fields. See RadiationField and RadiationSpectrum.
When PHOTONS is ON (default is OFF), TrackParticles generates a list of all photons radiated through the tracking. The list is assigned to a symbol PhotonList. See also: components LINE PHOTONS PhotonList RADLIGHT TouschekLifetime WakeFunction
2. WriteBeamLine and PrintBeamLine uses ExtrackBeamLine[] if the beam line is omitted:
|