[Gate-users] Object interfering with the simulation - Ring repeater bug
Stefania Cazzato
stefytaek90 at hotmail.it
Thu Nov 28 17:39:34 CET 2013
Hi Gate users,I'm trying to simulate a microPET scanner as shown in the figure, using the PETscanner system. To correctly put the sensitive detectors (trapezoid shapes, in green) inside the PETscanner (grey cylinder along Z axis) I had to introduce another cylinder, called PETscanner1 (grey cylinder along X axis). However this object interfere with the simulation, 'deleting' the events that should be detected by the portion of the trapezoids inside PETscanner1 (looking at the Coincidences, there is a circular 'hole' of exactly the same dimensions of PETscanner1) . Do you know how to solve this problem? I tried to create the detectors using only PETscanner, but (as I read on a previous comment) it seems there is a problem with the ring repeater, and my efforts were useless.Thanks in advance!Stefania
/vis/open OGLSX/vis/viewer/reset/vis/viewer/set/viewpointThetaPhi 25 45/vis/drawVolume/vis/viewer/update/gate/geometry/setMaterialDatabase ..../gate/world/geometry/setXLength 150. cm/gate/world/geometry/setYLength 150. cm/gate/world/geometry/setZLength 150. cm
# PETscanner: #/gate/world/daughters/name PETscanner/gate/world/daughters/insert cylinder/gate/PETscanner/setMaterial Air/gate/PETscanner/geometry/setRmax 70 mm/gate/PETscanner/geometry/setRmin 55.8 mm/gate/PETscanner/geometry/setHeight 150 mm /gate/PETscanner/vis/setColor grey/gate/PETscanner/vis/forceWireframe/gate/PETscanner/vis/setVisible 1### PETscanner1 (Cylinder where we put the trpd shape)#/gate/PETscanner/daughters/name PETscanner1/gate/PETscanner/daughters/insert cylinder/gate/PETscanner1/setMaterial Air/gate/PETscanner1/geometry/setRmax 70 mm/gate/PETscanner1/geometry/setRmin 55.8 mm/gate/PETscanner1/geometry/setHeight 150 mm /gate/PETscanner1/vis/setColor grey/gate/PETscanner1/vis/forceWireframe/gate/PETscanner1/vis/setVisible 1#/gate/PETscanner1/placement/setRotationAxis 0 1 0 /gate/PETscanner1/placement/setRotationAngle 90 deg## ----------------------------------------------------------# Trapezoid #/gate/PETscanner1/daughters/name trapezoid /gate/PETscanner1/daughters/insert trpd /gate/trapezoid/geometry/setX1Length 40 mm /gate/trapezoid/geometry/setY1Length 40 mm /gate/trapezoid/geometry/setX2Length 50 mm /gate/trapezoid/geometry/setY2Length 50 mm /gate/trapezoid/geometry/setZLength 12 mm /gate/trapezoid/setMaterial LSO/gate/trapezoid/vis/setColor green/gate/trapezoid/vis/forceWireframe /gate/trapezoid/placement/setTranslation 0. 0. 62. mm#/gate/trapezoid/repeaters/insert ring /gate/trapezoid/ring/enableAutoRotation /gate/trapezoid/ring/setFirstAngle 270 deg# the above line sets the first detector at 12 hour /gate/trapezoid/ring/setPoint1 0. 0. 0. mm /gate/trapezoid/ring/setPoint2 1. 0. 0. mm /gate/trapezoid/ring/setRepeatNumber 8 /gate/trapezoid/repeaters/insert cubicArray /gate/trapezoid/cubicArray/setRepeatNumberX 2 /gate/trapezoid/cubicArray/setRepeatVector 54.4 0.0 0.0 mm #/gate/geometry/rebuild/vis/viewer/zoom 6### ATTACH SYSTEM /gate/systems/PETscanner/level1/attach trapezoid# ATTACH LAYER SD :/gate/trapezoid/attachCrystalSD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131128/e6d6a239/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Schermata 11-2456625 alle 17.32.17.png
Type: image/png
Size: 25932 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131128/e6d6a239/attachment-0001.png>
More information about the Gate-users
mailing list