Geant4 Cross Reference |
1 #Macro for the visualization 2 3 # Open a viewer 4 /vis/open 5 # This opens the default viewer - see examples 6 # more comprehensive overview of options. Also 7 8 #Draw the scene 9 /vis/viewer/reset 10 /vis/viewer/set/viewpointThetaPhi 135. 45. deg 11 /vis/viewer/zoom 0.5 12 13 #Specify style (surface, wireframe, auxiliary 14 /vis/viewer/set/style wireframe 15 /vis/viewer/set/lineSegmentsPerCircle 100 16 17 #Geometry 18 #/vis/geometry/set/lineWidth all 1 3 19 #/vis/geometry/set/colour PhantomLogic 1 0 0 0 20 21 #Decoration 22 #Axes 23 /vis/set/lineWidth 3 24 /vis/scene/add/axes 0 0 0 0.10 m #Simple axes 25 #Name 26 #/vis/set/textColour red 27 #/vis/set/textLayout right 28 #/vis/scene/add/text2D 0.9 -.9 24 ! ! saxs 29 #Frame 30 #/vis/set/colour red 31 #/vis/set/lineWidth 2 32 #/vis/scene/add/frame #Simple frame around the 33 #/vis/set/colour #Revert to default col 34 #/vis/set/lineWidth #Revert to default lin 35 36 #Commands for the drawing the tracks 37 /vis/scene/add/eventID #Drawn at 38 /tracking/storeTrajectory 0 #(if too man 39 /vis/scene/endOfEventAction accumulate 40 /vis/scene/add/trajectories smooth rich 41 #/vis/modeling/trajectories/create/drawByParti 42 /vis/modeling/trajectories/create/drawByCharge 43 /vis/modeling/trajectories/drawByCharge-0/defa 44 /vis/modeling/trajectories/drawByCharge-0/defa 45 46 #Draw hits at end of event: 47 /vis/scene/add/hits 48 49 #Geometry test (it can cause a "core dumped") 50 /geometry/navigator/reset 51 /geometry/test/run