[Gate-users] Phase Space File orientation
G Tom
gregthom992 at gmail.com
Tue May 2 04:16:58 CEST 2017
Hi all
I have this phase space header fil there the following variables are
recorded:
$RECORD_CONTENTS:
1 // X is stored ?
1 // Y is stored ?
0 // Z is stored ?
1 // U is stored ?
1 // V is stored ?
0 // W is stored ?
0 // Weight is stored ?
0 // Extra floats stored ?
0 // Extra longs stored ?
Where particles are recorded at constant Z = 26.7cm. Z-axis is along(
parallel) to the source to origin axis.
I loaded the files in GATE using :
/gate/world/daughters/name PhS_Plane
/gate/world/daughters/insert box
/gate/PhS_Plane/setMaterial Vacuum
/gate/PhS_Plane/geometry/setXLength 13.0 cm # see
/gate/PhS_Plane/geometry/setYLength 13.0 cm
/gate/PhS_Plane/geometry/setZLength 1 nm
/gate/PhS_Plane/placement/setTranslation 0 0 0 cm
/gate/PhS_Plane/vis/setColor white
/gate/source/addSource v2phsp phaseSpace
/gate/source/v2phsp/attachTo PhS_Plane
however, my particles properly emerge from the phase space plane but their
initial direction is radially. I suspect the direction cosines are not in
the right direction when read in GATE
How can I re-orient each particle to point towards the origin in the
attached figure ?
Thanks for any help.
GT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170501/2ea10f61/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phase_space_orientation.png
Type: image/png
Size: 5212 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170501/2ea10f61/attachment.png>
More information about the Gate-users
mailing list