[Gate-users] BACKGROUND RADIATION
Simon Stute
gate.stute at gmail.com
Wed Oct 21 15:19:49 CEST 2015
Hi,
70 cm (box length) is not bigger than 45.3 cm x 2 (PET diameter).
Regards,
Simon
On Wed, Oct 21, 2015 at 2:14 PM, Lorena VÁZQUEZ CANELAS <
lorena.vazquez at usal.es> wrote:
> Hi Gaters,
>
> Do you know if there are some way to implement background radiation in a
> PET simulation?
> If so, how do you do? My problem is that if I define a box (as a
> background) more bigger than PET's diameter, it gives me error.
> The code that i did is the following:
>
> # WORLD:
> /gate/world/geometry/setXLength 400. cm
> /gate/world/geometry/setYLength 400. cm
> /gate/world/geometry/setZLength 400. cm
>
> # BACKGROUND
> /gate/world/daughters/name background
> /gate/world/daughters/insert box
> /gate/background/placement/setTranslation 0.0 0.0 0.0 cm
> /gate/background/placement/setTranslation 0 0 0 cm
> /gate/background/geometry/setXLength 70 cm
> /gate/background/geometry/setYLength 70 cm
> /gate/background/geometry/setZLength 70 cm
> /gate/background/setMaterial Air
> /gate/background/vis/setVisible 1
> /gate/background/vis/setColor red
>
> # CYLINDRICAL
> /gate/background/daughters/name cylindricalPET
> /gate/background/daughters/insert cylinder
> /gate/cylindricalPET/placement/setTranslation 0.0 0.0 0.0 cm
> /gate/cylindricalPET/geometry/setRmax 45.3 cm
> /gate/cylindricalPET/geometry/setRmin 42.1 cm
> /gate/cylindricalPET/geometry/setHeight 21.4 cm
> /gate/cylindricalPET/setMaterial Air
> /gate/cylindricalPET/vis/forceWireframe 1
> /gate/cylindricalPET/vis/setColor white
>
> # HEAD (rsector)
> /gate/cylindricalPET/daughters/name head
> /gate/cylindricalPET/daughters/insert box
> /gate/head/placement/setTranslation 42.1 0 0 cm
> /gate/head/geometry/setXLength 2 cm
> /gate/head/geometry/setYLength 5.2 cm
> /gate/head/geometry/setZLength 20.8 cm
> /gate/head/setMaterial Air
> /gate/head/vis/setVisible 1
> /gate/head/vis/setColor red
>
> # BLOCK (module)
> /gate/head/daughters/name block
> /gate/head/daughters/insert box
> /gate/block/placement/setTranslation 0 0 0 cm
> /gate/block/geometry/setXLength 2 cm
> /gate/block/geometry/setYLength 5.2 cm
> /gate/block/geometry/setZLength 5.2 cm
> /gate/block/setMaterial Air
> /gate/block/vis/setVisible 1
> /gate/block/vis/setColor blue
>
> # CRYSTAL
> /gate/block/daughters/name crystal
> /gate/block/daughters/insert box
> /gate/crystal/placement/setTranslation 0.0 0.0 0.0 cm
> /gate/crystal/geometry/setXLength 2 cm
> /gate/crystal/geometry/setYLength 0.4 cm
> /gate/crystal/geometry/setZLength 0.4 cm
> /gate/crystal/setMaterial Air
> /gate/crystal/vis/setVisible 0
>
> # LSO layer
> /gate/crystal/daughters/name LSO
> /gate/crystal/daughters/insert box
> /gate/LSO/placement/setTranslation 0.0 0.0 0.0 cm
> /gate/LSO/geometry/setXLength 2 cm
> /gate/LSO/geometry/setYLength 0.4 cm
> /gate/LSO/geometry/setZLength 0.4 cm
> /gate/LSO/setMaterial LSO
> /gate/LSO/vis/setVisible 1
> /gate/LSO/vis/setColor yellow
>
> # REPEAT CRYSTAL
> /gate/crystal/repeaters/insert cubicArray
> /gate/crystal/cubicArray/setRepeatNumberX 1
> /gate/crystal/cubicArray/setRepeatNumberY 13
> /gate/crystal/cubicArray/setRepeatNumberZ 13
> /gate/crystal/cubicArray/setRepeatVector 0 0.4 0.4 cm
>
> # REPEAT BLOCK
> /gate/block/repeaters/insert cubicArray
> /gate/block/cubicArray/setRepeatNumberX 1
> /gate/block/cubicArray/setRepeatNumberY 1
> /gate/block/cubicArray/setRepeatNumberZ 4
> /gate/block/cubicArray/setRepeatVector 0 0 5.2 cm
>
> # REPEAT HEAD
> /gate/head/repeaters/insert ring
> /gate/head/ring/setRepeatNumber 48
>
> # ATTACH SYSTEM
> /gate/systems/cylindricalPET/rsector/attach head
> /gate/systems/cylindricalPET/module/attach block
> /gate/systems/cylindricalPET/crystal/attach crystal
> /gate/systems/cylindricalPET/layer0/attach LSO
>
> # ATTACH CRYSTAL SD
> /gate/LSO/attachCrystalSD
>
> /gate/systems/cylindricalPET/describe
>
> Thanks in advance
>
> --
>
> LORENA VÁZQUEZ CANELAS
> PhD student, Research staff
> LRI - Datación (Despacho Técnicos)
> Calle Espejo, s/n, 37008 - Salamanca (Spain)
> TEL: +34 923 294930 ext:4932 email: lorena.vazquez at usal.es
> web: http://campus.usal.es/~lri/
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20151021/d18fc8e8/attachment-0001.html>
More information about the Gate-users
mailing list