[Gate-users] DoseActor

Elia Alessio alessio.elia at medaustron.at
Thu May 18 17:22:18 CEST 2017

Dear Meryem,

please do not forget to always add the gate-users list when you are answering to the email so that every user can read and contribute.

To have more information to /setPosition /SetSize and /setVoxel (or to the dose actor in general) you can have a look on the wiki:

Long story short:

-        setPosition -> you define a position for your actor within the geometry of your object using as reference system the center of the object itself

-        setSize -> you define the dimension of you actor. If you do not specify this command the actor will have the same size as the object to which is attached to

-        setVoxelSize -> you define the voxelization of your actor which means the dimension of a single voxel. It is like setting a resolution of your scoring grid. In principle you can either use this command or setResolution

Hope it can help


From: meryem fiak [mailto:fiakmeryem.13 at gmail.com]
Sent: Donnerstag, 11. Mai 2017 14:56
To: Elia Alessio <alessio.elia at medaustron.at>
Subject: Re: [Gate-users] DoseActor

Dear Elia,

Thank you so much for your help,

I want to calculate the dose depht and profile in the water  phantom (30*30*30cm)  by the step of 5mm,  using 1 DoseActor instead of 30 (see below), but what command should i use in this case?  I have some difficulties with this commands : /setPosition, /Set Size and
/Set VoxelSize.

Can you help me please

Sorry for the inconvenience,

Thanks again



/gate/world/daughters/name              waterbox
/gate/world/daughters/insert            box
/gate/waterbox/setMaterial              Water
/gate/waterbox/placement/setTranslation 0 0 -115 cm
#/gate/waterbox/placement/setTranslation 0 0 0 cm
/gate/waterbox/geometry/setXLength      300 mm
/gate/waterbox/geometry/setYLength      300 mm
/gate/waterbox/geometry/setZLength      300 mm
/gate/waterbox/vis/setColor             blue
# DoseDistribution_Actor1
/gate/actor/addActor DoseActor doseDistribution1
/gate/actor/doseDistribution1/save  profile1.root
/gate/actor/doseDistribution1/attachTo waterbox
/gate/actor/doseDistribution1/stepHitType           random
/gate/actor/doseDistribution1/setPosition           0 0 0 mm
/gate/actor/doseDistribution1/setSize                 5  5  5      mm
/gate/actor/doseDistribution1/setVoxelSize          5 300 300 mm
/gate/actor/doseDistribution1/saveEveryNSeconds     20
/gate/actor/doseDistribution1/enableEdep true
/gate/actor/doseDistribution1/enableUncertaintyEdep true
/gate/actor/doseDistribution1/enableDose true
/gate/actor/doseDistribution1/enableUncertaintyDose true

2017-05-04 14:03 GMT+01:00 Elia Alessio <alessio.elia at medaustron.at<mailto:alessio.elia at medaustron.at>>:
Dear fiak,

I totally agree with the last email from Andreas. You should decrease the complexity of your macro first in order to figure out the problem...
I had a quick look. It seems to me that you are using a phase space file which you did not provide. Therefore it is difficult to understand if the problem is related to your actors definition or the source itself.

I have also the feeling that your source is not doing what you expect... for example:
- did you check if your beam is going in the right direction?
- did you check if there is an easier way to define a circular gamma source?
- did you try the same macro with a simpler source type like gps for example?

moreover, it seems you are missing a resolution for your dose actor which I would advise to define.

Hope it can help!


-----Original Message-----
From: Gate-users [mailto:gate-users-bounces at lists.opengatecollaboration.org<mailto:gate-users-bounces at lists.opengatecollaboration.org>] On Behalf Of meryem fiak
Sent: Donnerstag, 04. Mai 2017 12:51
To: gate-users at lists.opengatecollaboration.org<mailto:gate-users at lists.opengatecollaboration.org>
Subject: [Gate-users] DoseActor
Dears Gate-Users,

I want to calculate  the depht and profile dose using DoseActor in a water phantom (30*30*30)cm, below the procedure that I followed in the calculation. The results obtained aren't just, the gamma beam doesn't undergo any attenuation in the water.

Please, is the method I tried wrong?

Any help will be highly appreciated.

*Ms*.*FIAK Meriem*
Please notice our E-Mail Disclaimer http://www.medaustron.at/email-disclaimer/

Please notice our E-Mail Disclaimer http://www.medaustron.at/email-disclaimer/

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

More information about the Gate-users mailing list