Re: Re: [Gate-users] Some news about the strange behaviour
Jasmine Schirmer
jasmine.schirmer at tum.de
Tue Feb 5 09:35:35 CET 2008
Dear Gate users and developers,
At the end of last year, we reported strange behaviour in the energy spectra of singles and coincidences when using the newest version of Gate (3.1.2). Since then, we have recently received a cluster system in our lab and would like to install Gate on this new system. Has the problem with Gate 3.1.2 been identified and solved?
Thanks in advance,
Jasmine Schirmer and Irene Torres
Original Message:
Hi Yu Chen,
<br />
<br />Thanks for your comments !
<br />
<br />2007/12/21, Chen, Yu :
<br />>
<br />> Thank Simon for thorough investigation.
<br />> However, it seems that the thing does not become clearer but even more
<br />> confusing. See below.
<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 />> 1, It suggests that either no significant difference between GATE versions
<br />> or
<br />> benchmark configuration is not able to reveal any difference.
<br />>
<br />
<br />Well ... perhaps some new benchmarks have to be created ...
<br />
<br />> - 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 />> 2, different behaviors come from different comfigurations.
<br />> I found that major differences between benchmarkPET.mac and
<br />> 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
<br />>
<br />
<br />Yes, I notice that too and think that the problem may come from here.
<br />Because here Irene and Jasmine use the standart package instead of more
<br />appropriate low energy package in this case. So maybe there were some
<br />changes in geant4 versions in the standart way that create this problem.
<br />
<br />
<br />2), setDepth 1 for benchmarkPET and 5 for single_layer.
<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 />> 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
<br />> used
<br />> all standard model physics processes for PE and Compton. Any change in
<br />> G4EMLOW
<br />> should only affect benchmarkPET not single_layer.
<br />>
<br />
<br />Yes I totally agree with that but I just change the EMLOW package directory
<br />in the Geant4.8.1.p02 and it solves the problem, so it is strange ...
<br />
<br />Any major change of standard EM model between Geant4 8.0.p01 and 8.1.p02?
<br />>
<br />
<br />I don't know about that. We have to investigate in this.
<br />
<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
<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 />> 4, This is really confusing!
<br />>
<br />
<br />Yes, see above.
<br />
<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
<br />> > even before, I compared all files and algorithms.
<br />>
<br />> 5, This may be true. But as parameter setDepth is different, the function
<br />> of multiple pulses
<br />> per rsector in readout module may not be tested thoroughly in different
<br />> configurations.
<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
<br />> that.
<br />>
<br />> 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
<br />> answer from you!
<br />>
<br />
<br />Yes, it's coming ;-)
<br />
<br />> - 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 />> 7, Good.
<br />>
<br />> > But now, it is time to go on holidays :-)
<br />> > Dig, dig, dig and dig more as say MJ !
<br />>
<br />> 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
<br />> verbose level); run to see ?
<br />>
<br />> 2) setDepth 1; same as benchmarkPET now?
<br />>
<br />> 3) other assignments yesterday.
<br />>
<br />
<br />Good, that will solve some questions ask above.
<br />
<br />Have a wonderful holidays!
<br />>
<br />
<br />You too, thank you,
<br />Simon
<br />
<br />> Cheers,
<br />> > Simon
<br />> >
<br />> > PS : sorry but I send the images in different mails due the size
<br />> limitation.
<br />> >
<br />> > ------------------------------------------------------------------------
<br />> >
<br />> >
<br />> > ------------------------------------------------------------------------
<br />> >
<br />> > _______________________________________________
<br />> > Gate-users mailing list
<br />> > Gate-users at lists.healthgrid.org
<br />> > http://lists.healthgrid.org/mailman/listinfo/gate-users
<br />>
<br />>
<br />> 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
<br />>
<br />>
<br />>
<br />>
<br />> -----Original Message-----
<br />> From: gate-users-bounces at lists.healthgrid.org 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
<br />> 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
<br />> 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
<br />> 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 />> .
<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
<br />> data
<br />> package G4EMLOW, that move from 3.0 to 4.0, and that includes major
<br />> 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.0package
<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
<br />> 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
<br />> 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
<br />> limitation.
<br />>
<br />>
<br />
--
More information about the Gate-users
mailing list