<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Dear Gate users,</div><div><br data-mce-bogus="1"></div><div>I am trying to follow the exercices (1 and 2) of <a href="https://davidsarrut.pages.in2p3.fr/gate-exercices-site/docs/welcome/">https://davidsarrut.pages.in2p3.fr/gate-exercices-site/docs/welcome/</a>.<br data-mce-bogus="1"></div><div>When I open the output files (with ImageJ) I obtain only 0 values. <br data-mce-bogus="1"></div><div>Does anyone have any idea why those dose distribution values are all zero?<br data-mce-bogus="1"></div><blockquote><div><br><br># Visualization<br>/vis/open OGLIQt<br>/vis/drawVolume<br>/vis/viewer/flush<br>/tracking/storeTrajectory             1<br>/vis/scene/add/trajectories<br>/vis/scene/endOfEventAction           accumulate<br>/vis/modeling/trajectories/create/drawByParticleID<br><br>/gate/geometry/setMaterialDatabase ../data/GateMaterials.db<br><br># World<br>/gate/world/geometry/setXLength 1 m<br>/gate/world/geometry/setYLength 1 m<br>/gate/world/geometry/setZLength 1 m<br>/gate/world/setMaterial Air<br><br># Water Box<br>/gate/world/daughters/name              waterbox<br>/gate/world/daughters/insert            box<br>/gate/waterbox/geometry/setXLength      40 cm<br>/gate/waterbox/geometry/setYLength      40 cm<br>/gate/waterbox/geometry/setZLength      40 cm<br>/gate/waterbox/placement/setTranslation 0 0 25 cm<br>/gate/waterbox/setMaterial Water<br>/gate/waterbox/vis/setVisible 1<br>/gate/waterbox/vis/setColor blue<br><br># aluminium box<br>/gate/world/daughters/name     alubox<br>/gate/world/daughters/insert    box<br>/gate/alubox/geometry/setXLength      5 cm<br>/gate/alubox/geometry/setYLength      5 cm<br>/gate/alubox/geometry/setZLength      5 cm<br>/gate/alubox/placement/setTranslation 0 0 15 cm<br>/gate/alubox/setMaterial Aluminium<br>/gate/alubox/vis/setVisible 1<br>/gate/alubox/vis/setColor yellow<br><br>#=========<br># PHYSICS<br>#=========<br><br>/gate/physics/addPhysicsList emstandard_opt3<br><br>/gate/physics/Gamma/SetCutInRegion      world 10 mm<br>/gate/physics/Electron/SetCutInRegion   world 10 mm<br>/gate/physics/Positron/SetCutInRegion   world 10 mm<br><br>/gate/physics/Gamma/SetCutInRegion      waterbox 0.01 mm<br>/gate/physics/Electron/SetCutInRegion   waterbox 0.01 mm<br>/gate/physics/Positron/SetCutInRegion   waterbox 0.01 mm<br><br>/gate/physics/displayCuts<br><br><br>#===========<br># DETECTORS<br>#===========<br><br>/gate/actor/addActor                        DoseActor  depthdose<br>/gate/actor/depthdose/save                  output/gamma-depth.txt<br>/gate/actor/depthdose/attachTo            waterbox<br>/gate/actor/depthdose/stepHitType           random<br>/gate/actor/depthdose/setPosition           0 0 0 cm<br>/gate/actor/depthdose/setResolution         1 1 100<br>/gate/actor/depthdose/saveEveryNSeconds     60<br>/gate/actor/depthdose/enableEdep            true<br>/gate/actor/depthdose/enableUncertaintyEdep true<br>/gate/actor/depthdose/enableDose            true<br>/gate/actor/depthdose/enableUncertaintyDose true<br>/gate/actor/depthdose/enableNumberOfHits    true<br><br>/gate/actor/addActor                          DoseActor  doseprofile<br>/gate/actor/doseprofile/save                  output/gamma-profile.txt<br>/gate/actor/doseprofile/attachTo              waterbox<br>/gate/actor/doseprofile/stepHitType           random<br>/gate/actor/doseprofile/setPosition           0 0 4 cm<br>/gate/actor/doseprofile/setResolution         100 1 1<br>/gate/actor/doseprofile/setSize               5 40 40 cm<br>/gate/actor/doseprofile/saveEveryNSeconds     60<br>/gate/actor/doseprofile/enableEdep            true<br>/gate/actor/doseprofile/enableUncertaintyEdep true<br>/gate/actor/doseprofile/enableDose            true<br>/gate/actor/doseprofile/enableUncertaintyDose true<br>/gate/actor/doseprofile/enableNumberOfHits    true<br><br>/gate/actor/addActor               SimulationStatisticActor stat<br>/gate/actor/stat/save              output/gamma-stat.txt<br>/gate/actor/stat/saveEveryNSeconds 60<br><br>/gate/actor/addActor                                              DoseActor  doseDistribution3D_1<br>/gate/actor/doseDistribution3D_1/save                               output/doseDistribution3D_1.hdr<br>/gate/actor/doseDistribution3D_1/attachTo                           waterbox<br>/gate/actor/doseDistribution3D_1/stepHitType                        random<br>/gate/actor/doseDistribution3D_1/setPosition                        0.0 0.0 0.0 um<br>/gate/actor/doseDistribution3D_1/setSize                    40.0 40.0 40.0 um<br>/gate/actor/doseDistribution3D_1/setResolution                      200 200 200<br>/gate/actor/doseDistribution3D_1/enableDose                         true<br>/gate/actor/doseDistribution3D_1/saveEveryNSeconds 60<br><br><br>#=============<br># INITIALISATION<br>#==============<br><br>/gate/run/initialize<br><br>#================<br># BEAMS / SOURCE<br>#================<br><br>/gate/source/addSource mybeam gps<br>/gate/source/mybeam/gps/particle gamma<br>/gate/source/mybeam/gps/pos/type Beam<br>/gate/source/mybeam/gps/pos/rot1 1 1 1<br>#/gate/source/mybeam/gps/pos/rot2 0 0 0<br>/gate/source/mybeam/gps/pos/shape Circle<br>/gate/source/mybeam/gps/pos/centre 0 0 0 mm<br>/gate/source/mybeam/gps/pos/sigma_x 3 mm<br>/gate/source/mybeam/gps/pos/sigma_y 3 mm<br>/gate/source/mybeam/gps/ene/mono 10 MeV<br>/gate/source/mybeam/gps/ene/type Gauss<br>/gate/source/mybeam/gps/ene/sigma 1.0 MeV<br>/gate/source/mybeam/gps/direction 0 0 1<br><br><br>#=============<br># START BEAMS<br>#=============</div><div><br>/gate/random/setEngineName MersenneTwister<br>/gate/random/setEngineSeed auto<br><br>/gate/application/noGlobalOutput<br>/gate/application/setTotalNumberOfPrimaries 1<br>/gate/application/start<br><br><br data-mce-bogus="1"></div></blockquote><div><br></div><div data-marker="__SIG_POST__">Many thanks for your help,<br></div><div data-marker="__SIG_POST__"><br data-mce-bogus="1"></div><div data-marker="__SIG_POST__">Sarah Blind<br data-mce-bogus="1"></div></div></body></html>