[Gate-users] Help with Dose Actor
Josh Knowland
jknowland at lucernodynamics.com
Thu Jan 10 23:01:01 CET 2019
Hello all,
I am attempting to use the Dose Actor, but I get inconsistent results.
My macro is listed below. It consists of two blocks of water, each 200mm x 200mm x 100mm that are next to each other. A 25mm sphere of water is 100mm away from the blocks and contains a 100,000 bq Fluor18 positron source.
Both blocks of water get hits and singles like they should. However, neither one is registering any dose. The Dose Actor creates output files correctly, but they are all zeros.
What am I doing wrong?
Thank you
/vis/disable
#############################################
# WORLD
#############################################
/gate/geometry/setMaterialDatabase LMaterials.txt
/gate/world/geometry/setXLength 630.00 mm
/gate/world/geometry/setYLength 210.00 mm
/gate/world/geometry/setZLength 210.00 mm
/gate/world/setMaterial Air
#********************************************
# Block1
#********************************************
/gate/world/daughters/name Block1
/gate/world/daughters/systemType scanner
/gate/world/daughters/insert tessellated
/gate/Block1/geometry/setPathToSTLFile STL_Files/Block1.stl
/gate/Block1/setMaterial Water
/gate/Block1/vis/setColor white
/gate/Block1/vis/setVisible true
/gate/Block1/vis/forceSolid
#********************************************
# Block2
#********************************************
/gate/world/daughters/name Block2
/gate/world/daughters/systemType scanner
/gate/world/daughters/insert tessellated
/gate/Block2/geometry/setPathToSTLFile STL_Files/Block2.stl
/gate/Block2/setMaterial Water
/gate/Block2/vis/setColor white
/gate/Block2/vis/setVisible true
/gate/Block2/vis/forceSolid
#********************************************
# Source
#********************************************
/gate/world/daughters/name Source
/gate/world/daughters/systemType scanner
/gate/world/daughters/insert tessellated
/gate/Source/geometry/setPathToSTLFile STL_Files/Source.stl
/gate/Source/setMaterial Water
/gate/Source/vis/setColor white
/gate/Source/vis/setVisible true
/gate/Source/vis/forceSolid
#############################################
# SCANNER
#############################################
/gate/Block1/attachCrystalSD
/gate/Block2/attachCrystalSD
#############################################
# PHYSICS
#############################################
/gate/physics/addPhysicsList emstandard
/gate/physics/addProcess Decay
/gate/physics/addProcess RadioactiveDecay
#############################################
# DOSE ACTOR
#############################################
/gate/actor/addActor DoseActor Block1_DoseActor
/gate/actor/Block1_DoseActor/save DoseTest_00__Block1.txt
/gate/actor/Block1_DoseActor/attachTo Block1
/gate/actor/Block1_DoseActor/stepHitType random
/gate/actor/Block1_DoseActor/setSize 101 201 201 mm
/gate/actor/Block1_DoseActor/setResolution 10 20 20
/gate/actor/Block1_DoseActor/enableDose true
/gate/actor/addActor DoseActor Block2_DoseActor
/gate/actor/Block2_DoseActor/save DoseTest_00__Block2.txt
/gate/actor/Block2_DoseActor/attachTo Block2
/gate/actor/Block2_DoseActor/stepHitType random
/gate/actor/Block2_DoseActor/setSize 101 201 201 mm
/gate/actor/Block2_DoseActor/setResolution 10 20 20
/gate/actor/Block2_DoseActor/enableDose true
#############################################
# INITIALISATION
#############################################
/gate/random/setEngineName MersenneTwister
/gate/random/setEngineSeed auto
/gate/run/initialize
#############################################
# SOURCES
#############################################
/gate/source/addSource src_Source
/gate/source/src_Source/gps/particle e+
/gate/source/src_Source/gps/energytype Fluor18
/gate/source/src_Source/setForcedUnstableFlag true
/gate/source/src_Source/setForcedHalfLife 6586 s
/gate/source/src_Source/setActivity 0.002703 mCi
/gate/source/src_Source/gps/type Volume
/gate/source/src_Source/gps/shape Para
/gate/source/src_Source/gps/centre 0.000 0.000 0.000 mm
/gate/source/src_Source/gps/halfx 25.000 mm
/gate/source/src_Source/gps/halfy 25.000 mm
/gate/source/src_Source/gps/halfz 25.000 mm
/gate/source/src_Source/gps/angtype iso
/gate/source/src_Source/gps/confine Source_phys
#############################################
# DIGITIZER
#############################################
/gate/digitizer/Singles/insert adder
#############################################
# OUTPUT
#############################################
/gate/output/ascii/enable
/gate/output/ascii/setFileName DoseTest_00_
/gate/output/ascii/setOutFileSinglesFlag 1
/gate/output/ascii/setOutFileHitsFlag 0
#############################################
# EXPERIMENT
#############################################
/gate/output/allowNoOutput
/gate/application/setTimeSlice 1.0000 s
/gate/application/setTimeStart 0.0000 s
/gate/application/setTimeStop 1.0000 s
/gate/application/startDAQ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20190110/930bc77d/attachment.html>
More information about the Gate-users
mailing list