[Gate-users] how to remove a process ?

Mahdjoub Hamdi mahdjoub.hamdi at hotmail.fr
Wed Apr 12 09:33:38 CEST 2017


Hello,

Try this macro, it worked for me.


##############
# EM PROCESS #
##############

#/gate/physics/addProcess PhotoElectric
#/gate/physics/processes/PhotoElectric/setModel StandardModel

/gate/physics/removeProcess PhotoElectric gamma


#/gate/physics/addProcess Compton
#/gate/physics/processes/Compton/setModel StandardModel

/gate/physics/removeProcess Compton gamma


#/gate/physics/addProcess RayleighScattering

/gate/physics/removeProcess RayleighScattering gamma

/gate/physics/processes/RayleighScattering/setModel PenelopeModel

/gate/physics/addProcess ElectronIonisation
/gate/physics/processes/ElectronIonisation/setModel StandardModel e-
/gate/physics/processes/ElectronIonisation/setModel StandardModel e+

/gate/physics/addProcess Bremsstrahlung
/gate/physics/processes/Bremsstrahlung/setModel StandardModel e-
/gate/physics/processes/Bremsstrahlung/setModel StandardModel e+

/gate/physics/addProcess PositronAnnihilation
/gate/physics/addProcess eMultipleScattering e+
/gate/physics/addProcess eMultipleScattering e-

#/gate/physics/removeProcess ElectronIonisation e-
#/gate/physics/removeProcess ElectronIonisation e+
#/gate/physics/removeProcess Bremsstrahlung e-
#/gate/physics/removeProcess Bremsstrahlung e+
#/gate/physics/removeProcess eMultipleScattering e-
#/gate/physics/removeProcess eMultipleScattering e+


Sinceerly,

Mahdjoub.

Le 12/04/2017 à 08:01, Luc SIMON a écrit :

Hello

It is about Gate 7.2
I just start to use the "new" physics list builder". Yes I am late...

I would like to remove a process but it does not work.


For example to remove Compton

I tried :

/gate/physics/removeProcess Compton gamma
/gate/physics/removeProcess Compton e-
/gate/physics/addPhysicsList emstandard_opt3


or

/gate/physics/addPhysicsList emstandard_opt3
/gate/physics/removeProcess Compton gamma
/gate/physics/removeProcess Compton e-


or these two lines AFTER run/initialize

/gate/physics/removeProcess Compton gamma
/gate/physics/removeProcess Compton e-



But in my very simple simulation... I still have Compton effect... Is is normal???
Of course I looked the wiki page... But in vain
See my issue on github to find an example
https://github.com/OpenGATE/Gate/issues/110
Thanks

--
___________________

SIMON Luc, Physicien Médical, PhD
Département d'Ingénierie et de Physique Médicale - IUCT-Oncopole - Toulouse, FRANCE
INSERM UMR 1037 (CRCT) - Equipe 15 - Toulouse, FRANCE



_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org<mailto:Gate-users at lists.opengatecollaboration.org>
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

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


More information about the Gate-users mailing list