Built-in Geant4 commands can be used to toggle on or off processes defined by the current active physics list. In the deactivated state, the process will not be applied to any applicable particles.
This command lists the available processes that can be activated or deactivated.
No Format |
---|
/process/list |
For example, this command will deactivate Compton scattering for all particles.
No Format |
---|
/process/deactivate comp |
This command turns it back on.
No Format |
---|
/process/activate comp |
It is not currently possible in SLIC to activate or deactivate the processes for only certain particles or regions of the detector.
Warning |
---|
Deactivating Geant4 physics processes is not recommended. We do not support the analysis of events generated with deactivated physics processes. |