Files
geant4/examples/extended/eventgenerator/exgps/macros/test32.g4mac
T
2016-06-09 11:11:55 +02:00

61 lines
1.4 KiB
Plaintext

/gps/verbose 0
/gps/particle geantino
/gps/pos/type Surface
/gps/pos/shape Sphere
/gps/pos/radius 5. cm
/gps/ang/type iso
/gps/ang/surfnorm false
/gps/ene/type Arb
/gps/ene/diffspec 0
/gps/hist/type arb
/gps/hist/point 0.0 11.
/gps/hist/point 1.0 10.
/gps/hist/point 2.0 9.
/gps/hist/point 3.0 8.
/gps/hist/point 4.0 7.
/gps/hist/point 7.0 4.
/gps/hist/point 8.0 3.
/gps/hist/point 9.0 2.
/gps/hist/point 10.0 1.
/gps/hist/point 11.0 0.
/gps/hist/inter Lin
# biasing the angular theta
/gps/hist/type biast
/gps/hist/point 0. 0.
/gps/hist/point 0.1 1.
/gps/hist/point 0.5 0.
/gps/hist/point 1. 1.
# biasing the angular phi
/gps/hist/type biasp
/gps/hist/point 0. 0.
/gps/hist/point 0.125 1.
/gps/hist/point 0.375 4.
/gps/hist/point 0.625 0.
/gps/hist/point 0.875 4.
/gps/hist/point 1. 1.
#
# biasing the positional theta generator
# it is used only in the cases of sphere, cylinder and ellipsoid sureface distribution
# incident surface is a section of the sphere only
#
/gps/hist/type biaspt
/gps/hist/point 0. 0.
/gps/hist/point 0.5 0.
/gps/hist/point 1. 1.
# biasing the random number generator for phi when generating posistion
/gps/hist/type biaspp
/gps/hist/point 0. 0.
/gps/hist/point 0.75 0.
/gps/hist/point 1. 1.
# commands below are independent of gps
#
/analysis/filename test32.aida
/analysis/maxeng 15 MeV
/analysis/mineng 0 MeV
/analysis/maxpos 5 cm
/analysis/minpos -5 cm
/event/printModulo 10000
#/control/execute display.mac
/run/beamOn 10000