Warning, /geant4/examples/advanced/ChargeExchangeMC/mac/visOI.mac is written in an unsupported language. File is not indexed.
0001 ###################################################
0002 # Visualization of detector geometry and events
0003 ###################################################
0004
0005 /tracking/storeTrajectory 1
0006 /tracking/verbose 0
0007
0008 /vis/scene/create
0009 /vis/scene/add/volume WorldVisible
0010
0011 # Create a scene handler for a specific graphics system
0012 /vis/open OIX 600x600-0+0
0013
0014 # draw scene
0015 /vis/viewer/zoom 1.4
0016 /vis/viewer/set/viewpointThetaPhi 90 90 deg
0017 /vis/viewer/set/style wireframe
0018 /vis/viewer/set/hiddenMarker false
0019
0020 /vis/geometry/set/visibility all -1 true
0021 /vis/geometry/set/colour vMonitor -1 0.4 1.0 0.6
0022 /vis/geometry/set/colour vMonitorBack -1 0.4 1.0 0.6
0023 /vis/geometry/set/colour vTargetInnerCover -1 0.4 1.0 0.6
0024
0025 /vis/modeling/trajectories/create/drawByParticleID
0026 /vis/modeling/trajectories/select drawByParticleID-0
0027 /vis/modeling/trajectories/drawByParticleID-0/setRGBA gamma 0.8 0.8 1.0 1
0028 /vis/modeling/trajectories/drawByParticleID-0/setRGBA neutron 0.5 0.5 0.2 1
0029 /vis/modeling/trajectories/drawByParticleID-0/setRGBA pi- 1.0 0.0 0.0 1
0030 /vis/modeling/trajectories/drawByParticleID-0/setRGBA e- 0.3 0.3 0.8 1
0031 /vis/modeling/trajectories/drawByParticleID-0/setRGBA e+ 0.8 0.3 0.3 1
0032
0033 #/vis/scene/add/trajectories
0034 #/vis/scene/add/hits
0035 #/vis/scene/add/axes
0036
0037 /vis/viewer/flush
0038
0039 /vis/scene/endOfEventAction accumulate 10