5.3.11. s-type = 12 source¶
In this source type, decay-turtle output is read as the source. The parameters for this source type are shown below. The order of parameters is free. Parameters with (D=***) are optional.
value |
explanation |
(D=0.0) |
x coordinate offset of the beam [cm]. |
value |
explanation |
(D=0.0) |
y coordinate offset of the beam [cm]. |
value |
explanation |
(D=0.0) |
z coordinate offset of the beam [cm]. |
value |
explanation |
(D=1) |
Direction cosine. Only 1 or -1 can be set. |
value |
explanation |
Decay-turtle file name with full path. |
The input file is rewound and re-used from the first particle again if all source particles in the decay-turtle file are read before the calculation finishes.
The format of the decay-turtle data is double precision and ASCII. Each record is
xp, xq, yp, yq, e0, wt0, pz0
with the following variables.
xp, yp: Incoming position of beam particle [cm].
xq, yq: Angle against the vertical face with beam direction [mrad].
e0: Momentum of beam particle [GeV/c].
wt0: Weight of beam particle.
pz0: Polarization of beam particle (not used).