Geant4 Cross Reference |
1 ############################################## 1 ################################################### 2 # Visualization of detector geometry and event 2 # Visualization of detector geometry and events 3 ############################################## 3 ################################################### 4 4 5 /tracking/storeTrajectory 1 5 /tracking/storeTrajectory 1 6 /tracking/verbose 0 6 /tracking/verbose 0 7 7 8 /vis/scene/create 8 /vis/scene/create 9 /vis/scene/add/volume WorldVisible 9 /vis/scene/add/volume WorldVisible 10 10 11 # Create a scene handler for a specific graphi 11 # Create a scene handler for a specific graphics system 12 /vis/open OIX 600x600-0+0 12 /vis/open OIX 600x600-0+0 13 13 14 # draw scene 14 # draw scene 15 /vis/viewer/zoom 1.4 15 /vis/viewer/zoom 1.4 16 /vis/viewer/set/viewpointThetaPhi 90 90 deg 16 /vis/viewer/set/viewpointThetaPhi 90 90 deg 17 /vis/viewer/set/style wireframe 17 /vis/viewer/set/style wireframe 18 /vis/viewer/set/hiddenMarker false 18 /vis/viewer/set/hiddenMarker false 19 19 20 /vis/geometry/set/visibility all -1 true 20 /vis/geometry/set/visibility all -1 true 21 /vis/geometry/set/colour vMonitor -1 0.4 1.0 0 21 /vis/geometry/set/colour vMonitor -1 0.4 1.0 0.6 22 /vis/geometry/set/colour vMonitorBack -1 0.4 1 22 /vis/geometry/set/colour vMonitorBack -1 0.4 1.0 0.6 23 /vis/geometry/set/colour vTargetInnerCover -1 23 /vis/geometry/set/colour vTargetInnerCover -1 0.4 1.0 0.6 24 24 25 /vis/modeling/trajectories/create/drawByPartic 25 /vis/modeling/trajectories/create/drawByParticleID 26 /vis/modeling/trajectories/select drawByPartic 26 /vis/modeling/trajectories/select drawByParticleID-0 27 /vis/modeling/trajectories/drawByParticleID-0/ 27 /vis/modeling/trajectories/drawByParticleID-0/setRGBA gamma 0.8 0.8 1.0 1 28 /vis/modeling/trajectories/drawByParticleID-0/ 28 /vis/modeling/trajectories/drawByParticleID-0/setRGBA neutron 0.5 0.5 0.2 1 29 /vis/modeling/trajectories/drawByParticleID-0/ 29 /vis/modeling/trajectories/drawByParticleID-0/setRGBA pi- 1.0 0.0 0.0 1 30 /vis/modeling/trajectories/drawByParticleID-0/ 30 /vis/modeling/trajectories/drawByParticleID-0/setRGBA e- 0.3 0.3 0.8 1 31 /vis/modeling/trajectories/drawByParticleID-0/ 31 /vis/modeling/trajectories/drawByParticleID-0/setRGBA e+ 0.8 0.3 0.3 1 32 32 33 #/vis/scene/add/trajectories 33 #/vis/scene/add/trajectories 34 #/vis/scene/add/hits 34 #/vis/scene/add/hits 35 #/vis/scene/add/axes 35 #/vis/scene/add/axes 36 36 37 /vis/viewer/flush 37 /vis/viewer/flush 38 38 39 /vis/scene/endOfEventAction accumulate 10 39 /vis/scene/endOfEventAction accumulate 10