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.

Table 5.3.115 x0

value

explanation

(D=0.0)

x coordinate offset of the beam [cm].

Table 5.3.116 y0

value

explanation

(D=0.0)

y coordinate offset of the beam [cm].

Table 5.3.117 z0

value

explanation

(D=0.0)

z coordinate offset of the beam [cm].

Table 5.3.118 dir

value

explanation

(D=1)

Direction cosine. Only 1 or -1 can be set.

Table 5.3.119 file

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).