| Line | |
|---|
| 1 | #
|
|---|
| 2 | # Macro file for the initialization phase of gflash example
|
|---|
| 3 | # when runing in interactive mode
|
|---|
| 4 | #
|
|---|
| 5 | # Sets some default verbose
|
|---|
| 6 | /gps/position 0 0 0
|
|---|
| 7 | /gps/particle e+
|
|---|
| 8 | /gps/energy 2.0 GeV
|
|---|
| 9 | /gps/direction 0. 0. 1.0
|
|---|
| 10 |
|
|---|
| 11 | /vis/scene/create
|
|---|
| 12 | #
|
|---|
| 13 | # Create OGLSXma scene handler for a specific graphics system
|
|---|
| 14 | # (Edit the next le(s) to choose another graphic system)
|
|---|
| 15 |
|
|---|
| 16 | /vis/open OGLIX
|
|---|
| 17 | /vis/viewer/zoom 0.5
|
|---|
| 18 |
|
|---|
| 19 | /vis/viewer/set/viewpointVector 1 1 1
|
|---|
| 20 |
|
|---|
| 21 | /vis/viewer/flush
|
|---|
| 22 | # for drawing the tracks
|
|---|
| 23 | # (if too many tracks cause core dump => storeTrajectory 0)
|
|---|
| 24 | /tracking/storeTrajectory 1
|
|---|
| 25 | /vis/scene/endOfEventAction accumulate
|
|---|
| 26 | /tracking/verbose 0
|
|---|
| 27 | /GFlash/flag 1
|
|---|
| 28 | /run/beamOn 2
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.