[Gate-users] Annulus cylinder source
Andrej Studen
Andrej.Studen at ijs.si
Mon Jan 4 09:18:10 CET 2016
Hi Pawel!
I had the same problem. The thing is, you have to use a cold source. I
am attaching my source.mac and geometry.mac files, where I define a
geometrical entity that remains cold, and a source which is larger than
the geometrical cold area.
The important statement is
/gate/source/f18/gps/Forbid cold_area
Of course, you can do the same with backtoback source rather than e+ source.
Cheers
Andrej
On 12/29/15 16:54, Pawe Kowalski wrote:
> I would like to ask if it is possible to create in GATE 7
> annulus cylinder source.
>
> Teoretically it should be possible using following example commands:
>
> /gate/source/addSource cylinder gps
> /gate/source/cylinder/gps/type Volume
> /gate/source/cylinder/gps/shape Cylinder
> /gate/source/cylinder/gps/radius0 9.5 cm
> /gate/source/cylinder/gps/radius 10.5 cm
> /gate/source/cylinder/gps/halfz 5. cm
> /gate/source/cylinder/gps/pos/centre 0. 0. 0. mm
> /gate/source/cylinder/setActivity 1000000 Bq
> /gate/source/cylinder/setType backtoback
> /gate/source/cylinder/gps/particle gamma
> /gate/source/cylinder/gps/ene/mono 511. keV
> /gate/source/cylinder/gps/angtype iso
> /gate/source/list
>
> Unfortunatelly, in results it looks like it was not annulus cylinder
> but full cylinder. The problem was also mentioned here:
> http://thread.gmane.org/gmane.comp.science.opengate.user/3109
> <http://thread.gmane.org/gmane.comp.science.opengate.user/3109>
>
> Best regards,
> Paweł Kowalski
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
--
****************************************
dr. Andrej Studen
Jozef Stefan Institute,
Jamova 39, 1000 Ljubljana, Slovenia
Tel.: +386 1 477 3162
+386 31 822 779 (mobile)
Fax.: +386 1 477 3166
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160104/a3ff7498/attachment.html>
-------------- next part --------------
/gate/derenzoPhantom/daughters/name cold_area
/gate/derenzoPhantom/daughters/insert cylinder
/gate/cold_area/vis/forceWireframe
#/gate/cold_area/vis/setColor green
/gate/cold_area/geometry/setRmax 21.4 mm
/gate/cold_area/geometry/setHeight 3. mm
/gate/cold_area/setMaterial Plastic
/gate/cold_area/placement/setTranslation 0. 0. 0. mm #at axis
-------------- next part --------------
# S O U R C E
/gate/source/addSource f18
# for test
/gate/source/f18/setActivity 150000 becquerel
# Position
/gate/source/f18/gps/centre 0 0 0 mm
# particle
/gate/source/f18/gps/particle e+
/gate/source/f18/gps/energytype Fluor18
/gate/source/f18/setForcedUnstableFlag true
/gate/source/f18/setForcedHalfLife 6586 s
/gate/source/f18/gps/type Volume
/gate/source/f18/gps/shape Cylinder
/gate/source/f18/gps/radius 22.6 mm
/gate/source/f18/gps/halfz 1.5 mm
# Set the angular distribution of emission
/gate/source/f18/gps/angtype iso
# Set min and max emission angles
/gate/source/f18/gps/mintheta 0. deg
/gate/source/f18/gps/maxtheta 180. deg
/gate/source/f18/gps/minphi 0. deg
/gate/source/f18/gps/maxphi 360. deg
#add collimator
/gate/world/daughters/name leadCollimator
/gate/world/daughters/insert cylinder
/gate/leadCollimator/setMaterial Lead
/gate/leadCollimator/geometry/setRmin 30 mm
/gate/leadCollimator/geometry/setRmax 50 mm
/gate/leadCollimator/geometry/setHeight 48 mm
/gate/leadCollimator/repeaters/insert genericRepeater
/gate/leadCollimator/genericRepeater/setPlacementsFilename /net/f9pc22/data0/studen/jobs/umSetup/gridFiles/umSetup2_edge/lead.placements
/gate/leadCollimator/genericRepeater/useRelativeTranslation 0
/gate/leadCollimator/vis/forceWireframe
/gate/geometry/rebuild
/gate/source/f18/attachTo derenzoPhantom
/gate/source/f18/gps/Forbid cold_area
/gate/source/list
More information about the Gate-users
mailing list