[Gate-users] generic trapezoid volume (pinhole)
John Apostolakis
John.Apostolakis at cern.ch
Tue May 27 19:24:34 CEST 2014
I am not sure if this will help:
If all your pinholes are the same shape (or can be created by subtracting the same "generic trapezoid" shape from the bigger shape) then in Geant4 at least you only need to define one 'solid'.
Then you subtract it multiple times, with each copy positioned at a different location and/or with a different orientation. ( The orientation will be governed by the rotation matrix and the translation that you give it.)
I hope that I understood your issue - or that someone else can add the specialised GATE knowledge necessary to give better advice.
Regards,
John
===================================================
On May 27, 2014, at 5:50 PM, Débora Salvado wrote:
Dear GATE users,
I'm trying to use the "generic trapezoid" volume to define a multi-pinhole collimator, with each pinhole focusing different parts of the FOV.
Consider the following set-up:
/gate/world/daughters/name trap1
/gate/world/daughters/insert trap
/gate/trap1/geometry/setDx1 26. mm
/gate/trap1/geometry/setDx2 26. mm
/gate/trap1/geometry/setDz 5. mm
/gate/trap1/geometry/setTheta 0. deg
/gate/trap1/geometry/setDy1 26. mm
/gate/trap1/geometry/setDy2 21. mm
/gate/trap1/geometry/setDx3 21. mm
/gate/trap1/geometry/setDx4 21. mm
/gate/trap1/geometry/setPhi 90. deg
/gate/trap1/geometry/setAlp1 0. deg
/gate/trap1/geometry/setAlp2 0. deg
/gate/trap1/setMaterial Air
/gate/trap1/placement/setTranslation 0. 0. 0. mm
When I change the "theta" parameter, the face at +pDz goes up or down in the Y direction.
How can I make that same face move in the X direction (right or left)?
I tried to modify the phi/Alp1/Alp2 parameters, but the visualization either stays the same or it gives me an error...
Thank you in advance,
Debora Salvado
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org<mailto:Gate-users at lists.opengatecollaboration.org>
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140527/d62d0e64/attachment.html>
More information about the Gate-users
mailing list