-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathbend.mac
56 lines (42 loc) · 1.12 KB
/
bend.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
/geometry/source tracker.tg
#/geometry/source LINEAR_X.tg
/geometry/SetB 0 0 1e-1 tesla
/run/initialize
/vis/ASCIITree/verbose 13
/vis/drawTree
/vis/geometry/list
/control/shell dawn -c
/control/shell rm -f *.prim *.eps tracker.png
/vis/open DAWNFILE
/vis/drawVolume
/vis/scene/add/magneticField
/vis/scene/add/trajectories
/vis/scene/endOfEventAction accumulate
/vis/scene/add/text 1.5 9.5 0 cm 20 0 0 electron
/vis/scene/add/text 8 0.3 0 cm 20 0 0 neutron
/vis/scene/add/text 8 -2 0 cm 20 0 0 alpha
/vis/scene/add/text 2 -10.5 0 cm 20 0 0 positon
/vis/viewer/set/background white ! ! 0
/gps/source/multiplevertex true
/gps/source/intensity 0.25
/gps/particle alpha
/gps/energy 5 MeV
/gps/pos/centre -9 -0.1 0 cm
/gps/direction 1 0 0
/gps/source/add 0.25
/gps/particle e-
/gps/energy 5 MeV
/gps/pos/centre -9 0.1 0 cm
/gps/direction 1 0 0
/gps/source/add 0.25
/gps/particle e+
/gps/energy 5 MeV
/gps/pos/centre -9 0.1 0 cm
/gps/direction 1 0 0
/gps/source/add 0.25
/gps/particle neutron
/gps/energy 5 MeV
/gps/pos/centre -9 0.1 0 cm
/gps/direction 1 0 0
/run/beamOn 1
/control/shell convert g4_*.eps -trim +repage tracker.png