[Gate-users] Re : How to detect some sources ?

Samuel BURG samuel_burg at yahoo.fr
Thu Oct 21 10:52:03 CEST 2010


Hi,

There is an error with the backtoback initialization.
If you do not force any angle the value is "not defined" (i.e. not initilized in 
the C/C++ code) and so sometime you have something in the source, sometime 
nothing because of a stupid angle ...
we have found and explane this bug a few days ago (yesterday in fact !) with 
Simon Stute and Alexandre Dupas.
a bug fix is in progress.

for now the best way is to setup any logical value for the angle 
(non-collinearity) of the backtoback process.

best regards,

 Samuel Burg


CHU Bichat Claude Bernard
75018 Paris




________________________________
De : Tsukahara Tatsuya <Tatsuya.Tsukahara at mc7.seikyou.ne.jp>
À : gate-users at lists.opengatecollaboration.org
Envoyé le : Jeu 21 octobre 2010, 6h 31min 07s
Objet : [Gate-users] How to detect some sources ?

Hello dear Gate-Users,

I have installed vGate. And I'm trying to simulate of PET.
I set some sources in the world. I show this code of sources below.
Then, I detected only SOURCE1 and SOURCE3. SOURCE2 wasn't detected.
I tried some patterns of geometry, but I couldn't detect all sources.
I am reading the user's guide but I don't understand what parameter I
should change...
Please tell me some hints and solutions.

Thanks a lot.

Tatsuya Tsukahara


======================================================

#    S O U R C E 1
/gate/source/addSource twogamma
/gate/source/twogamma/setActivity 30000000. becquerel
/gate/source/twogamma/gps/particle gamma
/gate/source/twogamma/setType backtoback
/gate/source/twogamma/gps/centre 0.0 0.0 0.0 mm
/gate/source/twogamma/gps/energytype Mono
/gate/source/twogamma/gps/monoenergy 0.511 MeV
#/gate/source/twogamma/gps/type Point
/gate/source/twogamma/gps/type Volume
/gate/source/twogamma/gps/shape Sphere
#/gate/source/twogamma/gps/shape Cylinder
/gate/source/twogamma/gps/radius 25. mm
#/gate/source/twogamma/gps/halfz 20. mm
#/gate/source/twogamma/gps/confine NULL
/gate/source/twogamma/gps/angtype iso
/gate/source/twogamma/gps/mintheta 90. deg
/gate/source/twogamma/gps/maxtheta 90. deg
/gate/source/twogamma/gps/minphi 0. deg
/gate/source/twogamma/gps/maxphi 360. deg
/gate/source/list

#    S O U R C E 2
/gate/source/addSource twogamma2
/gate/source/twogamma2/setActivity 10000000. becquerel
/gate/source/twogamma2/gps/particle gamma
/gate/source/twogamma2/setType backtoback
/gate/source/twogamma2/gps/centre 10.0 10.0 0.0 mm
/gate/source/twogamma2/gps/energytype Mono
/gate/source/twogamma2/gps/monoenergy 0.511 MeV
#/gate/source/twogamma2/gps/type Point
/gate/source/twogamma2/gps/type Volume
/gate/source/twogamma2/gps/shape Sphere
#/gate/source/twogamma2/gps/shape Cylinder
/gate/source/twogamma2/gps/radius 5. mm
#/gate/source/twogamma2/gps/halfz 20. mm
#/gate/source/twogamma2/gps/confine NULL
/gate/source/twogamma2/gps/angtype iso
/gate/source/twogamma2/gps/mintheta 90. deg
/gate/source/twogamma2/gps/maxtheta 90. deg
/gate/source/twogamma2/gps/minphi 0. deg
/gate/source/twogamma2/gps/maxphi 360. deg
/gate/source/list

#    S O U R C E 3
/gate/source/addSource twogamma3
/gate/source/twogamma3/setActivity 10000000. becquerel
/gate/source/twogamma3/gps/particle gamma
/gate/source/twogamma3/setType backtoback
/gate/source/twogamma3/gps/centre -20.0 0.0 0.0 mm
/gate/source/twogamma3/gps/energytype Mono
/gate/source/twogamma3/gps/monoenergy 0.511 MeV
#/gate/source/twogamma3/gps/type Point
/gate/source/twogamma3/gps/type Volume
/gate/source/twogamma3/gps/shape Sphere
#/gate/source/twogamma3/gps/shape Cylinder
/gate/source/twogamma3/gps/radius 5. mm
#/gate/source/twogamma3/gps/halfz 20. mm
#/gate/source/twogamma3/gps/confine NULL
/gate/source/twogamma3/gps/angtype iso
/gate/source/twogamma3/gps/mintheta 90. deg
/gate/source/twogamma3/gps/maxtheta 90. deg
/gate/source/twogamma3/gps/minphi 0. deg
/gate/source/twogamma3/gps/maxphi 360. deg
/gate/source/list




_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users



      


More information about the Gate-users mailing list