Rev | Line | |
---|
[807] | 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 a scene handler for a specific graphics system |
---|
| 11 | # (Edit the next line(s) to choose another graphics system) |
---|
| 12 | # |
---|
[1189] | 13 | /vis/open OGLIX 600x600-0+0 |
---|
[807] | 14 | # |
---|
[893] | 15 | ####/vis/open OGLSXm |
---|
| 16 | ####/vis/open HepRepXML |
---|
| 17 | # |
---|
[807] | 18 | ####/vis/open DAWNFILE |
---|
| 19 | # |
---|
| 20 | # draw scene |
---|
| 21 | # |
---|
[893] | 22 | /vis/drawVolume |
---|
[807] | 23 | # |
---|
[893] | 24 | /vis/viewer/set/viewpointThetaPhi 90 180 deg |
---|
| 25 | /vis/viewer/zoom 1.4 |
---|
[807] | 26 | # |
---|
| 27 | # for drawing the tracks |
---|
[1189] | 28 | /vis/scene/add/trajectories smooth |
---|
[807] | 29 | # (if too many tracks cause core dump => /tracking/storeTrajectory 0) |
---|
| 30 | # for drawing the hits, uncomment next line |
---|
| 31 | # /vis/scene/add/hits |
---|
| 32 | # (if you prefer refreshing each event, comment out next line) |
---|
[1189] | 33 | /vis/scene/endOfEventAction accumulate |
---|
[807] | 34 | # |
---|
[1189] | 35 | /run/beamOn 10 |
---|
Note: See
TracBrowser
for help on using the repository browser.