<div dir="ltr"><div><div><div>Hi,<br><br></div>70 cm (box length) is not bigger than 45.3 cm x 2 (PET diameter).<br><br></div>Regards,<br></div>Simon<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 21, 2015 at 2:14 PM, Lorena VÁZQUEZ CANELAS <span dir="ltr"><<a href="mailto:lorena.vazquez@usal.es" target="_blank">lorena.vazquez@usal.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:comic sans ms,sans-serif;font-size:small">Hi Gaters,<br><br>Do you know if there are some way to implement background radiation in a PET simulation? <br>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.<br>The code that i did is the following:<br><br>#     WORLD: <br>/gate/world/geometry/setXLength       400. cm <br>/gate/world/geometry/setYLength       400. cm<br>/gate/world/geometry/setZLength       400. cm<br><br>#   BACKGROUND<br>/gate/world/daughters/name                    background<br>/gate/world/daughters/insert                  box<br>/gate/background/placement/setTranslation     0.0 0.0 0.0 cm<br>/gate/background/placement/setTranslation     0 0 0 cm<br>/gate/background/geometry/setXLength          70 cm<br>/gate/background/geometry/setYLength          70 cm<br>/gate/background/geometry/setZLength          70 cm<br>/gate/background/setMaterial                  Air<br>/gate/background/vis/setVisible               1<br>/gate/background/vis/setColor                 red<br><br>#    CYLINDRICAL<br>/gate/background/daughters/name               cylindricalPET<br>/gate/background/daughters/insert             cylinder<br>/gate/cylindricalPET/placement/setTranslation 0.0 0.0 0.0 cm<br>/gate/cylindricalPET/geometry/setRmax         45.3 cm<br>/gate/cylindricalPET/geometry/setRmin         42.1 cm<br>/gate/cylindricalPET/geometry/setHeight       21.4 cm<br>/gate/cylindricalPET/setMaterial              Air<br>/gate/cylindricalPET/vis/forceWireframe       1<br>/gate/cylindricalPET/vis/setColor             white<br><br>#    HEAD (rsector)<br>/gate/cylindricalPET/daughters/name           head<br>/gate/cylindricalPET/daughters/insert         box<br>/gate/head/placement/setTranslation           42.1 0 0 cm<br>/gate/head/geometry/setXLength                2 cm<br>/gate/head/geometry/setYLength                5.2 cm<br>/gate/head/geometry/setZLength                20.8 cm<br>/gate/head/setMaterial                        Air<br>/gate/head/vis/setVisible                     1<br>/gate/head/vis/setColor                       red<br><br>#    BLOCK (module)<br>/gate/head/daughters/name                     block<br>/gate/head/daughters/insert                   box<br>/gate/block/placement/setTranslation          0 0 0 cm<br>/gate/block/geometry/setXLength               2 cm<br>/gate/block/geometry/setYLength               5.2 cm<br>/gate/block/geometry/setZLength               5.2 cm<br>/gate/block/setMaterial                       Air<br>/gate/block/vis/setVisible                    1<br>/gate/block/vis/setColor                       blue<br><br>#    CRYSTAL<br>/gate/block/daughters/name                    crystal<br>/gate/block/daughters/insert                  box<br>/gate/crystal/placement/setTranslation        0.0 0.0 0.0 cm<br>/gate/crystal/geometry/setXLength             2 cm<br>/gate/crystal/geometry/setYLength             0.4 cm<br>/gate/crystal/geometry/setZLength             0.4 cm<br>/gate/crystal/setMaterial                     Air<br>/gate/crystal/vis/setVisible                  0<br><br>#    LSO layer<br>/gate/crystal/daughters/name                  LSO<br>/gate/crystal/daughters/insert                box<br>/gate/LSO/placement/setTranslation            0.0 0.0 0.0 cm<br>/gate/LSO/geometry/setXLength                 2 cm<br>/gate/LSO/geometry/setYLength                 0.4 cm<br>/gate/LSO/geometry/setZLength                 0.4 cm<br>/gate/LSO/setMaterial                         LSO<br>/gate/LSO/vis/setVisible                      1<br>/gate/LSO/vis/setColor                        yellow<br><br>#    REPEAT CRYSTAL<br>/gate/crystal/repeaters/insert                cubicArray<br>/gate/crystal/cubicArray/setRepeatNumberX     1<br>/gate/crystal/cubicArray/setRepeatNumberY     13<br>/gate/crystal/cubicArray/setRepeatNumberZ     13<br>/gate/crystal/cubicArray/setRepeatVector      0 0.4 0.4 cm<br><br>#    REPEAT BLOCK<br>/gate/block/repeaters/insert                  cubicArray<br>/gate/block/cubicArray/setRepeatNumberX       1<br>/gate/block/cubicArray/setRepeatNumberY       1<br>/gate/block/cubicArray/setRepeatNumberZ       4<br>/gate/block/cubicArray/setRepeatVector        0 0 5.2 cm<br><br>#    REPEAT HEAD<br>/gate/head/repeaters/insert                   ring<br>/gate/head/ring/setRepeatNumber               48 <br><br>#    ATTACH SYSTEM <br>/gate/systems/cylindricalPET/rsector/attach   head<br>/gate/systems/cylindricalPET/module/attach    block<br>/gate/systems/cylindricalPET/crystal/attach   crystal<br>/gate/systems/cylindricalPET/layer0/attach    LSO<br><br>#    ATTACH CRYSTAL SD<br>/gate/LSO/attachCrystalSD<br><br>/gate/systems/cylindricalPET/describe<br><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;font-size:small">Thanks in advance<span class="HOEnZb"><font color="#888888"><br clear="all"></font></span></div><span class="HOEnZb"><font color="#888888"><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><pre>LORENA VÁZQUEZ CANELAS<br><span>PhD student, </span><span lang="en">Research staff</span><br>LRI - Datación (Despacho Técnicos)<br>Calle Espejo, s/n, 37008 - Salamanca (Spain)<br>TEL: +34 923 294930 ext:4932 email: <a href="mailto:lorena.vazquez@usal.es" target="_blank">lorena.vazquez@usal.es</a><br>web: <a href="http://campus.usal.es/%7Elri/" target="_blank">http://campus.usal.es/~lri/</a></pre></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br></blockquote></div><br></div>