<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Débora,
<div class=""><br class="">
</div>
<div class="">I tried your macro on Gate v7.0 with Geant4.9.6 and it worked (see Root output attached). I don’t know what could be going wrong on your system.</div>
<div class=""> </div>
<div class="">
<div apple-content-edited="true" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div class="">Marc</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""></div>
<div class=""><br class="">
</div>
</div>
</span></div>
<div>
<blockquote type="cite" class="">
<div class="">On Jan 16, 2015, at 08:32, Débora Salvado <<a href="mailto:debbiesal@gmail.com" class="">debbiesal@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">Dear GATE users,<br class="">
<br class="">
I've tried Uwe's suggestion and I keep getting lots of messages saying:<br class="">
=====================================<br class="">
G4EventManager::ProcessOneEvent()<br class="">
<div class=""> =====================================<br class="">
G4PrimaryTransformer::PrimaryVertex (0(mm),0(mm),0(mm),1.51525e+08(nsec))<br class="">
1 primaries are passed from G4EventTransformer.<br class="">
!!!!!!! Now start processing an event !!!!!!!<br class="">
Track (trackID 1, parentID 0) is processed with stopping code 2<br class="">
Track (trackID 3, parentID 1) is processed with stopping code 2<br class="">
Track (trackID 2, parentID 1) is processed with stopping code 2<br class="">
NULL returned from G4StackManager.<br class="">
Terminate current event processing.</div>
<br class="">
</div>
I also tried Nicolas' suggestion about the physics process but it says command not found (is it not included on vGATE? that's strange).<br class="">
<br class="">
</div>
<div class="">Any more suggestions?<br class="">
<br class="">
</div>
<div class="">Regards,<br clear="all" class="">
<div class="">
<div class="gmail_extra">
<div class="">
<div class="">Débora Salvado</div>
</div>
<br class="">
<br class="">
<div class="gmail_quote">2015-01-16 13:08 GMT+00:00 Débora Salvado <span dir="ltr" class="">
<<a href="mailto:debbiesal@gmail.com" target="_blank" class="">debbiesal@gmail.com</a>></span>:<br class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr" class=""></div>
<div class="gmail_extra"><span class=""></span>
<div class="">
<div class=""><br class="">
<div class="gmail_quote">2015-01-16 12:37 GMT+00:00 Nicolas ARBOR <span dir="ltr" class="">
<<a href="mailto:nicolas.arbor@iphc.cnrs.fr" target="_blank" class="">nicolas.arbor@iphc.cnrs.fr</a>></span>:<br class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000" class="">
<div class="">This is strange...may be build physics list don't worked with vGate (?).<br class="">
Have you try modifications from Uwe ? Does it work ?<span class=""><br class="">
Nicolas<br class="">
<pre cols="72" class="">***********************************************************************
Nicolas ARBOR
Maître de Conférences
Université de Strasbourg - UFR Physique et Ingénierie
Groupe de recherche RaMsEs - Institut Pluridisciplinaire Hubert Curien
23, rue du Loess BP28 67037 Strasbourg Cedex 2
mail : <a href="mailto:nicolas.arbor@iphc.cnrs.fr" target="_blank" class="">nicolas.arbor@iphc.cnrs.fr</a> / tel : 03.88.10.64.27
***********************************************************************</pre>
</span>Le 16/01/15 13:27, Débora Salvado a écrit :<br class="">
</div>
<div class="">
<div class="">
<blockquote type="cite" class="">
<div dir="ltr" class="">It gives me an error:<br class="">
***** COMMAND NOT FOUND </gate/physics/addPhysicsList emstandard_opt3> *****<br class="">
</div>
<div class="gmail_extra"><br clear="all" class="">
<div class="">
<div class="">Débora Salvado</div>
</div>
<br class="">
<div class="gmail_quote">2015-01-16 11:50 GMT+00:00 narbor <span dir="ltr" class="">
<<a href="mailto:nicolas.arbor@iphc.cnrs.fr" target="_blank" class="">nicolas.arbor@iphc.cnrs.fr</a>></span>:<br class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000" class="">
<div class=""><font size="-1" class="">Just to check...does it changes something if you use for the physics (instead of what you have) ?<br class="">
/gate/physics/addPhysicsList emstandard_opt3<br class="">
/gate/physics/addProcess RadioactiveDecay<br class="">
Nicolas<br class="">
</font>
<pre cols="72" class="">***********************************************************************
Nicolas ARBOR
Maître de Conférences
Université de Strasbourg - UFR Physique et Ingénierie
Groupe de recherche RaMsEs - Institut Pluridisciplinaire Hubert Curien
23, rue du Loess BP28 67037 Strasbourg Cedex 2
mail : <a href="mailto:nicolas.arbor@iphc.cnrs.fr" target="_blank" class="">nicolas.arbor@iphc.cnrs.fr</a> / tel : 03.88.10.64.27
***********************************************************************</pre>
Le 16/01/2015 12:40, Débora Salvado a écrit :<br class="">
</div>
<div class="">
<div class="">
<blockquote type="cite" class="">
<div dir="ltr" class="">Hi,<br class="">
I've attached my main macro, let me know if you have any problems to see it.<br class="">
<br clear="all" class="">
<div class="">
<div class="">
<div class="">Débora Salvado<br class="">
<br class="">
<br class="">
------------------------------<br class="">
<br class="">
Message: 2<br class="">
Date: Fri, 16 Jan 2015 12:18:30 +0100<br class="">
From: narbor <<a href="mailto:nicolas.arbor@iphc.cnrs.fr" target="_blank" class="">nicolas.arbor@iphc.cnrs.fr</a>><br class="">
To: D?bora Salvado <<a href="mailto:debbiesal@gmail.com" target="_blank" class="">debbiesal@gmail.com</a>><br class="">
Cc: Gate Users <<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank" class="">gate-users@lists.opengatecollaboration.org</a>><br class="">
Subject: Re: [Gate-users] Ion source: empty output<br class="">
Message-ID: <<a href="mailto:54B8F386.1060407@iphc.cnrs.fr" target="_blank" class="">54B8F386.1060407@iphc.cnrs.fr</a>
<div class="">><br class="">
Content-Type: text/plain; charset="windows-1252"; Format="flowed"<br class="">
<br class="">
Hi D?bora,<br class="">
Could you send us your main.mac file just to have a look ?<br class="">
Thanks.<br class="">
Nicolas Arbor<br class="">
<br class="">
***********************************************************************<br class="">
Nicolas ARBOR<br class="">
Ma?tre de Conf?rences<br class="">
Universit? de Strasbourg - UFR Physique et Ing?nierie<br class="">
Groupe de recherche RaMsEs - Institut Pluridisciplinaire Hubert Curien<br class="">
***********************************************************************<br class="">
<br class="">
Le 16/01/2015 12:09, D?bora Salvado a ?crit :<br class="">
> I increased the verbosity of my simulation to:<br class="">
><br class="">
> /event/verbose 1<br class="">
><br class="">
> and now when I run my simulation, it keeps giving me this message:<br class="">
><br class="">
> =====================================<br class="">
> G4EventManager::ProcessOneEvent()<br class="">
> =====================================<br class="">
> G4PrimaryTransformer::PrimaryVertex (0(mm),0(mm),0(mm),1.51525e+08(nsec))<br class="">
> 1 primaries are passed from G4EventTransformer.<br class="">
> !!!!!!! Now start processing an event !!!!!!!<br class="">
> Track (trackID 1, parentID 0) is processed with stopping code 2<br class="">
> Track (trackID 3, parentID 1) is processed with stopping code 2<br class="">
> Track (trackID 2, parentID 1) is processed with stopping code 2<br class="">
> NULL returned from G4StackManager.<br class="">
> Terminate current event processing.<br class="">
><br class="">
> I've read that some users solved this problem by adding the<br class="">
> RadioactiveDecay process to their physics list. But I have it in my<br class="">
> macro... so can someone help me?<br class="">
><br class="">
> Thanks,<br class="">
> D?bora Salvado<br class="">
><br class="">
><br class="">
><br class="">
> 2015-01-15 19:22 GMT+00:00 Marc Chamberland<br class="">
> <<a href="mailto:MarcChamberland@cmail.carleton.ca" target="_blank" class="">MarcChamberland@cmail.carleton.ca</a><br class="">
> <mailto:<a href="mailto:MarcChamberland@cmail.carleton.ca" target="_blank" class="">MarcChamberland@cmail.carleton.ca</a>>>:<br class="">
><br class="">
> Hmm? I don?t have experience with the sinogram output, so I?d try<br class="">
> looking at the Root singles output. Is it also empty?<br class="">
><br class="">
> Perhaps also increasing the verbosity might help you diagnose<br class="">
> what?s going on. I don?t know which verbosity to increase, though!<br class="">
> Perhaps:<br class="">
><br class="">
> /event/verbose 1 (or 2 or 3)<br class="">
> See if this produces any messages that might point you in the<br class="">
> right direction.<br class="">
><br class="">
> Marc<br class="">
><br class="">
><br class="">
><br class="">
> __________________________<br class="">
><br class="">
> Marc Chamberland, MSc<br class="">
> PhD candidate<br class="">
> Department of Physics<br class="">
> Carleton University<br class="">
> Ottawa (ON)<br class="">
><br class="">
>> On Jan 15, 2015, at 14:04, D?bora Salvado <<a href="mailto:debbiesal@gmail.com" target="_blank" class="">debbiesal@gmail.com</a><br class="">
>> <mailto:<a href="mailto:debbiesal@gmail.com" target="_blank" class="">debbiesal@gmail.com</a>>> wrote:<br class="">
>><br class="">
>> Thanks Marc,<br class="">
>><br class="">
>> I add this line to the physics list:<br class="">
>> /gate/physics/addProcess RadioactiveDecay<br class="">
>><br class="">
>> and tried to run: again no errors but an empty .sin file at the end.<br class="">
>><br class="">
>> Any more suggestions?<br class="">
>><br class="">
>> D?bora Salvado<br class="">
>><br class="">
>> 2015-01-15 18:36 GMT+00:00 Marc Chamberland<br class="">
>> <<a href="mailto:MarcChamberland@cmail.carleton.ca" target="_blank" class="">MarcChamberland@cmail.carleton.ca</a><br class="">
>> <mailto:<a href="mailto:MarcChamberland@cmail.carleton.ca" target="_blank" class="">MarcChamberland@cmail.carleton.ca</a>>>:<br class="">
>><br class="">
>> Hi D?bora,<br class="">
>><br class="">
>> The first thing I would check is that your physics list has<br class="">
>> the radioactive decay process enabled.<br class="">
>><br class="">
>> Marc<br class="">
>><br class="">
>><br class="">
>><br class="">
>> __________________________<br class="">
>><br class="">
>> Marc Chamberland, MSc<br class="">
>> PhD candidate<br class="">
>> Department of Physics<br class="">
>> Carleton University<br class="">
>> Ottawa (ON)<br class="">
>><br class="">
>>> On Jan 15, 2015, at 13:30, D?bora Salvado<br class="">
>>> <<a href="mailto:debbiesal@gmail.com" target="_blank" class="">debbiesal@gmail.com</a> <mailto:<a href="mailto:debbiesal@gmail.com" target="_blank" class="">debbiesal@gmail.com</a>>> wrote:<br class="">
>>><br class="">
>>> Dear Gate users,<br class="">
>>><br class="">
>>> I have my main .mac file parameterized for different sources.<br class="">
>>><br class="">
>>> It works for the following definition of source:<br class="">
>>><br class="">
>>> /gate/source/addSource source1<br class="">
>>> /gate/source/source1/gps/type Point<br class="">
>>> /gate/source/source1/gps/centre 0. 0. 0. mm<br class="">
>>> /gate/source/source1/gps/particle gamma<br class="">
>>> /gate/source/source1/gps/energy 159. keV<br class="">
>>> /gate/source/source1/setActivity 3000000. Bq<br class="">
>>> /gate/source/source1/gps/angtype iso<br class="">
>>><br class="">
>>> However, when I try to run it for an ion source, with this<br class="">
>>> definition:<br class="">
>>><br class="">
>>> /gate/source/addSource source1<br class="">
>>> /gate/source/source1/setActivity 3000000. Bq<br class="">
>>> /gate/source/source1/gps/type Point<br class="">
>>> /gate/source/source1/gps/centre 0. 0. 0. mm<br class="">
>>> /gate/source/source1/gps/particle ion<br class="">
>>> /gate/source/source1/gps/ion 53 123 0 0<br class="">
>>> /gate/source/source1/setForcedUnstableFlag true<br class="">
>>> /gate/source/source1/setForcedHalfLife 47520. s<br class="">
>>> /gate/source/source1/gps/energytype Mono<br class="">
>>> /gate/source/source1/gps/monoenergy 0. keV<br class="">
>>> /gate/source/source1/gps/number 1<br class="">
>>> /gate/source/source1/gps/angtype iso<br class="">
>>> /gate/source/source1/gps/mintheta 0. deg<br class="">
>>> /gate/source/source1/gps/maxtheta 180. deg<br class="">
>>> /gate/source/source1/gps/minphi 0. deg<br class="">
>>> /gate/source/source1/gps/maxphi 360. deg<br class="">
>>><br class="">
>>> It runs but the output projection file .sin is empty...<br class="">
>>> When I run with the first source instead, I get a .sin file<br class="">
>>> with some data.<br class="">
>>> I don't really have an error, it's just that my simulation<br class="">
>>> doesn't generate anything. Can someone help me figure out<br class="">
>>> what's happening?<br class="">
>>><br class="">
>>> Regards,<br class="">
>>> D?bora Salvado<br class="">
>>> _______________________________________________<br class="">
>>> Gate-users mailing list<br class="">
>>> <a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank" class="">Gate-users@lists.opengatecollaboration.org</a><br class="">
>>> <mailto:<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank" class="">Gate-users@lists.opengatecollaboration.org</a>><br class="">
>>> <a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank" class="">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br class="">
>><br class="">
>><br class="">
><br class="">
><br class="">
><br class="">
><br class="">
> _______________________________________________<br class="">
> Gate-users mailing list<br class="">
> <a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank" class="">
Gate-users@lists.opengatecollaboration.org</a><br class="">
> <a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank" class="">
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></div>
<br class="">
</div>
</div>
</div>
</div>
<br class="">
<fieldset class=""></fieldset> <br class="">
<pre class="">_______________________________________________
Gate-users mailing list
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank" class="">Gate-users@lists.opengatecollaboration.org</a>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank" class="">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></pre>
</blockquote>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</blockquote>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
Gate-users mailing list<br class="">
<a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">Gate-users@lists.opengatecollaboration.org</a><br class="">
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>