add |
list |
clear |
show |
set |
delete |
intensity |
multiplevertex |
flatsampling |
Add a new source definition to the particle gun
with the specified intensity
Range : addsource > 0.
Available at all Geant4 states.
Parameters
addsource | type d |
List the defined particle sources
Available at all Geant4 states.
Remove all the defined particle sources
Available at all Geant4 states.
Show the current source index and intensity
Available at all Geant4 states.
Set the indexed source as the current one
so one can change its source definition
Range : setsource >= 0
Available at all Geant4 states.
Parameters
setsource | type i |
Delete the indexed source from the list
Range : deletesource > 0
Available at all Geant4 states.
Parameters
deletesource | type i |
Reset the current source to the specified intensity
Range : setintensity > 0.
Available at all Geant4 states.
Parameters
setintensity | type d |
True for simultaneous generation multiple vertex
Default is false
Available at all Geant4 states.
Parameters
multiplevertex | type b | Omittable : default value = 0 |
True for applying flat (biased) sampling among the sources
Default is false
Available at all Geant4 states.
Parameters
flatsampling | type b | Omittable : default value = 0 |