Line | |
---|
1 | # |
---|
2 | # Macro file for visualisation of thin Be target |
---|
3 | # |
---|
4 | # Sets some default verbose |
---|
5 | # and initializes the graphic. |
---|
6 | # |
---|
7 | /control/verbose 2 |
---|
8 | /run/verbose 2 |
---|
9 | /tracking/verbose 0 |
---|
10 | /testem/verbose 0 |
---|
11 | # |
---|
12 | /testem/phys/setCuts 0.1 mm |
---|
13 | # |
---|
14 | /testem/phys/addPhysics emstandard |
---|
15 | #/testem/phys/addPhysics emstandard_opt2 |
---|
16 | #/testem/phys/addPhysics penelope |
---|
17 | #/testem/phys/addPhysics livermore |
---|
18 | # |
---|
19 | /testem/target1Material G4_Be |
---|
20 | /testem/target2Material G4_He |
---|
21 | /testem/target1Z 3 mm |
---|
22 | /testem/target2Z 0.1 mm |
---|
23 | # |
---|
24 | /run/initialize |
---|
25 | # |
---|
26 | /gun/particle e- |
---|
27 | /gun/energy 50.0 MeV |
---|
28 | # |
---|
29 | # Create empty scene ("world" is default) |
---|
30 | /vis/scene/create |
---|
31 | # |
---|
32 | # Create a scene handler for a specific graphics system |
---|
33 | # Edit the next line(s) to choose another graphic system |
---|
34 | # |
---|
35 | ####/vis/open DAWNFILE |
---|
36 | /vis/open OGLSQT |
---|
37 | # |
---|
38 | # Draw scene |
---|
39 | /vis/viewer/set/viewpointThetaPhi -90 0 deg |
---|
40 | /vis/viewer/zoom 1.4 |
---|
41 | /vis/viewer/flush |
---|
42 | # |
---|
43 | # for drawing the tracks |
---|
44 | # if too many tracks cause core dump => storeTrajectory 0 |
---|
45 | /tracking/storeTrajectory 1 |
---|
46 | /vis/scene/endOfEventAction accumulate |
---|
47 | # |
---|
48 | /testem/event/drawTracks all |
---|
Note: See
TracBrowser
for help on using the repository browser.