[Gate-users] Problem with custom physic lists in Gate v7.1
David Sarrut
David.Sarrut at creatis.insa-lyon.fr
Mon Jan 25 08:49:56 CET 2016
Hello,
this is the correct way to do: since the introduction of the PhysicList,
manually setting the physics is unstable and not recommended.
Recommendations are:
- 1) use the provided G4 physic lists, see the list here :
http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.1:Setting_up_the_physics#New_physics_list_mechanism
- 2) if PL are not enough for your needs, create your own (copied/inspired
from the ones in G4) like described by Andreas.
Andreas: if you think it can be useful to other people and if you want to
share your new Physic List in Gate, do not hesitate to send us your code
(ideally by a pull request on github ; contact me if questions).
thanks,
David
On Mon, Jan 11, 2016 at 4:28 PM, Andreas Franz Resch <
andreas.resch at meduniwien.ac.at> wrote:
> Am 08.01.2016 17:34, schrieb Maitz, Charles Anthony:
>
>> Hello Andreas,
>>
>> I have similar problems. On my end, the custom physics list is still
>> working, but using the addPhysicsList command results in an empty
>> output, despite stating the processes are enabled. My root file has
>> no hits. Unfortunately, I have no solution. I tried to post on this
>> previously, but my only email addresses can't reach the listserv
>> (gmail and outlook).
>>
>> Good luck!
>> -charlie
>>
>>
>> Charles A. Maitz, DVM, PhD, DACVR-RO
>> Assistant Professor of Radiation Oncology
>> Department of Veterinary Medicine & Surgery
>> International Institute of Nano & Molecular Medicine
>> University of Missouri - Columbia
>> maitzc at missouri.edu
>>
>>
>>
>>
>> -----Original Message-----
>> From: gate-users-bounces at lists.opengatecollaboration.org
>> [mailto:gate-users-bounces at lists.opengatecollaboration.org] On Behalf
>> Of Andreas Franz Resch
>> Sent: Friday, January 08, 2016 10:14 AM
>> To: gate-users at lists.opengatecollaboration.org
>> Subject: [Gate-users] Problem with custom physic lists in Gate v7.1
>>
>> Hi all,
>>
>> since Gate v7 it is possible to define the physics list with the
>> standard G4 physics lists like e.g.:
>>
>> /gate/physics/addPhysicsList QGSP_BIC_HP
>>
>> However, using a custom physics List like in versions older than 7 or
>> given in the radiotherapy example 4 (Gate v7.1):
>>
>> /gate/physics/addProcess IonInelastic
>> /gate/physics/processes/IonInelastic/setModel G4BinaryLightIonReaction
>> /gate/physics/processes/IonInelastic/setModel G4LEDeuteronInelastic
>> deuteron /gate/physics/processes/IonInelastic/setModel
>> G4LETritonInelastic triton
>>
>> does not work for me (Geant4 10.1). Using the example physics lists
>> produces no error, but also an empty output although Gate shows the
>> physics processes as enabled and initialized.
>>
>> Has somebody else also faced similar problems? I saw that the custom
>> physics lists in the radiotherapy examples in the development branch
>> disappeared - is this a known issue or just a problem of my particular
>> implementation?
>>
>> Cheers,
>> Andreas
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>
> Hi Charlie,
>
> seems to be exactly the same problem as mine. Meanwhile I found a
> workaround. I created my own reference physics list in Geant4 which I then
> call with Gate
> (/gate/physics/addPhysicsList MY_REF_PHYSICSLIST). Unfortunately this is
> difficult and time consuming, but is the easiest solution for me right now,
> although I cannot recommend it in general. Anyway, if you need, I can send
> you an instruction how to do it.
>
>
> Cheers,
> Andreas
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
--
David Sarrut, Phd
Directeur de recherche CNRS
CREATIS, UMR CNRS 5220, Inserm U1206
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/~dsarrut
_________________________________
"2 + 2 = 5, for extremely large values of 2"
_________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160125/d15d334f/attachment.html>
More information about the Gate-users
mailing list