<html><head></head><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:16px"><div id="yiv3326020982"><div id="yui_3_16_0_ym19_1_1474846577128_35159"><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:16px;" id="yui_3_16_0_ym19_1_1474846577128_35158"><div><span>Hi Ottavia,</span></div><div><span><br></span></div><div dir="ltr"><span>Thank you for your help. Now I can get the coordinates of annihilation points in x, y and z. However, I wondering </span></div><div dir="ltr"><span>is the coordinate relative to the origin of positron emission or location of the source?</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474846577128_35157"><span><br></span></div><div dir="ltr" id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_32987"><span id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_32986">About other outputs printed in the screen during the simulation such as Step#, KinE which is kinetic energy, dE (MeV), StepLength and TrackLength.</span></div><div dir="ltr"><span><br></span></div><div dir="ltr" id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_32979"><span id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_32978">Is the Step# shows the number of the process before it is annihilated? Most of Step# value is 1 and sometimes 2. Is 1 shows positron being annihilated straight away after emitted from the nucleus (1 steps) ; is 2 indicates positron went through 1. being emitted and 2. positronium formation before being annihilated (2 steps)?</span></div><div dir="ltr"><span><br></span></div><div dir="ltr" id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_32984"><span id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_32985">The value for KinE is 0 and sometimes 1 MeV and dE = 0 MeV. Is that mean 0 MeV is transferred during annihilation process?</span></div><div dir="ltr"><span><br></span></div><div dir="ltr" id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_33026"><span id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_33025">I understand that Track is formed from series of Step. Is TrackLength meaning the positron range for that particular location/coordinate?</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1474846577128_35160"><span><br></span></div><div dir="ltr" id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_32874"><span>Thank you.</span></div><div></div><div id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_32873"> </div><div class="yiv3326020982signature" id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_32876"><div id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_32875"><font color="#00007f" face="bookman old style, new york, times, serif"></font>Rukiah</div><div id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_32875">PhD candidate</div><div id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_32875">University of Sydney</div><div id="yiv3326020982yui_3_16_0_ym19_1_1474846577128_32875">Australia</div></div> <div class="yiv3326020982qtdSeparateBR" id="yui_3_16_0_ym19_1_1474846577128_35161"><br><br></div></div></div></div><div class=".yiv3326020982yahoo_quoted"> <div style="font-family:times new roman, new york, times, serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"><font size="2" face="Arial"> On Friday, September 9, 2016 7:49 PM, Ottavia Bertolli <ottavia.bertolli@gmail.com> wrote:<br></font></div>  <br><br> <div class="yiv3326020982y_msg_container"><div id="yiv3326020982"><div><div dir="ltr"><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="font-size:1em;color:rgb(0,0,0);line-height:1.1em;border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;white-space:pre;background-image:none;"><font face="verdana, sans-serif">Hi Rukhia,</font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="font-size:1em;color:rgb(0,0,0);line-height:1.1em;border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;white-space:pre;background-image:none;"><font face="verdana, sans-serif"><br clear="none"></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="font-size:1em;color:rgb(0,0,0);line-height:1.1em;border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;white-space:pre;background-image:none;"><font face="verdana, sans-serif">I had to collect the positron range annihilation coordinates as well for project some years ago.</font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="font-size:1em;color:rgb(0,0,0);line-height:1.1em;border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;white-space:pre;background-image:none;"><font face="verdana, sans-serif">What I suggest you should do is the following:</font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="font-size:1em;color:rgb(0,0,0);line-height:1.1em;border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;white-space:pre;background-image:none;"><font face="verdana, sans-serif"><br clear="none"></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="font-size:1em;color:rgb(0,0,0);line-height:1.1em;border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;white-space:pre;background-image:none;"><font face="verdana, sans-serif">- when you define the verbosity, put the following command:</font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;"><br clear="none"></span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;"><b>/tracking/verbose 2 </b></span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;"><br clear="none"></span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;">as this will print on screen all the output of the simulation.</span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;"><br clear="none"></span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;">- when you then run your code, do it in the following way:</span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;"><br clear="none"></span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;"><b>Gate your_code.mac | grep "phantom_phys annihil" > output.txt</b></span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;"><b><br clear="none"></b></span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;">and this will write in output.txt all the lines that contain an annihilation event, that is defined by "phantom_phys annihil"</span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;"><br clear="none"></span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;">- to then extract the coordinates of the annihilation points do the following:</span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;"><br clear="none"></span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;"><b>sed 's/phantom_phys annihil/0/g;s/G4/0/g;s/\[//g;s/\]//g' output.txt > coordinates.txt</b></span><br clear="none"></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;"><b><br clear="none"></b></span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font face="verdana, sans-serif"><font color="#000000"><span style="line-height:14.3px;white-space:pre;">and this will extract from output.txt the (x,y,z) coordinates and write them in coordinates.txt.</span></font></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font color="#000000" face="verdana, sans-serif"><span style="line-height:14.3px;white-space:pre;">The result of all this is therefore to have a file (coordinates.txt) which is made up of three columns that correspond to the (x,y,z) of all the annihilation events generated in your simulation.</span></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font color="#000000" face="verdana, sans-serif"><span style="line-height:14.3px;white-space:pre;"><br clear="none"></span></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font color="#000000" face="verdana, sans-serif"><span style="line-height:14.3px;white-space:pre;">I hope this helps.</span></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font color="#000000" face="verdana, sans-serif"><span style="line-height:14.3px;white-space:pre;"><br clear="none"></span></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font color="#000000" face="verdana, sans-serif"><span style="line-height:14.3px;white-space:pre;">Ottavia</span></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font color="#000000" face="verdana, sans-serif"><span style="line-height:14.3px;white-space:pre;">PhD student</span></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font color="#000000" face="verdana, sans-serif"><span style="line-height:14.3px;white-space:pre;">University College London</span></font></div><div class="yiv3326020982gmail-line yiv3326020982gmail-number18 yiv3326020982gmail-index17 yiv3326020982gmail-alt1" style="border-radius:0px;border:0px;float:none;margin:0px;outline:0px;overflow:visible;padding:0px 1em;vertical-align:baseline;width:auto;background-image:none;"><font color="#000000" face="verdana, sans-serif"><span style="line-height:14.3px;white-space:pre;">United Kingdom</span></font></div><div><font color="#000000" face="verdana, sans-serif"><span style="line-height:14.3px;white-space:pre;"><br clear="none"></span></font></div></div><div class="yiv3326020982gmail_extra"><br clear="none"><div class="yiv3326020982gmail_quote">2016-09-09 1:05 GMT+01:00 nini latiff <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:katoshka_7880@yahoo.com" target="_blank" href="mailto:katoshka_7880@yahoo.com">katoshka_7880@yahoo.com</a>></span>:<br clear="none"><blockquote class="yiv3326020982gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="qtdSeparateBR"><br><br></div><div class="yiv3326020982yqt0482402165" id="yiv3326020982yqt11362"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:16px;"><div><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:16px;"><div><span>Hi Andrea,</span></div><div><span><br clear="none"></span></div><div><span>Thank you very much for your reply.</span></div><div dir="ltr"><span>I did follow your suggestion to use Prod and Stop actor to measure positron range. I put  commands<br clear="none"></span></div><div dir="ltr"><span>#============================= ===================<br clear="none">#Production and stopping particle position Actor<br clear="none">#============================= ===================<br clear="none">/gate/actor/addActor ProductionAndStoppingActor  MyActor<br clear="none">/gate/actor/MyActor/save           cuba<br clear="none">/gate/actor/MyActor/attachTo       phantom<br clear="none">/gate/actor/MyActor/ setResolution 10 10 100<br clear="none">/gate/actor/MyActor/ stepHitType   post<br clear="none"><br clear="none">#============================= ======<br clear="none">#Filter on particle type (beta)<br clear="none">#============================= ======<br clear="none">/gate/actor/ ProductionAndStoppingActor /addFilter particleFilter<br clear="none">/gate/actor/ ProductionAndStoppingActor /particleFilter/addParticle beta</span></div><div> </div><div><div><div> My volume name is 'phantom'. However, it seems no output at all. It was like not recording the physics process which is 'positron annihilation'. I just get the output of Hits, Singles and Coincidence only which is information from the scanner only. I also concerned whether the output file name of actor should be the same as the output file name in setup-root file?</div><div><br clear="none"></div><div dir="ltr">#       S E T U P  - R O O T  F I L E<br clear="none">/gate/output/root/enable<br clear="none">/gate/output/root/setFileName cubajaya<br clear="none">/gate/output/root/ setRootSinglesAdderFlag 1<br clear="none">/gate/output/root/ setRootSinglesReadoutFlag 1<br clear="none">/gate/output/root/ setRootHitFlag 1<br clear="none">/gate/output/root/ setRootSinglesFlag 1<br clear="none">/gate/output/root/ setRootCoincidencesFlag 1</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Please advise. Thank you very much.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Rukiah</div><div dir="ltr">PhD candidate</div><div dir="ltr">University of Sydney</div><div dir="ltr">Australia<br clear="none"></div></div><font size="3"><em><var></var></em></font><div style="margin:5px 0px;padding:0px;border:1px solid rgb(204,204,204);min-height:0px;line-height:0;font-size:0px;"></div></div> <div><br clear="none"><br clear="none"></div><div></div></div></div></div><div> <div style="font-family:times new roman, new york, times, serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"><font face="Arial" size="2"> On Saturday, September 3, 2016 3:04 AM, andrea.colantuono <andrea.colantuono@studenti.<a rel="nofollow" shape="rect" target="_blank" href="http://polito.it/">polito.it</a>> wrote:<br clear="none"></font></div>  <br clear="none"><br clear="none"> <div><div><div><div><br clear="none"></div><div><div>Hi Rukiah!</div><div>To get the positron range, usually I use the actor "production and stop particle position" with the filter on the beta particles. In this way I found easy the visualize the stop position of positrons with TBrowser of ROOT.</div><div></div></div><div><br clear="none"></div><div><br clear="none"></div><div><div style="font-size:85%;color:#575757;">Inviato da smartphone Samsung Galaxy.</div></div><div><br clear="none"></div><div style="font-size:100%;color:#000000;"><div>-------- Messaggio originale --------</div><div>Da: nini latiff <<a rel="nofollow" shape="rect" ymailto="mailto:katoshka_7880@yahoo.com" target="_blank" href="mailto:katoshka_7880@yahoo.com">katoshka_7880@yahoo.com</a>> </div><div>Data: 01/09/16  02:35  (GMT+01:00) </div><div>A: gate-users@lists.<a rel="nofollow" shape="rect" target="_blank" href="http://opengatecollaboration.org/">opengatecollaboration.org</a> </div><div>Oggetto: [Gate-users] Positron range measurement </div><div><br clear="none"></div></div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:16px;"><div><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:16px;"><div><span>Hi everyone,</span></div><div></div><div> </div><div dir="ltr">I am Rukiah. I am new with this GATE. Currently I working to measure positron range. I already put my tracklength actor so that I can obtain positron range output. When I run the macrofile below, visualization is good. However, I can not open the MyOutputFile.root as the message says 'failed to read the file type data'. Please help regarding this matter as I have no background in programming. Thank you.</div><div><br clear="none"></div><div><div><br clear="none"></div><div>#============================= ========================</div><div># VISUALISATION</div><div>#============================= ========================</div><div><br clear="none"></div><div><br clear="none"></div><div>#/vis/disable</div><div><br clear="none"></div><div>/vis/open                           OGLS</div><div>/vis/viewer/set/ viewpointThetaPhi   60 60</div><div>/vis/viewer/zoom                    1.0</div><div>/vis/drawVolume</div><div>/vis/scene/add/trajectories </div><div><br clear="none"></div><div><br clear="none"></div><div>/control/execute                  Verbose.mac</div><div><br clear="none"></div><div><br clear="none"></div><div>#============================= ========================</div><div># GEOMETRY</div><div>#============================= ========================</div><div><br clear="none"></div><div><br clear="none"></div><div>/gate/geometry/ setMaterialDatabase    GateMaterials.db</div><div><br clear="none"></div><div><br clear="none"></div><div>#</div><div>#     W O R L D</div><div>#</div><div>/gate/world/geometry/ setXLength       40. cm</div><div>/gate/world/geometry/ setYLength       40. cm</div><div>/gate/world/geometry/ setZLength       40. cm</div><div>#------------------- oooooOOOOO00000OOOOOooooo----- ----------------#</div><div>#                                                                 #</div><div>#     D E F I N I T I O N   A N D   D E S C R I T I O N           #</div><div>#             O F   Y O U R   P H A N T O M                       #</div><div>#                                                                 #</div><div>#------------------- oooooOOOOO00000OOOOOooooo----- ----------------#</div><div><br clear="none"></div><div><br clear="none"></div><div>/gate/world/daughters/name phantom</div><div>/gate/world/daughters/insert cylinder</div><div>/gate/phantom/setMaterial Water</div><div>/gate/phantom/vis/ forceWireframe</div><div>/gate/phantom/vis/setColor red</div><div>/gate/phantom/geometry/setRmax   5 cm</div><div>/gate/phantom/geometry/ setHeight 10 cm</div><div>/gate/phantom/attachPhantomSD</div><div><br clear="none"></div><div>#============================= ========================</div><div># PHYSICS</div><div>#============================= ========================</div><div>#/gate/physics/addProcess PhotoElectric</div><div>#/gate/physics/processes/ PhotoElectric/setModel StandardModells</div><div><br clear="none"></div><div>#/gate/physics/addProcess Compton</div><div>#/gate/physics/processes/ Compton/setModel StandardModel</div><div><br clear="none"></div><div>#/gate/physics/addProcess RayleighScattering</div><div>#/gate/physics/processes/ RayleighScattering/setModel PenelopeModel</div><div><br clear="none"></div><div>#/gate/physics/addProcess ElectronIonisation</div><div>#/gate/physics/processes/ ElectronIonisation/setModel StandardModel e-</div><div>#/gate/physics/processes/ ElectronIonisation/setModel StandardModel e+</div><div><br clear="none"></div><div>#/gate/physics/addProcess Bremsstrahlung</div><div>#/gate/physics/processes/ Bremsstrahlung/setModel StandardModel e-</div><div>#/gate/physics/processes/ Bremsstrahlung/setModel StandardModel e+</div><div><br clear="none"></div><div>/gate/physics/addProcess PositronAnnihilation</div><div><br clear="none"></div><div>#/gate/physics/addProcess MultipleScattering e+</div><div>#/gate/physics/addProcess MultipleScattering e-</div><div><br clear="none"></div><div>/gate/physics/processList Enabled</div><div>/gate/physics/processList Initialized</div><div><br clear="none"></div><div>/gate/run/initialize</div><div>#============================= ========================</div><div># CUTS</div><div>#============================= ========================</div><div><br clear="none"></div><div>#/gate/physics/Gamma/ SetCutInRegion      crystal 1.0 cm</div><div>#/gate/physics/Electron/ SetCutInRegion   crystal 1.0 cm</div><div>#/gate/physics/Positron/ SetCutInRegion   crystal 1.0 cm</div><div><br clear="none"></div><div><br clear="none"></div><div>#/gate/physics/Gamma/ SetCutInRegion      phantom 0.1 mm</div><div>#/gate/physics/Electron/ SetCutInRegion   phantom 0.1 mm</div><div>/gate/physics/Positron/ SetCutInRegion   phantom 10 cm</div><div><br clear="none"></div><div>/gate/physics/ SetMaxStepSizeInRegion    phantom 1 cm</div><div><br clear="none"></div><div>#TrackLengthActor</div><div><br clear="none"></div><div>/gate/actor/addActor  TrackLengthActor  MyActor</div><div>/gate/actor/MyActor/save  MyOutputFile.root</div><div>/gate/actor/MyActor/setLmin 0 mm</div><div>/gate/actor/MyActor/setLmax 10 cm</div><div>/gate/actor/MyActor/ setNumberOfBins 200</div><div><br clear="none"></div><div>#------------------- oooooOOOOO00000OOOOOooooo----- ----------------#</div><div>#                                                                 #</div><div>#                   D E F I N I T I O N   O F                     #</div><div>#            Y O U R   V E R B O S I T Y   L E V E L              #</div><div>#                                                                 #</div><div>#------------------- oooooOOOOO00000OOOOOooooo----- ----------------#</div><div><br clear="none"></div><div>/control/execute                    Verbose.mac</div><div><br clear="none"></div><div>#============================= ========================</div><div># INITIALISATION</div><div>#============================= ========================</div><div><br clear="none"></div><div>/gate/run/initialize</div><div><br clear="none"></div><div>#------------------- oooooOOOOO00000OOOOOooooo----- ----------------#</div><div>#                                                                 #</div><div>#                   D E F I N I T I O N   O F                     #</div><div>#                Y O U R   O U T P U T   F I L E                  #</div><div>#                                                                 #</div><div>#------------------- oooooOOOOO00000OOOOOooooo----- ----------------#</div><div><br clear="none"></div><div><br clear="none"></div><div>#  R A N D O M</div><div><br clear="none"></div><div># JamesRandom Ranlux64 MersenneTwister</div><div>/gate/random/setEngineName JamesRandom</div><div>#/gate/random/setEngineSeed default</div><div>#/gate/random/setEngineSeed auto</div><div>#/gate/random/setEngineSeed 123456789</div><div>/gate/random/setEngineSeed default</div><div>#/gate/random/resetEngineFrom fileName</div><div>/gate/random/verbose 1</div><div><br clear="none"></div><div><br clear="none"></div><div>#       S E T U P  - R O O T  F I L E</div><div>/gate/output/root/enable</div><div>/gate/output/root/setFileName MySimu</div><div>/gate/output/root/ setRootSinglesAdderFlag 1</div><div>/gate/output/root/ setRootSinglesReadoutFlag 1</div><div>/gate/output/root/ setRootHitFlag 1</div><div>/gate/output/root/ setRootSinglesFlag 1</div><div>/gate/output/root/ setRootCoincidencesFlag 1</div><div><br clear="none"></div><div>#------------------- oooooOOOOO00000OOOOOooooo----- ----------------#</div><div>#                                                                 #</div><div>#         P O S I T R O N   E M I S S I O N   S O U R C E         #</div><div>#                                                                 #</div><div>#                Ga-68              #</div><div>#                                                                 #         </div><div>#  NB :  In this example, each isotope source is generated        #</div><div>#<span style="white-space:pre-wrap;">    </span>   in a sphere placed at the center of the FOV.           #</div><div>#                The sphere radius is set at 0.5 cm.              #</div><div>#                                                                 #   </div><div>#------------------- oooooOOOOO00000OOOOOooooo----- ----------------#</div><div><br clear="none"></div><div>#</div><div># For Ga68</div><div>#</div><div><br clear="none"></div><div>/gate/source/addSource sourceGa68</div><div>/gate/source/sourceGa68/ setActivity 10. becquerel</div><div>/gate/source/sourceGa68/gps/ particle e+</div><div>/gate/source/sourceGa68/ setForcedUnstableFlag true</div><div>/gate/source/sourceGa68/gps/ energytype Ga68</div><div>/gate/source/sourceGa68/ setForcedHalfLife 6586 s</div><div>/gate/source/sourceGa68/gps/ type Volume</div><div>/gate/source/sourceGa68/gps/ shape Sphere</div><div>/gate/source/sourceGa68/gps/ radius 0.01 mm</div><div>/gate/source/sourceGa68/gps/ centre 0. 0. 0. cm</div><div>/gate/source/sourceGa68/vis/ setColor red</div><div>/gate/source/sourceGa68/gps/ confine NULL </div><div>/gate/source/sourceGa68/gps/ angtype iso</div><div><br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div><div>/gate/source/list</div><div>#------------------- oooooOOOOO00000OOOOOooooo----- ----------------#</div><div>#                                                                 #</div><div>#               S T A R T   A C Q U I S I T I O N                 #</div><div>#                 T I M E   P A R A M E T E R S                   #</div><div>#                                                                 #</div><div>#------------------- oooooOOOOO00000OOOOOooooo----- ----------------#</div><div><br clear="none"></div><div>#</div><div># EXPERIMENT</div><div>#</div><div>/gate/application/setTimeSlice     120.  s</div><div>/gate/application/setTimeStart     0.   s</div><div>/gate/application/setTimeStop      240.  s</div><div><br clear="none"></div><div>#</div><div># LET'S RUN THE SIMULATION!</div><div>#</div><div>/gate/application/startDAQ</div><div>#/gate/output/allowNoOutput</div><div dir="ltr"><br clear="none"></div></div><div><div><br clear="none"></div><div><br clear="none"></div><div><font face="bookman old style, new york, times, serif" color="#00007f"></font>Rukiah</div><div>PhD Candidate</div><div>The University of Sydney</div><div>Australia </div><div style="background-color:transparent;"><br clear="none"></div><div style="background-color:transparent;"><font face="garamond, new york, times, serif" color="#0000bf" size="7"><b><i><u><br clear="none"></u></i></b></font></div><div style="margin:5px 0px;padding:0px;border:1px solid rgb(204,204,204);min-height:0px;line-height:0;font-size:0px;"></div></div></div></div></div></div></div></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div></div></div><br clear="none">______________________________ _________________<br clear="none">
Gate-users mailing list<br clear="none">
Gate-users@lists.<a rel="nofollow" shape="rect" target="_blank" href="http://opengatecollaboration.org/">opengatecollaboration.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists/">http://lists</a>.<a rel="nofollow" shape="rect" target="_blank" href="http://opengatecollaboration.org/">opengatecollaboration.org/</a> mailman/listinfo/gate-users<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div>  </div> </div>  </div></div></body></html>