/gps/source/

Multiple source control sub-directory


Sub-directories :


Commands :


add [addsource]

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

List the defined particle sources

Available at all Geant4 states.


clear

Remove all the defined particle sources

Available at all Geant4 states.


show

Show the current source index and intensity

Available at all Geant4 states.


set [setsource]

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 [deletesource]

delete the indexed source from the list

Range : deletesource > 0

Available at all Geant4 states.

Parameters
deletesource type i


intensity [setintensity]

reset the current source to the specified intensity

Range : setintensity > 0.

Available at all Geant4 states.

Parameters
setintensity type d


multiplevertex [multiplevertex]

true for simultaneous generation multiple vertex
Default is false

Available at all Geant4 states.

Parameters
multiplevertex type b Omittable : default value = 0


flatsampling [flatsampling]

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