| 1 | # Verbose
|
|---|
| 2 | #
|
|---|
| 3 | /control/verbose 2
|
|---|
| 4 | /tracking/verbose 2
|
|---|
| 5 | /run/verbose 2
|
|---|
| 6 |
|
|---|
| 7 | # Create empty scene
|
|---|
| 8 | /vis/scene/create
|
|---|
| 9 |
|
|---|
| 10 | #
|
|---|
| 11 | /vis/open OGLIX
|
|---|
| 12 |
|
|---|
| 13 | # Draw scene
|
|---|
| 14 | /vis/viewer/zoom 1
|
|---|
| 15 | #/vis/viewer/set/viewpointThetaPhi -50 -60 deg
|
|---|
| 16 | #/vis/viewer/set/viewpointThetaPhi 90 0 deg
|
|---|
| 17 | #/vis/viewer/set/viewpointThetaPhi 0 90 deg
|
|---|
| 18 | /vis/viewer/set/viewpointThetaPhi 105 165 deg
|
|---|
| 19 |
|
|---|
| 20 | /vis/viewer/flush
|
|---|
| 21 | #
|
|---|
| 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 | #
|
|---|
| 27 | #/testem/event/drawTracks all
|
|---|
| 28 | /vis/scene/add/trajectories
|
|---|
| 29 |
|
|---|
| 30 | #/AXPET/gun/optPhotonPolar -360.0 deg
|
|---|
| 31 | /gun/position 0.0 0.0 15.0 mm
|
|---|
| 32 | #/run/beamOn 1
|
|---|
| 33 | #/run/beamOn 1
|
|---|
| 34 | #/run/beamOn 1
|
|---|
| 35 | #if you want add Rotation to detector[deg]
|
|---|
| 36 | #/mydet/RotateX 10.
|
|---|
| 37 | #/mydet/RotateY 10.
|
|---|
| 38 | #if you want abort Run instead of Warning Message
|
|---|
| 39 | #/mydet/AbortRun 1
|
|---|
| 40 | #if you want to change the detector
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 | /mydet/SelectDetector Shell
|
|---|
| 44 | /run/beamOn 30
|
|---|
| 45 | #/mydet/SelectDetector Ellipsoid
|
|---|
| 46 | #/run/beamOn 30
|
|---|
| 47 | #/mydet/SelectDetector Tubs
|
|---|
| 48 | #/run/beamOn 30000
|
|---|
| 49 | #/mydet/SelectDetector Cons
|
|---|
| 50 | #/run/beamOn 3000
|
|---|
| 51 | #/mydet/SelectDetector Polycone
|
|---|
| 52 | #/run/beamOn 3000
|
|---|
| 53 | #/mydet/SelectDetector Polyhedra
|
|---|
| 54 | #/run/beamOn 3000
|
|---|
| 55 | #/mydet/SelectDetector Para
|
|---|
| 56 | #/run/beamOn 3000
|
|---|
| 57 | #/mydet/SelectDetector Torus
|
|---|
| 58 | #/run/beamOn 3000
|
|---|
| 59 | #/mydet/SelectDetector Box
|
|---|
| 60 | #/run/beamOn 3000
|
|---|
| 61 | #/mydet/SelectDetector Orb
|
|---|
| 62 | #/run/beamOn 3000
|
|---|
| 63 | #/mydet/SelectDetector Trd
|
|---|
| 64 | #/run/beamOn 3000
|
|---|
| 65 | #/mydet/SelectDetector Trap
|
|---|
| 66 | #/run/beamOn 3000
|
|---|
| 67 |
|
|---|