[Gate-users] Attach source to repeated volume
Débora Salvado
debbiesal at gmail.com
Tue Mar 31 15:11:26 CEST 2015
Dear GATE users,
Does anyone know how to attach a source to a volume which was previously
defined as linear and ring repeater?
I have my volume:
/gate/bore/daughters/name luoxy
/gate/bore/daughters/insert box
/gate/luoxy/geometry/setXLength 32.0 mm
/gate/luoxy/geometry/setYLength 20.0 mm
/gate/luoxy/geometry/setZLength 32.0 mm
/gate/luoxy/setMaterial Air
/gate/luoxy/placement/setTranslation 0. 315. 0.0 mm
/gate/luoxy/repeaters/insert linear
/gate/luoxy/linear/setRepeatNumber 8
/gate/luoxy/linear/setRepeatVector 0. 0. 32. mm
/gate/luoxy/repeaters/insert ring
/gate/luoxy/ring/setRepeatNumber 5
/gate/luoxy/ring/setFirstAngle -12.8 deg
/gate/luoxy/ring/setAngularSpan 25.6 deg
I tried to just attach the source to the defined volume:
/gate/source/luoxysrc1/attachTo luoxy
but when I look at the wrl file, there's only photons coming from one
volume, not all the repeated copies...
I also tried to define the repeater in the source, as if it was a normal
volume:
/gate/source/luoxysrc1/gps/repeaters/insert linear
but it gives me an error (doesn't recognize the command)
Any ideas?
Regards,
Debora Salvado, MSc
PhD Student
University College London
INM, UCLH, (T-5) 235 Euston Road
London NW1 2BU
UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150331/b0b5d95d/attachment.html>
More information about the Gate-users
mailing list