[Gate-users] how to distinguish repeated volumes

SUN Liang cn_soochow_sl at 163.com
Fri Dec 16 03:57:12 CET 2016


Hi, everyone,
I  constructed a very simple geometry for testing and learning GATE. some impoetant codes listed for discussion.


first, a box listed below:
/gate/world/daughters/name       bbs
/gate/world/daughters/insert       box
/gate/bbs/geometry/setXLength  4 cm
/gate/bbs/geometry/setYLength  4 cm
/gate/bbs/geometry/setZLength  4 cm
/gate/bbs/setMaterial                  Water


second, repeat the box "bbs" 4 times along z axis:
/gate/bbs/repeaters/insert                             linear
/gate/bbs/linear/setRepeatNumber               4
/gate/bbs/linear/setRepeatVector                 0.0 0.0 17.5 cm
/gate/bbs/linear/autoCenter                          true 


and then, I want to get the dose distribution for each "bbs" using the code listed below:
gate/actor/addActor DoseActor      mydose
/gate/actor/mydose/attachTo         bbs 
/gate/actor/mydose/setVoxelSize   1 1 1 cm
/gate/actor/mydose/setSize           4 4 4 cm
/gate/actor/mydose/save               mybbsdose.txt
/gate/actor/mydose/stepHitType    random
/gate/actor/mydose/enableDose    true


after simulation about 20000 2MeV photons ejection, I got a txt file named "...dose.txt", but it seemed that the dose value array is only for one "bbs", and I even don't know which "bbs" the dose result belongs to.


my question: if I want to get dose distribution for each box "bbs", how I adjust the codes. thanks very much.


SUN Liang 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20161216/3e636bce/attachment.html>


More information about the Gate-users mailing list