33 lines
676 B
Plaintext
33 lines
676 B
Plaintext
# Macro file for the initialization of example ch01
|
|
# in interactive session
|
|
#
|
|
# Set some default verbose
|
|
/control/verbose 2
|
|
/control/saveHistory
|
|
/run/verbose 2
|
|
#
|
|
# Change the default number of threads (in multi-threaded mode)
|
|
#/run/numberOfThreads 4
|
|
#
|
|
#Initialize kernel
|
|
/run/initialize
|
|
#
|
|
# Initialize kernel
|
|
/run/initialize
|
|
#
|
|
#coordinate distribution (radial Gauss)
|
|
/gps/pos/centre 0. 0. -1. cm
|
|
/gps/pos/type Beam
|
|
/gps/pos/sigma_x 0.07 mm
|
|
/gps/pos/sigma_y 0.2 mm
|
|
#
|
|
#angular distribution (radial Gauss)
|
|
/gps/ang/type beam2d
|
|
/gps/ang/rot1 1 0 0
|
|
/gps/ang/rot2 0 -1 0
|
|
/gps/ang/sigma_x 30.E-6 rad
|
|
/gps/ang/sigma_y 30.E-6 rad
|
|
#
|
|
# Visualization setting
|
|
/control/execute vis.mac
|