Line | |
---|
1 | # |
---|
2 | # Macro file for the initialization phase of "phantom.cc" |
---|
3 | # when runing in interactive mode |
---|
4 | # |
---|
5 | # Sets some default verbose |
---|
6 | # |
---|
7 | #/run/verbose 0 |
---|
8 | #/event/verbose 0 |
---|
9 | #/tracking/verbose 0 |
---|
10 | #/control/execute openGLVis.mac |
---|
11 | # Visualize Phantom with DAWN |
---|
12 | #/control/execute dawnVis.mac |
---|
13 | # |
---|
14 | # Create Scene and SceneHandler |
---|
15 | # |
---|
16 | # Run Particles |
---|
17 | # |
---|
18 | # for drawing the tracks |
---|
19 | # (if too many tracks cause core dump => storeTrajectory 0) |
---|
20 | /tracking/storeTrajectory 1 |
---|
21 | /vis/scene/add/trajectories |
---|
22 | # (if you prefer refreshing each event, comment out next line) |
---|
23 | /vis/scene/endOfEventAction accumulate |
---|
24 | # |
---|
25 | # Set Particle |
---|
26 | /gun/particle e- |
---|
27 | /gun/energy 50. MeV |
---|
28 | # |
---|
29 | # Set Direction of Beam |
---|
30 | # |
---|
31 | #/gun/setBeam beamAlongX |
---|
32 | #/gun/setBeam beamAlongY |
---|
33 | /gun/setBeam beamAlongZ |
---|
34 | #/gun/setBeam isotropicFlux |
---|
35 | # |
---|
36 | #/tracking/verbose 1 |
---|
37 | /run/beamOn 100 |
---|
38 | |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | |
---|
49 | |
---|
50 | |
---|
51 | |
---|
52 | |
---|
53 | |
---|
54 | |
---|
55 | |
---|
56 | |
---|
57 | |
---|
58 | |
---|
59 | |
---|
60 | |
---|
61 | |
---|
62 | |
---|
63 | |
---|
64 | |
---|
65 | |
---|
66 | |
---|
67 | |
---|
68 | |
---|
69 | |
---|
70 | |
---|
71 | |
---|
72 | |
---|
73 | |
---|
74 | |
---|
75 | |
---|
Note: See
TracBrowser
for help on using the repository browser.