<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dear Uwe Pietrzyk, dear all,</p>
<p>with the help of my colleague Chiara and your suggestion it
works, thank you. The full code for the source now is</p>
<p>----</p>
<p>/gate/source/addSource point_Na22<br>
<br>
/gate/source/point_Na22/gps/particle ion<br>
/gate/source/point_Na22/gps/ion 11 22 0 0 <br>
/gate/source/point_Na22/setForcedUnstableFlag true<br>
/gate/source/point_Na22/useDefaultHalfLife</p>
<p>/gate/source/MySource/gps/type Point</p>
<p>/gate/source/point_Na22/gps/centre {source_x} {source_y}
{source_z} cm<br>
/gate/source/point_Na22/setActivity {source_activity} becquerel<br>
</p>
<p>----</p>
<p>should somebody need this in the future.<br>
</p>
<p>Cheers,</p>
<p>Jannis<br>
</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">Am 18.01.2017 um 17:15 schrieb
Pietrzyk, Uwe:<br>
</div>
<blockquote
cite="mid:7390965F-FDD4-4C20-B79D-FC4850D87649@fz-juelich.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div><br>
</div>
<div>Hi, Jannis Fischer,</div>
<div><br>
</div>
<div>maybe you should try with the two following lines and replace</div>
<div>the current ones in your macro by</div>
<div><br>
</div>
<div>/gate/physics/addPhysicsList emstandard_opt3</div>
/gate/physics/addProcess RadioactiveDecay
<div><br>
</div>
<div>I had no problem in simulating radioactive decay this way.</div>
<div><br>
</div>
<div>Hope this helps,</div>
<div><br>
</div>
<div>Kind regards,</div>
<div><br>
</div>
<div>Uwe Pietrzyk</div>
<div><br>
</div>
<div><br>
<div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;">
<div><span style="orphans: 2; widows: 2;">/----------------------------------------------------------------------</span></div>
<div style="orphans: 2; widows: 2;">Prof. Dr. Uwe Pietrzyk<br>
Diplom-Physiker<br>
Institut für Neurowissenschaften und Medizin / INM-4<br>
Forschungszentrum Jülich GmbH<br>
52425 Jülich<br>
Tel: +49-2461-61 4763<br>
Fax: +49-2461-61 2820<br>
Mobil: +49-162-103-4871<br>
eMail: <a moz-do-not-send="true"
href="mailto:U.Pietrzyk@fz-juelich.de">U.Pietrzyk@fz-juelich.de</a><br>
<a moz-do-not-send="true"
href="http://www.fz-juelich.de/inm/inm-4/DE/Home/home_node.html">http://www.fz-juelich.de/inm/inm-4/DE/Home/home_node.html</a><br>
&<br>
Bergische Universität Wuppertal<br>
Fakultät für Mathematik und Naturwissenschaften</div>
<div style="orphans: 2; widows: 2;">Büro: D.08.01<br>
Gaußstr. 20<br>
42097 Wuppertal<br>
Tel: +49-(0)202-439-3523<br>
Fax: +49-(0)202-439-2811<br>
eMail: <a moz-do-not-send="true"
href="mailto:Uwe.Pietrzyk@physik.uni-wuppertal.de">Uwe.Pietrzyk@uni-wuppertal.de</a><br>
<a moz-do-not-send="true"
href="http://www.medizinphysik.uni-wuppertal.de/">http://www.medizinphysik.uni-wuppertal.de</a><br>
----------------------------------------------------------------------/</div>
</div>
</div>
<br>
<div>
<div>On 18 Jan 2017, at 15:43, Jannis Fischer <<a
moz-do-not-send="true"
href="mailto:jannis.fischer@cern.ch"><a class="moz-txt-link-abbreviated" href="mailto:jannis.fischer@cern.ch">jannis.fischer@cern.ch</a></a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Dear GATE community,<br>
<br>
I'm trying to implement a Sodium-22 source in GATE, but I
have a hard time getting it to work. My minimal code for the
source is:<br>
<br>
-----<br>
<br>
/gate/source/addSource point_Na22<br>
/gate/source/point_Na22/setActivity 1000 Bq<br>
/gate/source/point_Na22/gps/particle ion<br>
/gate/source/point_Na22/gps/ion 11 22 0 0<br>
/gate/source/point_Na22/setForcedUnstableFlag true<br>
/gate/source/point_Na22/useDefaultHalfLife<br>
/gate/source/list<br>
<br>
-----<br>
<br>
GATE starts without error, however no hits are generated.
The source is recognized and listed:<br>
<br>
Source --------------> point_Na22<br>
ID : 0<br>
type : gps<br>
activity (Bq) : 1000<br>
startTime (s) : 0<br>
time (s) : 0<br>
forcedUnstable : 1<br>
forcedHalfLife (s) : 8.2135e+07<br>
verboseLevel : 0<br>
relative to vol : world<br>
----------------------<br>
<br>
My physics is set by<br>
<br>
/gate/physics/addPhysicsList QGSP_BERT_EMV<br>
/gate/physics/addProcess RadioactiveDecay<br>
<br>
The last line does not have any effect. Other sources work
fine (like back-to-back gammas or positrons) no matter if
the last line about RadioactiveDecay is present of not.<br>
<br>
I tried to look into the list archives, but Gmane is down
and I was not able to browse it. However, from the short
text in Google I conclude that others have had this problem
before. Can you help me, please?<br>
<br>
Thank you and kind regards,<br>
<br>
Jannis<br>
<br>
-- <br>
ETH Zürich<br>
Jannis Fischer, MSc<br>
PhD Student<br>
Departement of Physics<br>
Institute of Particle Physics<br>
ETH Hönggerberg HPK E31<br>
Otto-Stern-Weg 5<br>
CH-8093 Zürich<br>
<br>
Telefon +41 75 411 6786<br>
Telefax +41 22 76 68242<br>
<a moz-do-not-send="true"
href="mailto:jannis.fischer@cern.ch">jannis.fischer@cern.ch</a><br>
<a class="moz-txt-link-abbreviated" href="mailto:jannis.fischer@phys.ethz.ch">jannis.fischer@phys.ethz.ch</a><br>
<a class="moz-txt-link-freetext" href="http://safir.ethz.ch">http://safir.ethz.ch</a><br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
ETH Zürich
Jannis Fischer, MSc
PhD Student
Departement of Physics
Institute of Particle Physics
ETH Hönggerberg HPK E31
Otto-Stern-Weg 5
CH-8093 Zürich
Telefon +41 75 411 6786
Telefax +41 22 76 68242
<a class="moz-txt-link-abbreviated" href="mailto:jannis.fischer@cern.ch">jannis.fischer@cern.ch</a>
<a class="moz-txt-link-abbreviated" href="mailto:jannis.fischer@phys.ethz.ch">jannis.fischer@phys.ethz.ch</a>
<a class="moz-txt-link-freetext" href="http://safir.ethz.ch">http://safir.ethz.ch</a></pre>
</body>
</html>