Hi Yu Chen,<br><br>Thanks for your comments !<br><br><div><span class="gmail_quote">2007/12/21, Chen, Yu <<a href="mailto:Yu.Chen@umassmed.edu">Yu.Chen@umassmed.edu</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<p><font size="2">Thank Simon for thorough investigation.<br>
However, it seems that the thing does not become clearer but even more confusing. See below.<span class="q"><br>
<br>
Simon Stute wrote:<br>
> Hi all,<br>
><br>
> I dug more to find the reason of the strange behaviour in energy spectra<br>
> and found those results :<br>
><br>
> - I first installed Gate3.0.0, 3.1.0, 3.1.1 and 3.1.2 on both 32 and 64<br>
> bits architectures,and both cluster and single PC.<br>
> - I ran PET and SPECT benchmark on all configurations and compared both<br>
> energy spectra and results from benchmark.C with root : everything was<br>
> identical between all different config.<br>
<br></span>
1, It suggests that either no significant difference between GATE versions or<br>
benchmark configuration is not able to reveal any difference.</font></p></div></blockquote><div><br>Well ... perhaps some new benchmarks have to be created ...<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><p><font size="2"><span class="q">
> - Then I ran the single_layer.mac simulation on all config and obtained<br>
> the same difference in energy spectra as Irene and Jasmine reported.<br>
<br></span>
2, different behaviors come from different comfigurations.<br>
I found that major differences between benchmarkPET.mac and single_layer.mac are:<br>
<br>
1) physics list,<br>
benchmarkPET:<br>
<br>
# EM P R O C E S S<br>
/gate/physics/gamma/selectRayleigh lowenergy<br>
/gate/physics/gamma/selectPhotoelectric standard<br>
/gate/physics/gamma/selectCompton standard<br>
<br>
# I N A C T I V E S E C O N D A R Y E L E C T R O N S<br>
/gate/physics/setElectronCut 30. cm<br>
<br>
# I N A C T I V E X - R A Y S<br>
/gate/physics/setXRayCut 1. GeV<br>
/gate/physics/setDeltaRayCut 1. GeV<br>
<br>
/gate/physics/verbose 2<br>
<br>
single_layer:<br>
<br>
/gate/physics/gamma/selectPhotoelectric standard<br>
/gate/physics/gamma/selectCompton standard<br>
/gate/physics/gamma/selectRayleigh inactive<br>
<br>
# High cuts for fast simulation<br>
<br>
/gate/physics/setElectronCut 3. m<br>
/gate/physics/setXRayCut 1. GeV<br>
/gate/physics/setDeltaRayCut 1. GeV<br>
<br>
/gate/physics/verbose 0</font></p></div></blockquote><div><br>Yes, I notice that too and think that the problem may come from here. Because here Irene and Jasmine use the standart package instead of more appropriate low energy package in this case. So maybe there were some changes in geant4 versions in the standart way that create this problem.
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><p><font size="2">
2), setDepth 1 for benchmarkPET and 5 for single_layer.<span class="q"><br>
<br>
> Then I found that the change in energy spectra occurs between Gate3.0.0<br>
> and 3.1.0. Results from 3.1.0, 3.1.1 and 3.1.2 were the same. (see<br>
> attached images)<br>
> - I realised then that between Gate3.0.0 and 3.1.0, the associated<br>
> Geant4 versions are 8.0.p01 and 8.1.p02. And between these two different<br>
> Geant4 versions one of the main changes was the upgrade of the most<br>
> important data package G4EMLOW, that move from 3.0 to 4.0, and that<br>
> includes major changes.<br>
<br></span>
3, G4EMLOW is a data lib used by EM Low Energy model in Geant4.<br>
As we can see, only benchmarkPET used low energy Rayleigh and single_layer used<br>
all standard model physics processes for PE and Compton. Any change in G4EMLOW<br>
should only affect benchmarkPET not single_layer.</font></p></div></blockquote><div><br>Yes I totally agree with that but I just change the EMLOW package directory in the Geant4.8.1.p02 and it solves the problem, so it is strange ...
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><p><font size="2">
Any major change of standard EM model between Geant4 8.0.p01 and 8.1.p02?</font></p></div></blockquote><div><br>I don't know about that. We have to investigate in this. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><p><font size="2"><span class="q">
> - I decided then to run the single_layer.mac simulation with Gate3.1.0,<br>
> Geant4.8.1.p02 and to change the G4EMLOW4.0 package with G4EMLOW3.0<br>
> package from the older version. Then the energy spectra obtained was<br>
> more similar than this obtained with Gate3.0.0, but still different (see<br>
> energy_3.1.0.EMLOW3.0.jpg image). So I think this little difference is<br>
> due to other main changes between Geant4.8.0.p01 and Geant4.8.1.p02, it<br>
> is statistical I think.<br>
<br></span>
4, This is really confusing!</font></p></div></blockquote><div><br>Yes, see above. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><p><font size="2"><span class="q">
> - The change in behaviour do not come from any digitizer module (adder,<br>
> readout, any blurring ...), they are still the same since Gate3.0.0 and<br>
> even before, I compared all files and algorithms.<br>
<br></span>
5, This may be true. But as parameter setDepth is different, the function of multiple pulses<br>
per rsector in readout module may not be tested thoroughly in different configurations.<span class="q"><br>
<br>
> - For me it is not possible too to have such differences only due to gcc<br>
> version or stdlib version. But here I ask myself a question : MJ, you<br>
> said you get results with 3.1.2 similar to 3.0.0 but what G4 data<br>
> packages do you use ?? Then if you use the good packages version, I do<br>
> not understand anything anymore ... Let me know your thoughts about that.<br>
<br></span>
6, That is still the first thing we should know:<br>
Is the strange behavior from physics basis (Geant4 etc) or from coding?<br>
Since MJ is the only one reported no difference, we do need a definite answer from you!</font></p></div></blockquote><div><br>Yes, it's coming ;-) <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><p><font size="2"><span class="q">
> - I will now try to reproduce the problem in intersector coincidences<br>
> with the Gate coincidence sorter to see where this problem come from and<br>
> to see if it is relative to the energy spectra problem too.<br>
><br>
<br></span>
7, Good.<span class="q"><br>
<br>
> But now, it is time to go on holidays :-)<br>
> Dig, dig, dig and dig more as say MJ !<br>
<br></span>
8. More homework for Irene and Jasmine:<br>
<br>
Always set bluring to 0.01:<br>
<br>
1) set the exact physics from benchmarkPET in your single_layer (even verbose level); run to see ?<br>
<br>
2) setDepth 1; same as benchmarkPET now?<br>
<br>
3) other assignments yesterday.</font></p></div></blockquote><div><br>Good, that will solve some questions ask above. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><p><font size="2">
Have a wonderful holidays!</font></p></div></blockquote><div><br>You too, thank you,<br>Simon <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><p><font size="2"><span class="q">
> Cheers,<br>
> Simon<br>
><br>
> PS : sorry but I send the images in different mails due the size limitation.<br>
><br></span>
> ------------------------------------------------------------------------<br>
><br>
><br>
> ------------------------------------------------------------------------<span class="q"><br>
><br>
> _______________________________________________<br>
> Gate-users mailing list<br>
> <a href="mailto:Gate-users@lists.healthgrid.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Gate-users@lists.healthgrid.org</a><br>
> <a href="http://lists.healthgrid.org/mailman/listinfo/gate-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
<br>
<br></span><span class="sg">
Yu Chen, Ph.D.<br>
University of Massachusetts Medical School<br>
Division of Nuclear Medicine<br>
55 Lake Avenue North<br>
Worcester, MA 01655-0243<br>
Phone: (508) 856-6123<br>
Fax: (508) 856-4572</span></font></p><div><span class="e" id="q_116fd6cef91126b6_21"><font size="2"><br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:gate-users-bounces@lists.healthgrid.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gate-users-bounces@lists.healthgrid.org</a> on behalf of Simon Stute<br>
Sent: Fri 12/21/2007 6:15 AM<br>
To: gate-users<br>
Subject: [Gate-users] Some news about the strange behaviour<br>
<br>
Hi all,<br>
<br>
I dug more to find the reason of the strange behaviour in energy spectra and<br>
found those results :<br>
<br>
- I first installed Gate3.0.0, 3.1.0, 3.1.1 and 3.1.2 on both 32 and 64 bits<br>
architectures,and both cluster and single PC.<br>
- I ran PET and SPECT benchmark on all configurations and compared both<br>
energy spectra and results from benchmark.C with root : everything was<br>
identical between all different config.<br>
- Then I ran the single_layer.mac simulation on all config and obtained the<br>
same difference in energy spectra as Irene and Jasmine reported. Then I<br>
found that the change in energy spectra occurs between Gate3.0.0 and 3.1.0.<br>
Results from 3.1.0, 3.1.1 and 3.1.2 were the same. (see attached images)<br>
- I realised then that between Gate3.0.0 and 3.1.0, the associated Geant4<br>
versions are 8.0.p01 and 8.1.p02. And between these two different Geant4<br>
versions one of the main changes was the upgrade of the most important data<br>
package G4EMLOW, that move from 3.0 to 4.0, and that includes major changes.<br>
- I decided then to run the single_layer.mac simulation with Gate3.1.0,<br>
Geant4.8.1.p02 and to change the G4EMLOW4.0 package with G4EMLOW3.0 package<br>
from the older version. Then the energy spectra obtained was more similar<br>
than this obtained with Gate3.0.0, but still different (see<br>
energy_3.1.0.EMLOW3.0.jpg image). So I think this little difference is due<br>
to other main changes between Geant4.8.0.p01 and Geant4.8.1.p02, it is<br>
statistical I think.<br>
- The change in behaviour do not come from any digitizer module (adder,<br>
readout, any blurring ...), they are still the same since Gate3.0.0 and even<br>
before, I compared all files and algorithms.<br>
- For me it is not possible too to have such differences only due to gcc<br>
version or stdlib version. But here I ask myself a question : MJ, you said<br>
you get results with 3.1.2 similar to 3.0.0 but what G4 data packages do you<br>
use ?? Then if you use the good packages version, I do not understand<br>
anything anymore ... Let me know your thoughts about that.<br>
- I will now try to reproduce the problem in intersector coincidences with<br>
the Gate coincidence sorter to see where this problem come from and to see<br>
if it is relative to the energy spectra problem too.<br>
<br>
But now, it is time to go on holidays :-)<br>
Dig, dig, dig and dig more as say MJ !<br>
Cheers,<br>
Simon<br>
<br>
PS : sorry but I send the images in different mails due the size limitation.<br>
<br>
</font></span></div>
<p></p>
</div>
</blockquote></div><br>