<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Yes !</div><div><br></div><div><span id="zwchr" data-marker="__DIVIDER__">----- Le 13 Déc 21, à 14:40, Matthew Strugari <matthew.strugari@dal.ca> a écrit :<br></span></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
Did you increase your number of primaries from 1?<br>
<br>
<div dir="ltr">Matthew</div>
<div dir="ltr"><br>
<blockquote>On Dec 13, 2021, at 9:00 AM, Sarah Blind <sarah.blind@univ-lorraine.fr> wrote:<br>
<br>
</blockquote>
</div>
<blockquote>
<div dir="ltr">
<table align="center" border="0" cellpadding="0" cellspacing="0" style="padding:10px 0 10px 0" width="100%">
<tbody>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<table align="center" border="0" cellpadding="0" cellspacing="0" style="background:#707372;background-color:#707372;width:100%;border-radius:5px;overflow:hidden;">
<tbody>
<tr>
<td style="border-top:solid 8px #fbe122;padding:4px 8px;text-align:left;vertical-align:top;">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="left">
<div style="font-family:Arial,sans-serif;font-size:12px;line-height:16px;text-align:left;color:#ffffff;">
<span style="font-weight:bold;font-size:12px;">CAUTION:</span> The Sender of this email is not from within Dalhousie.</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>

<div>
<div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">
<div>I still have the same problem even without  <span style="color: #000000; font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">
<span> </span>/gate/application/noGlobalOutput ...</span></div>
<div><br>
</div>
<div><span id="zwchr">----- Le 13 Déc 21, à 13:43, Matthew Strugari <matthew.strugari@dal.ca> a écrit :<br>
</span></div>
<div>
<blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
Hi Sarah,
<div><br>
</div>
<div>You have the output disabled. Remove /gate/application/noGlobalOutput from your macro and try again.<br>
<br>
Best,<br>
<div dir="ltr">Matthew</div>
<div dir="ltr"><br>
<blockquote>On Dec 13, 2021, at 6:19 AM, Sarah Blind <sarah.blind@univ-lorraine.fr> wrote:<br>
<br>
</blockquote>
</div>
<blockquote>
<div dir="ltr">
<table align="center" border="0" cellpadding="0" cellspacing="0" style="padding:10px 0 10px 0" width="100%">
<tbody>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<table align="center" border="0" cellpadding="0" cellspacing="0" style="background:#707372;background-color:#707372;width:100%;border-radius:5px;overflow:hidden;">
<tbody>
<tr>
<td style="border-top:solid 8px #fbe122;padding:4px 8px;text-align:left;vertical-align:top;">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="left">
<div style="font-family:Arial,sans-serif;font-size:12px;line-height:16px;text-align:left;color:#ffffff;">
<span style="font-weight:bold;font-size:12px;">CAUTION:</span> The Sender of this email is not from within Dalhousie.</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<div>
<div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">
<div>Dear Gate users,</div>
<div><br>
</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/" target="_blank">
https://davidsarrut.pages.in2p3.fr/gate-exercices-site/docs/welcome/</a>.<br>
</div>
<div>When I open the output files (with ImageJ) I obtain only 0 values. <br>
</div>
<div>Does anyone have any idea why those dose distribution values are all zero?<br>
</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>
</div>
</blockquote>
<div><br>
</div>
<div>Many thanks for your help,<br>
</div>
<div><br>
</div>
<div>Sarah Blind<br>
</div>
</div>
</div>
<span>_______________________________________________</span><br>
<span>Gate-users mailing list</span><br>
<span>Gate-users@lists.opengatecollaboration.org</span><br>
<span>http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</span></div>
</blockquote>
</div>
<br>
</blockquote>
</div>
<div><br>
</div>
<div>-- <br>
</div>
<div>Sarah Blind<br>
Ingénieure de recherche - CNRS<br>
Centre de Recherche en Automatique de Nancy (CRAN)   <br>
Département Biologie, Signaux et Systèmes en Cancérologie et Neurosciences (BioSiS)<br>
Site de la faculté de médecine <br>
9, Avenue de la Forêt de Haye <br>
54505 Vandoeuvre les Nancy <br>
Tél : 03.72.74.61.13</div>
</div>
</div>
</div>
</blockquote><br></blockquote></div><div><br></div><div data-marker="__SIG_POST__">-- <br></div><div>Sarah Blind<br>Ingénieure de recherche - CNRS<br>Centre de Recherche en Automatique de Nancy (CRAN)   <br>Département Biologie, Signaux et Systèmes en Cancérologie et Neurosciences (BioSiS)<br>Site de la faculté de médecine <br>9, Avenue de la Forêt de Haye <br>54505 Vandoeuvre les Nancy <br>Tél : 03.72.74.61.13</div></div></body></html>