Skip to content
Riccardo De Maria edited this page Jul 22, 2015 · 20 revisions

#Sixtrack Maps

Coordinate definitions

The particle integer constants are in parti[idx]:

idx name Description
0 npart number of particles
1 ndf float coordinate dimension
2 ndi int coordinate dimension
3 stf offset for float coordinates
4 sti offset for int coordinates

The particle floating point constants are in partf[idx] :

idx name Description
0 p0 Reference momentum [eV/c]
1 beta0 Reference relativistic beta
2 gamma0 Reference relativistic gamma
3 m0 Reference rest mass [eV/c^2]
4 E0 Reference energy [eV]
5 q0 Reference charge [e]

The particle floating point coordinates are in partf[stf + partid * ndf + idx].

idx name Description
0 x x [m]
1 px px [m]
2 y y [m]
3 py py [m]
4 tau s/beta0 - ct [m]
5 pt (E- E0)/(P0 c) []
6 delta (P-P0)/P0 []
7 s s [m]
8 chi (q0/q)*(m/m0)
9 q charge state

The particle integer coordinates are parti[sti + partid * ndi + idx]:

idx name Description
0 pid Particle ID
1 tlost Turn lost
2 parent Parent particle

Maps

Drift

DriftExact

SBend

SBendExact

Multipole

RFMultipole

Solenoid

BeamBeam

Wire

FringeBend

FringeQuad