-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun1.mac
58 lines (53 loc) · 1.1 KB
/
run1.mac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Macro file for meddea_sim
#
# Can be run in batch, without graphic
# or interactively: Idle> /control/execute run1.mac
#
# Change the default number of workers (in multi-threading mode)
#/run/numberOfThreads 4
#
# Initialize kernel
/run/initialize
#
#/control/verbose 2
#/run/verbose 2
#/event/verbose 0
#/tracking/verbose 1
/tracking/storeTrajectory 1
#
# gamma 100 keV to the direction (0.,0.,1.)
#
#/gun/particle gamma
#/gun/energy 5 keV
#
#/run/beamOn 1000
#
# proton 210 MeV to the direction (0.,0.,1.)
#
#/gun/particle proton
#/gun/energy 210 MeV
#/tracking/verbose 2
#
#/run/beamOn 1000
#/gps/ene/type Mono
#/gps/ene/mono 5 keV
#/run/beamOn 1000
/gps/particle gamma
/gps/pos/type Plane
/gps/pos/shape Square
#/gps/pos/centre 0. 0. 10. cm
/gps/pos/halfx 40. mm
/gps/pos/halfy 40. mm
#/gps/pos/rot1 1. 0. 0.
#/gps/pos/rot1 0. 1. 0.
#/gps/pos/centre 0. -8.51 10.00 cm
#/gps/ene/type Mono
#/gps/ene/mono 100 keV
/gps/ene/type Pow
/gps/ene/min 1. keV
/gps/ene/max 100. keV
/gps/ene/alpha 0.
#/gps/direction 0.0000 0.7071 -0.7071
/gps/direction 0.0000 0.0175 -0.9998
/gps/pos/centre 0. -0.17 10.00 cm
/run/beamOn 1000