[Gate-users] Problems with minSectorDifference

Stefania Cazzato stefytaek90 at hotmail.it
Wed May 7 14:17:01 CEST 2014




Hi Gate users,I'm doing a thesis where I have to simulate the behavior of an Albira microPET scanner with 2 rings, each having 8 PET detectors placed in octogonal shape: I attach a figure to explain the model and how the detectors are numerated. In the Coincidences output file I found out that GATE doesn't accept coincidences occurred between opposite detectors belonging to the same ring (in the figure, they are the couples 0-8, 2-10, 4-12, 6-14 in the green ring, and 1-9, 3-11, 5-13, 7-15 in the second ring), even though I have fixed the minSectorDifferencer at 1. Can someone explain me why, and how to solve this problem? I attach also the macros describing the structure of the scanner.
Thank you very much!Stefania Cazzato

# 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 0 mm
/gate/PETscanner1/geometry/setHeight 150 mm 
/gate/PETscanner1/vis/setColor grey
/gate/PETscanner1/vis/forceWireframe
/gate/PETscanner1/vis/setVisible 0
#/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 LYSOAlbira 
/gate/trapezoid/vis/setColor green
/gate/trapezoid/vis/forceWireframe 
/gate/trapezoid/placement/setTranslation 0. 0. 62. mm
/gate/trapezoid/vis/setVisible 1
#
#trapezoid is repeated around x axis 
/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 
## ----------------------------------------------------------# FrontPad #
/gate/world/daughters/name FrontPad 
/gate/world/daughters/insert box 
/gate/FrontPad/geometry/setXLength 1.9 mm 
/gate/FrontPad/geometry/setYLength 40. mm 
/gate/FrontPad/geometry/setZLength 40. mm 
/gate/FrontPad/placement/setTranslation 54.85 0. 0. mm 
/gate/FrontPad/setMaterial Nylon 
/gate/FrontPad/vis/setColor blue 
/gate/FrontPad/vis/forceWireframe 
/gate/FrontPad/vis/setVisible 1
##
/gate/FrontPad/repeaters/insert cubicArray 
/gate/FrontPad/cubicArray/setRepeatNumberZ 2
/gate/FrontPad/cubicArray/setRepeatVector 0.0 0.0 54.4 mm 
/gate/FrontPad/repeaters/insert ring 
/gate/FrontPad/ring/enableAutoRotation 
/gate/FrontPad/ring/setRepeatNumber 8
## ----------------------------------------------------------
# ATTACH SYSTEM : definition of your global detector 
/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/20140507/cddcd61c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gate_numbering.jpg
Type: image/jpeg
Size: 100164 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140507/cddcd61c/attachment-0001.jpg>


More information about the Gate-users mailing list