[Gate-users] Spect pin hole collimator

Giovanna Rosa Fois giovannarosa.fois at gmail.com
Wed May 20 15:56:12 CEST 2015


Hi Mauro,
I have built my pinhole collimator as follows: I first built a single slab
of tungsten and then I have created the holes using two cones.
Here's the code I used:

#-----------------------------------------------------
## Collimator
/gate/world/daughters/name             collimator
/gate/world/daughters/insert           box
/gate/collimator/geometry/setXLength 21 cm
/gate/collimator/geometry/setYLength 16 cm
/gate/collimator/geometry/setZLength 0.4 cm
/gate/collimator/placement/setTranslation 0.0 0.0 -2.0 mm
/gate/collimator/setMaterial Tungsten
/gate/collimator/vis/setVisible 1
/gate/collimator/vis/setColor black
/gate/collimator/vis/forceWireframe

#Insert the first hole of air in the collimator
/gate/collimator/daughters/name        hole1
/gate/collimator/daughters/insert     cone
/gate/hole1/geometry/setRmin1 0 cm
/gate/hole1/geometry/setRmax1 0.2 cm
/gate/hole1/geometry/setRmin2 0 cm
/gate/hole1/geometry/setRmax2 0.1 cm
/gate/hole1/geometry/setHeight 0.2 cm
/gate/hole1/placement/setTranslation 0.0 0.0 -0.1 cm
/gate/hole1/setMaterial    Air
/gate/hole1/vis/setVisible 1
/gate/hole1/vis/setColor red
/gate/hole1/vis/forceWireframe

#Insert the second hole of air in the collimator
/gate/collimator/daughters/name        hole2
/gate/collimator/daughters/insert     cone
/gate/hole2/geometry/setRmin1 0 cm
/gate/hole2/geometry/setRmax1 0.1 cm
/gate/hole2/geometry/setRmin2 0 cm
/gate/hole2/geometry/setRmax2 0.2 cm
/gate/hole2/geometry/setHeight 0.2 cm
/gate/hole2/placement/setTranslation 0.0 0.0 0.1 cm
/gate/hole2/setMaterial    Air
/gate/hole2/vis/setVisible 1
/gate/hole2/vis/setColor red
/gate/hole2/vis/forceWireframe



I hope it can be helpful

2015-05-12 16:48 GMT+02:00 MauroNappa at libero.it <MauroNappa at libero.it>:

> Dear all
> My name is Mauro and I have been working on gate since two weeks so far.
> gate is not very easy for me and I need to construct a pinhole collimator
> geometry, but I can't understand how to write the volume about the pinhole.
> Can anyone help me or give any general suggestion to me.
> Thank You very much
> Kind Regards
> Mauro
>
> _______________________________________________
> Gate-users mailing list
> 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/20150520/ccd78dc3/attachment.html>


More information about the Gate-users mailing list