| Line | |
|---|
| 1 | #
|
|---|
| 2 | # Macro file for the initialization phase of "exampleRE02.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 | #
|
|---|
| 14 | # Create a scene handler for a specific graphics system
|
|---|
| 15 | # (Edit the next line(s) to choose another graphic system)
|
|---|
| 16 | #
|
|---|
| 17 | #/vis/open VRML2FILE
|
|---|
| 18 | #/vis/open OGLIX
|
|---|
| 19 | #/vis/open DAWNFILE
|
|---|
| 20 | #
|
|---|
| 21 | # draw scene
|
|---|
| 22 | #
|
|---|
| 23 | #/vis/viewer/set/viewpointThetaPhi 90 180 deg
|
|---|
| 24 | #/vis/viewer/zoom 1.4
|
|---|
| 25 | #/vis/viewer/flush
|
|---|
| 26 | #
|
|---|
| 27 | # for drawing the tracks
|
|---|
| 28 | # (if too many tracks cause core dump => storeTrajectory 0)
|
|---|
| 29 | #/tracking/storeTrajectory 1
|
|---|
| 30 | #/vis/scene/add/trajectories
|
|---|
| 31 | # (if you prefer refreshing each event, comment out next line)
|
|---|
| 32 | #/vis/scene/endOfEventAction accumulate
|
|---|
| 33 | #
|
|---|
| 34 | /gun/particle proton
|
|---|
| 35 | /gun/energy 150. MeV
|
|---|
| 36 | /gun/position 0 0 -100 cm
|
|---|
| 37 | /gun/direction 0 0 1
|
|---|
| 38 | #
|
|---|
| 39 | /run/beamOn 100000
|
|---|
| 40 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.