Line | |
---|
1 | # |
---|
2 | # Macro file for the initialization phase of "exampleN02.cc" |
---|
3 | # when runing in interactive mode |
---|
4 | # |
---|
5 | # Sets some default verbose |
---|
6 | # |
---|
7 | /control/verbose 2 |
---|
8 | /run/verbose 2 |
---|
9 | # |
---|
10 | # create empty scene |
---|
11 | # |
---|
12 | /vis/scene/create |
---|
13 | /vis/scene/add/volume world |
---|
14 | /vis/scene/add/userAction |
---|
15 | /vis/scene/add/axes |
---|
16 | /vis/scene/add/scale 1 m z |
---|
17 | # |
---|
18 | # Create a scene handler for a specific graphics system |
---|
19 | # (Edit the next line(s) to choose another graphic system) |
---|
20 | # |
---|
21 | /vis/open OGLIX |
---|
22 | # |
---|
23 | ####/vis/open DAWNFILE |
---|
24 | # |
---|
25 | # draw scene |
---|
26 | # |
---|
27 | /vis/viewer/set/viewpointThetaPhi 70 160 deg |
---|
28 | /vis/viewer/flush |
---|
29 | # |
---|
30 | # for drawing the tracks |
---|
31 | # (if too many tracks cause core dump => storeTrajectory 0) |
---|
32 | /tracking/storeTrajectory 1 |
---|
33 | /vis/scene/add/trajectories |
---|
34 | # (if you prefer refreshing each event, comment out next line) |
---|
35 | #/vis/scene/endOfEventAction accumulate |
---|
36 | # |
---|
37 | #/run/beamOn 10 |
---|
Note: See
TracBrowser
for help on using the repository browser.