[Gate-users] MU and bad_alloc

catarina veiga catarinavveiga at gmail.com
Tue Jun 14 21:35:43 CEST 2011


Thanks for the answer. It was very useful.
>From what I see on the .cc you have a function that reads the beam MU and
energy and converts to number of protons. Can you indicate me any reference
to the equation used, like any article were I can find information of it?
Kind regards,
Catarina Veiga

On Tue, Jun 14, 2011 at 10:18 AM, Loic Grevillot
<loic.grevillot at gmail.com>wrote:

> Dear Catarina,
>
> I think you should move to Gate V6.1, with Geant4.9.4, because many bugs
> should be corrected.
> For pencil beams (of protons, but also with any particle you like), 2 new
> sources have been added:
> - "GateSourcePencilBeam" to define a single pencil beam
> - "GateSourceTPSPencilBeam" to define a pencil beam treatment plan
> Details are available in the documentation, in the bottom of this page:
> http://wiki.opengatecollaboration.org/index.php/Users_Guide_V6.1:Source
> You should try also examples "Novice_4" and "Novice_5" from
> "examples/example_Radiotherapy" directory.
> MU are converted into proton number based on proton stopping power in air
> (see "GateSourceTPSPencilBeam.cc") .
>
> Hope this help!
>
> Loïc Grevillot, Ph.D. Student
> PARTNER project, CERN
>
> IBA Particle Therapy / Creatis-LRMN
> Tel (IBA):         +32 10 487 729
>
>
>
> 2011/6/13 catarina veiga <catarinavveiga at gmail.com>
>
>> Dear users,
>>
>> I am trying to use GATE on my personal computer to acquire dose deposited
>> in
>> a proton treatment plan. I need some good accuracy in my calculations, but
>> for some of my simulations I keep having the simulation aborting, with the
>> error std bad_alloc. I did some research and understand that this is
>> related
>> with memory problems. Is there any way to overcome this kind of issues,
>> without having to reduce the number of events?
>>
>> Also, I use GATE V5 to do my simulations. I read that on new version V6
>> there are some improvements in definition of a TPS pencil beam source. In
>> particular, I am interested in how the conversion of MU to number of
>> particles has been developped (for protons). Can you inform me of the name
>> of the files that have the C++ for this so I can take a look at the code?
>>
>> Kind regards,
>> Catarina Veiga
>> _______________________________________________
>> 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