Rev | Line | |
---|
[807] | 1 | # |
---|
| 2 | # Macro file for A01app |
---|
| 3 | # |
---|
| 4 | # For initialization of graphics. |
---|
| 5 | # |
---|
| 6 | # Create empty scene ("world" is default) |
---|
| 7 | # |
---|
| 8 | #/vis/scene/create |
---|
| 9 | # |
---|
| 10 | # Create a scene handler for a specific graphics system |
---|
| 11 | # Edit the next line(s) to choose another graphic system |
---|
| 12 | # |
---|
| 13 | #/vis/open HepRepFile |
---|
| 14 | #/vis/viewer/set/culling global false |
---|
| 15 | #/vis/scene/endOfEventAction accumulate |
---|
| 16 | # |
---|
| 17 | # Draw detector |
---|
| 18 | # |
---|
| 19 | /vis/drawVolume |
---|
| 20 | # |
---|
| 21 | # Add trajectories to scene |
---|
| 22 | # |
---|
| 23 | #/vis/scene/add/trajectories |
---|
| 24 | # |
---|
| 25 | # Add hits to scene |
---|
| 26 | # |
---|
| 27 | #/vis/scene/add/hits |
---|
| 28 | # |
---|
| 29 | # Do runs |
---|
| 30 | #/tracking/storeTrajectory 1 |
---|
| 31 | # Run 10 events and store event displays |
---|
| 32 | /run/beamOn 10 |
---|
| 33 | # |
---|
| 34 | /mydet/armAngle 60. deg |
---|
| 35 | /mydet/fieldValue 2. tesla |
---|
| 36 | /run/beamOn 10 |
---|
| 37 | # |
---|
| 38 | /mydet/armAngle 30. deg |
---|
| 39 | /mydet/momentum 2. GeV |
---|
| 40 | /mydet/sigmaMomentum 0. |
---|
| 41 | /mydet/sigmaAngle 0. |
---|
| 42 | /run/beamOn 10 |
---|
| 43 | # |
---|
| 44 | /mydet/sigmaAngle 2. deg |
---|
| 45 | /run/beamOn 10 |
---|
| 46 | #/vis/viewer/flush |
---|
| 47 | # |
---|
Note: See
TracBrowser
for help on using the repository browser.