[Gate-users] About geometry
Ashok Tiwari
tiwarias at yahoo.com
Mon Nov 5 17:47:40 CET 2018
You mentioned that the crystal ring diameter is 16.1 cm, transaxial and axial FOV are 10.0 cm and 12.7 cm, so the following macro should work.
# W O R L D
/gate/world/geometry/setXLength 20. cm
/gate/world/geometry/setYLength 20. cm
/gate/world/geometry/setZLength 20. cm
# S Y S T E M (E C A T)
/gate/world/daughters/name ecat
/gate/world/daughters/insert cylinder
/gate/ecat/setMaterial Air
/gate/ecat/geometry/setRmax 90.5 mm # Outer diameter
/gate/ecat/geometry/setRmin 80.5 mm # ring diameter 16.1 cm => Radius 80.5 mm
/gate/ecat/geometry/setHeight 127 mm # 12.7 cm axial FOV
/gate/ecat/vis/forceWireframe
# B L O C K
/gate/ecat/daughters/name vol1
/gate/ecat/daughters/insert box
/gate/vol1/placement/setTranslation 85 0 0 mm
/gate/vol1/geometry/setXLength 10.0 mm
/gate/vol1/geometry/setYLength 31.7 mm
/gate/vol1/geometry/setZLength 31.7 mm # 127/4 ( 4-ring) = 31.75 mm
/gate/vol1/setMaterial Air
/gate/vol1/vis/setColor yellow
/gate/vol1/vis/forceWireframe
# C R Y S T A L
/gate/vol1/daughters/name vol2
/gate/vol1/daughters/insert box
/gate/vol2/geometry/setXLength 10.0 mm
/gate/vol2/geometry/setYLength 1.51 mm
/gate/vol2/geometry/setZLength 1.51 mm
/gate/vol2/setMaterial LSO # LSO crystals
/gate/vol2/vis/setColor red
# R E P E A T C R Y S T A L
/gate/vol2/repeaters/insert cubicArray
/gate/vol2/cubicArray/setRepeatNumberX 1
/gate/vol2/cubicArray/setRepeatNumberY 20
/gate/vol2/cubicArray/setRepeatNumberZ 20
/gate/vol2/cubicArray/setRepeatVector 0. 1.59 1.59 mm
# R E P E A T BLOCK
/gate/vol1/repeaters/insert linear
/gate/vol1/linear/setRepeatNumber 4
/gate/vol1/linear/setRepeatVector 0. 0. 31.7 mm
/gate/vol1/repeaters/insert ring
/gate/vol1/ring/setRepeatNumber 16
# A T T A C H S Y S T E M
/gate/systems/ecat/block/attach vol1
/gate/systems/ecat/crystal/attach vol2
# A T T A C H C R Y S T A L SD
/gate/vol2/attachCrystalSD
# Define phantom:
/gate/world/daughters/name phantom
/gate/world/daughters/insert cylinder
/gate/phantom/setMaterial Water
/gate/phantom/vis/forceWireframe
/gate/phantom/vis/setColor green
/gate/phantom/geometry/setRmax 10.0 cm
/gate/phantom/geometry/setHeight 20. cm
/gate/phantom/attachPhantomSD
Ashok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20181105/6be4dfa1/attachment.html>
More information about the Gate-users
mailing list