Warning, /geant4/examples/advanced/ChargeExchangeMC/mac/visQt.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
0010 /vis/scene/add/volume WorldVisible
0011
0012 # adding custom scene primitives after world volume will make them shine
0013 # brighter which is most important for rendering inner crystal highligts
0014 /cexmc/vis/registerScenePrimitives
0015
0016 # this will make whole scene smooth
0017 /cexmc/vis/markTargetCenter
0018
0019 # Create a scene handler for Qt OpenGL graphics
0020 /vis/open OGLSQt 600x600-0+0
0021 /vis/ogl/set/transparency true
0022
0023 # draw scene
0024 /vis/viewer/zoom 2.0
0025 /vis/viewer/set/viewpointThetaPhi 60 45 deg
0026 /vis/viewer/set/style surface
0027 /vis/viewer/set/culling density
0028 /vis/viewer/set/edge true
0029 /vis/viewer/set/auxiliaryEdge false
0030 /vis/viewer/set/lightsMove cam
0031 /vis/viewer/set/hiddenMarker false
0032
0033 /vis/geometry/set/forceWireframe vWorldVisible 0 true
0034 /vis/geometry/set/forceWireframe vCalorimeter 0 true
0035 /vis/geometry/set/forceWireframe vCrystalRow 0 true
0036 /vis/geometry/set/colour all 0 ! ! ! 0.5
0037 /vis/geometry/set/colour vCrystal 0 0.9 0.7 0.7 0.2
0038 /vis/geometry/set/colour vMonitor -1 0.4 1.0 0.6 0.2
0039 /vis/geometry/set/colour vVetoCounter 0 0.4 1.0 0.6 0.2
0040 /vis/geometry/set/colour vMonitorBack -1 0.4 1.0 0.6 0.0
0041 /vis/geometry/set/colour vTargetOuterCover -1 0.2 0.8 0.6 0.2
0042 /vis/geometry/set/colour vTarget 0 0.4 1.0 0.6 0.2
0043 /vis/geometry/set/colour vInnerCuprumRing 0 0.8 0.5 0.0 0.3
0044 /vis/geometry/set/colour vTargetColumn 0 0.8 0.7 0.7 0.5
0045 /vis/geometry/set/colour vTargetInnerColumn 0 0.8 0.7 0.7 0.5
0046 /vis/geometry/set/colour vOuterFerrumRing 0 0.8 0.7 0.7 0.5
0047 /vis/geometry/set/colour vInnerFerrumRing 0 0.8 0.7 0.7 0.5
0048 /vis/geometry/set/colour vTargetWindow 0 0.8 0.7 0.7 0.5
0049 /vis/geometry/set/colour vTargetWindowCap 0 0.8 0.7 0.7 0.5
0050
0051 /cexmc/vis/setColour ic 1.0 1.0 0.0 0.16
0052 /cexmc/vis/setColour rl 0.8 0.2 0.4
0053
0054 /vis/modeling/trajectories/create/drawByParticleID
0055 /vis/modeling/trajectories/select drawByParticleID-0
0056 /vis/modeling/trajectories/drawByParticleID-0/setRGBA gamma 0.8 0.8 1.0 1
0057 /vis/modeling/trajectories/drawByParticleID-0/setRGBA neutron 0.5 0.5 0.2 1
0058 /vis/modeling/trajectories/drawByParticleID-0/setRGBA pi- 1.0 0.0 0.0 1
0059 /vis/modeling/trajectories/drawByParticleID-0/setRGBA e- 0.3 0.3 0.8 1
0060 /vis/modeling/trajectories/drawByParticleID-0/setRGBA e+ 0.8 0.3 0.3 1
0061
0062 #/vis/scene/add/trajectories
0063 #/vis/scene/add/hits
0064 #/vis/scene/add/axes
0065
0066 /vis/viewer/flush
0067
0068 /vis/scene/endOfEventAction accumulate 10