Warning, /geant4/examples/extended/exoticphysics/saxs/vis.mac is written in an unsupported language. File is not indexed.
0001 #Macro for the visualization
0002
0003 # Open a viewer
0004 /vis/open
0005 # This opens the default viewer - see examples/basic/B1/vis.mac for a
0006 # more comprehensive overview of options. Also the documentation.
0007
0008 #Draw the scene
0009 /vis/viewer/reset
0010 /vis/viewer/set/viewpointThetaPhi 135. 45. deg
0011 /vis/viewer/zoom 0.5
0012
0013 #Specify style (surface, wireframe, auxiliary edges,...)
0014 /vis/viewer/set/style wireframe
0015 /vis/viewer/set/lineSegmentsPerCircle 100
0016
0017 #Geometry
0018 #/vis/geometry/set/lineWidth all 1 3
0019 #/vis/geometry/set/colour PhantomLogic 1 0 0 0
0020
0021 #Decoration
0022 #Axes
0023 /vis/set/lineWidth 3
0024 /vis/scene/add/axes 0 0 0 0.10 m #Simple axes: x=red, y=green, z=blue.
0025 #Name
0026 #/vis/set/textColour red
0027 #/vis/set/textLayout right
0028 #/vis/scene/add/text2D 0.9 -.9 24 ! ! saxs
0029 #Frame
0030 #/vis/set/colour red
0031 #/vis/set/lineWidth 2
0032 #/vis/scene/add/frame #Simple frame around the view
0033 #/vis/set/colour #Revert to default colour (white)
0034 #/vis/set/lineWidth #Revert to default line width (1.)
0035
0036 #Commands for the drawing the tracks
0037 /vis/scene/add/eventID #Drawn at end of event
0038 /tracking/storeTrajectory 0 #(if too many tracks cause core dumped => storeTrajectory 0)
0039 /vis/scene/endOfEventAction accumulate
0040 /vis/scene/add/trajectories smooth rich
0041 #/vis/modeling/trajectories/create/drawByParticleID
0042 /vis/modeling/trajectories/create/drawByCharge
0043 /vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
0044 /vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2
0045
0046 #Draw hits at end of event:
0047 /vis/scene/add/hits
0048
0049 #Geometry test (it can cause a "core dumped")
0050 /geometry/navigator/reset
0051 /geometry/test/run