[Gate-users] No Coincidences Output - SOLVED!
lupa euy
lupalagieuy at yahoo.com
Tue Oct 25 08:13:37 CEST 2011
hi there..
I also now have some coincidence output with even simpler way (or easier way) that is by running the program on Gate 6.0_0p1
But strange.. why is it the same file cannot produce coincidence output when its running on Gate 6.1 ???
regards
________________________________
From: 山中 琢 <takuyama at med.hokudai.ac.jp>
To: gate-users <gate-users at lists.opengatecollaboration.org>
Sent: Sunday, October 23, 2011 11:25 PM
Subject: [Gate-users] No Coincidences Output - SOLVED!
Hello Gaters,
I sent a couple of e-mails regarding the coincidences a while ago, and I
finally able to solve the problem.
My solution might not work for everyone, but since it seems that not a few
people having the same kind of problem, I'll explain about my case.
In my case, my system is not the usual cylindrical PET, but the double-head
or parallel PET.
Before, I had the geometry setting the base system as one head and repeating
it for the other side.
I changed that part to set the base system surrounding the total PET
geometry, and added another level for the HEAD.
Then, repeated the HEAD to make the double-head system and attached it to
the level1.
This change finally gave me coincidences.
Part of my working code is shown below.
I tried to get the coincidences by changing the physics, digitizer or
source, but it didn't help me.
Hope this'll help people having trouble with outputs.
-----
# WORLD
/gate/world/geometry/setXLength 240. cm
/gate/world/geometry/setYLength 450. mm
/gate/world/geometry/setZLength 450. mm
# BASE
/gate/world/daughters/name PETscanner
/gate/world/daughters/insert box
/gate/PETscanner/setMaterial Air
/gate/PETscanner/geometry/setXLength 220. cm
/gate/PETscanner/geometry/setYLength 418. mm
/gate/PETscanner/geometry/setZLength 418. mm
/gate/PETscanner/placement/setTranslation 0. 0. 0. cm
/gate/PETscanner/vis/forceWireframe
/gate/PETscanner/vis/setVisible 0
# HEAD
/gate/PETscanner/daughters/name head
/gate/PETscanner/daughters/insert box
/gate/head/setMaterial Air
/gate/head/geometry/setXLength 200. mm
/gate/head/geometry/setYLength 418. mm
/gate/head/geometry/setZLength 418. mm
/gate/head/placement/setTranslation 100. 0. 0. cm
/gate/head/vis/forceWireframe
# ALUMINUM PLATE
/gate/head/daughters/name AlPlate
/gate/head/daughters/insert box
/gate/AlPlate/setMaterial Aluminium
/gate/AlPlate/geometry/setXLength 5. mm
/gate/AlPlate/geometry/setYLength 418. mm
/gate/AlPlate/geometry/setZLength 418. mm
/gate/AlPlate/placement/setTranslation -97.5 0 0 mm
/gate/AlPlate/vis/setColor grey
/gate/AlPlate/vis/forceSolid
# SENSOR
/gate/head/daughters/name sensor_case
/gate/head/daughters/insert box
/gate/sensor_case/geometry/setXLength 85.5 mm
/gate/sensor_case/geometry/setYLength 31.8 mm
/gate/sensor_case/geometry/setZLength 31.8 mm
/gate/sensor_case/placement/setTranslation -52.25 0. 0. mm
/gate/sensor_case/setMaterial Air #change later
/gate/sensor_case/vis/setColor white
/gate/sensor_case/vis/forceWireframe
# PMT
/gate/sensor_case/daughters/name PMT
/gate/sensor_case/daughters/insert box
/gate/PMT/setMaterial Water #change later?
/gate/PMT/geometry/setXLength 30. mm
/gate/PMT/geometry/setYLength 25. mm
/gate/PMT/geometry/setZLength 25. mm
/gate/PMT/placement/setTranslation 0.25 0. 0. mm
/gate/PMT/vis/setColor blue
/gate/PMT/vis/forceWireframe
# SCINTILLATOR
/gate/sensor_case/daughters/name scinti
/gate/sensor_case/daughters/insert box
/gate/scinti/geometry/setXLength 25. mm
/gate/scinti/geometry/setYLength 2.5 mm
/gate/scinti/geometry/setZLength 2.5 mm
/gate/scinti/placement/setTranslation -27.25 0. 0. mm
/gate/scinti/setMaterial GSO
/gate/scinti/vis/setColor white
#/gate/scinti/vis/setLineStyle dotted
/gate/scinti/vis/setLineWidth 2
/gate/scinti/vis/forceWireframe
# REPEAT SCINTILLATOR
/gate/scinti/repeaters/insert cubicArray
/gate/scinti/cubicArray/setRepeatNumberX 1
/gate/scinti/cubicArray/setRepeatNumberY 9
/gate/scinti/cubicArray/setRepeatNumberZ 9
/gate/scinti/cubicArray/setRepeatVector 0. 2.5 2.5 mm
# REPEAT SENSOR
/gate/sensor_case/repeaters/insert cubicArray
/gate/sensor_case/cubicArray/setRepeatNumberX 1
/gate/sensor_case/cubicArray/setRepeatNumberY 12
/gate/sensor_case/cubicArray/setRepeatNumberZ 12
/gate/sensor_case/cubicArray/setRepeatVector 0. -33. 33. mm
# REPEAT HEAD
/gate/head/repeaters/insert ring
/gate/head/ring/setRepeatNumber 2
/gate/head/ring/setAngularSpan 180. deg
# ATTACH SYSTEM
/gate/systems/PETscanner/level1/attach head
/gate/systems/PETscanner/level2/attach sensor_case
/gate/systems/PETscanner/level3/attach scinti
# ATTACH CRYSTAL SD
/gate/scinti/attachCrystalSD
# DIGITIZER
/gate/digitizer/Singles/insert adder
/gate/digitizer/Singles/insert readout
/gate/digitizer/Singles/readout/setDepth 1
# ENERGY BLURRING
/gate/digitizer/Singles/insert blurring
/gate/digitizer/Singles/blurring/setResolution 0.19
# energy resolution of 19%
/gate/digitizer/Singles/blurring/setEnergyOfReference 511. keV
# ENERGY WINDOW 350-600keV
/gate/digitizer/Singles/insert thresholder
/gate/digitizer/Singles/thresholder/setThreshold 1. keV #gamma, 1kev for
e-
#/gate/digitizer/Singles/insert upholder
#/gate/digitizer/Singles/upholder/setUphold 650. keV
# COINCIDENCE SORTER
/gate/digitizer/Coincidences/setWindow 50. ns
/gate/digitizer/Coincidences/MultiplesPolicy takeAllGoods
/gate/digitizer/Coincidences/minSectorDifference 1
/gate/digitizer/Coincidences/setDepth 1
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
More information about the Gate-users
mailing list