<div dir="ltr">Hi Mauro,<br>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.<br>Here's the code I used:<br><br>#-----------------------------------------------------<br>## Collimator<br>/gate/world/daughters/name collimator<br>/gate/world/daughters/insert box<br>/gate/collimator/geometry/setXLength 21 cm<br>/gate/collimator/geometry/setYLength 16 cm<br>/gate/collimator/geometry/setZLength 0.4 cm<br>/gate/collimator/placement/setTranslation 0.0 0.0 -2.0 mm<br>/gate/collimator/setMaterial Tungsten<br>/gate/collimator/vis/setVisible 1<br>/gate/collimator/vis/setColor black<br>/gate/collimator/vis/forceWireframe<br><br>#Insert the first hole of air in the collimator<br>/gate/collimator/daughters/name hole1<br>/gate/collimator/daughters/insert cone<br>/gate/hole1/geometry/setRmin1 0 cm<br>/gate/hole1/geometry/setRmax1 0.2 cm<br>/gate/hole1/geometry/setRmin2 0 cm<br>/gate/hole1/geometry/setRmax2 0.1 cm<br>/gate/hole1/geometry/setHeight 0.2 cm<br>/gate/hole1/placement/setTranslation 0.0 0.0 -0.1 cm<br>/gate/hole1/setMaterial Air<br>/gate/hole1/vis/setVisible 1<br>/gate/hole1/vis/setColor red<br>/gate/hole1/vis/forceWireframe<br><br>#Insert the second hole of air in the collimator<br>/gate/collimator/daughters/name hole2<br>/gate/collimator/daughters/insert cone<br>/gate/hole2/geometry/setRmin1 0 cm<br>/gate/hole2/geometry/setRmax1 0.1 cm<br>/gate/hole2/geometry/setRmin2 0 cm<br>/gate/hole2/geometry/setRmax2 0.2 cm<br>/gate/hole2/geometry/setHeight 0.2 cm<br>/gate/hole2/placement/setTranslation 0.0 0.0 0.1 cm<br>/gate/hole2/setMaterial Air<br>/gate/hole2/vis/setVisible 1<br>/gate/hole2/vis/setColor red<br>/gate/hole2/vis/forceWireframe<br><br><br><br>I hope it can be helpful<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-12 16:48 GMT+02:00 <a href="mailto:MauroNappa@libero.it">MauroNappa@libero.it</a> <span dir="ltr"><<a href="mailto:MauroNappa@libero.it" target="_blank">MauroNappa@libero.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div></div>Dear all<br>My name is Mauro and I have been working on gate since two weeks so far. <br>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.<br>Can anyone help me or give any general suggestion to me.<br>Thank You very much <br>Kind Regards<br>Mauro<br><br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br></blockquote></div><br></div>