40 lines
772 B
Plaintext
40 lines
772 B
Plaintext
# test02
|
|
#
|
|
/run/initialize
|
|
#
|
|
/gps/particle gamma
|
|
|
|
# square plane source
|
|
/gps/pos/type Plane
|
|
/gps/pos/shape Square
|
|
/gps/pos/centre 1. 2. 1. cm
|
|
/gps/pos/halfx 2. cm
|
|
/gps/pos/halfy 2. cm
|
|
|
|
#cosine-law distribution
|
|
/gps/ang/type cos
|
|
|
|
# linear energy distr.
|
|
/gps/ene/type Lin
|
|
/gps/ene/min 2. MeV
|
|
/gps/ene/max 10. MeV
|
|
/gps/ene/gradient 1.
|
|
/gps/ene/intercept 1.
|
|
|
|
# commands below are independent of gps
|
|
#
|
|
/analysis/setFileName test02
|
|
/analysis/h1/set 1 100 1 20 MeV
|
|
/analysis/h1/set 3 110 -1.1 1.1 none #cos(theta)
|
|
/analysis/h1/set 4 130 -15 375 deg #phi
|
|
/analysis/h2/set 1 100 -5 5 cm none linear 100 -5 5 cm none linear #x-y
|
|
/analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear
|
|
#
|
|
#/control/execute vis.mac
|
|
#
|
|
/run/printProgress 10000
|
|
#
|
|
/run/beamOn 100000
|
|
|
|
|