[Gate-users] Scoring proton energy along z
Andreas Resch
andreas.resch at meduniwien.ac.at
Fri May 14 13:52:30 CEST 2021
Hi again,
forget what I wrote earlier, it is way easier.
just write following line for the LET Actor:
/gate/actor/myLETactor/setType AverageKinEnergy
I just have made a quick and dirty test with a 60 MeV proton beam and it
resulted in the expected values. Don't forget the particle filter.
cheers,
Andreas
Am 2021-05-14 13:22, schrieb Andreas Resch:
> Hi Apsara,
> from the LET actor you can get the mean kin Energy. Unfortunately you
> cannot access it from the macro file commands, you would need to
> change the source code and recompile the code. In the GateLETActor.cc
> line 34, set " mIsAverageKinEnergy=false;" to true , then you should
> get it (in the macro file you then need to set all other outputs to
> false).
>
> otherwise I could also add the option in the Messenger in Gate, but
> until the pull request is in the develop branch it usually takes a
> couple of days. So the method above brings you quicker to the
> solution. Maybe there are even other actors that can do that anyway.
>
> cheers,
> Andreas
>
>
>
> Am 2021-05-13 14:41, schrieb Dmitry Hits:
>> Hi Apsara,
>>
>> I think that the dose actor will give you the energy deposited in
>> water.
>> (https://opengate.readthedocs.io/en/latest/tools_to_interact_with_the_simulation_actors.html#dose-measurement-doseactor)
>>
>> The proton energy you can get with the phasespace actor.
>> https://opengate.readthedocs.io/en/latest/tools_to_interact_with_the_simulation_actors.html#phase-space-actor
>> You may need to create several layers of 💦 water (the actor only
>> gives you information on the exit/entrance from/to a layer) You may
>> need to select the protons by the CreatorProcess == 0 (produced by the
>> beam) and NuclearProcess == 0 (did not experience any nuclear
>> interactions) in each layer or simply get an average Ekine of protons
>> with the above restrictions.
>>
>> Cheers,
>>
>> Dmitry
>>
>>> On 12 May 2021, at 21:22, APSARA TENNAKOON <apsara at connect.hku.hk>
>>> wrote:
>>>
>>> Dear GATE users,
>>>
>>> I would like to obtain a depth distribution of proton kinetic energy
>>> in a water phantom, e.g. as seen on the left axis here:
>>>
>> https://www.researchgate.net/figure/Proton-energy-loss-in-water-as-a-function-of-penetration-depth-for-two-incident-proton_fig4_3138600
>>> [1]
>>>
>>> How may I obtain this in GATE?
>>>
>>> Thank you!
>>>
>>> Best regards,
>>> Apsara _______________________________________________
>>> Gate-users mailing list
>>> Gate-users at lists.opengatecollaboration.org
>>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>>
>>
>> Links:
>> ------
>> [1]
>> https://www.researchgate.net/figure/Proton-energy-loss-in-water-as-a-function-of-penetration-depth-for-two-incident-proton_fig4_3138600
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
More information about the Gate-users
mailing list