| Line | |
|---|
| 1 | #
|
|---|
| 2 | # Macro file for the initialization phase of "exampleN03.cc"
|
|---|
| 3 | #
|
|---|
| 4 | # Sets some default verbose
|
|---|
| 5 | # and initializes the graphic.
|
|---|
| 6 | #
|
|---|
| 7 | /control/verbose 2
|
|---|
| 8 | /control/saveHistory
|
|---|
| 9 | /run/verbose 2
|
|---|
| 10 | #
|
|---|
| 11 | # Create empty scene ("world" is default)
|
|---|
| 12 | /vis/scene/create
|
|---|
| 13 | #
|
|---|
| 14 | /vis/viewer/zoom 10.
|
|---|
| 15 |
|
|---|
| 16 | # Add volume to scene
|
|---|
| 17 | /vis/scene/add/volume
|
|---|
| 18 | #
|
|---|
| 19 | # Create a scene handler for a specific graphics system
|
|---|
| 20 | # Edit the next line(s) to choose another graphic system
|
|---|
| 21 | #
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 | /vis/sceneHandler/create DAWNFILE
|
|---|
| 25 | /vis/sceneHandler/create OGLIX
|
|---|
| 26 | #/vis/sceneHandler/create RAYX
|
|---|
| 27 |
|
|---|
| 28 | #/vis/viewer/zoom 10.
|
|---|
| 29 |
|
|---|
| 30 | # Create a viewer
|
|---|
| 31 | /vis/viewer/create
|
|---|
| 32 | #
|
|---|
| 33 | # Draw scene
|
|---|
| 34 | /vis/scene/notifyHandlers
|
|---|
| 35 | #
|
|---|
| 36 | # for drawing the tracks
|
|---|
| 37 | # if too many tracks cause core dump => storeTrajectory 0
|
|---|
| 38 | /tracking/storeTrajectory 1
|
|---|
| 39 | /vis/scene/add/trajectories
|
|---|
| 40 | #
|
|---|
| 41 | # Flush visualization
|
|---|
| 42 | /vis/viewer/update
|
|---|
| 43 |
|
|---|
| 44 | #/vis/camera/reset
|
|---|
| 45 | #/vis/camera/viewpoint 90 0
|
|---|
| 46 | #vis/camera/zoom 1.5
|
|---|
| 47 |
|
|---|
| 48 | /control/verbose 2
|
|---|
| 49 | /run/verbose 2
|
|---|
| 50 | /event/verbose 0
|
|---|
| 51 | /tracking/verbose 1
|
|---|
| 52 | /gun/particle mu+
|
|---|
| 53 | /gun/energy 300 MeV
|
|---|
| 54 | /run/beamOn 3
|
|---|
| 55 | #/gun/particle geantino
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.