Geant4 Cross Reference |
1 # Macro file for the visualization for the Xra 1 # Macro file for the visualization for the Xray_SiliconPoreOptics 2 # 2 # 3 # Open a viewer 3 # Open a viewer 4 /vis/open 4 /vis/open 5 # This opens the default viewer - see examples 5 # This opens the default viewer - see examples/basic/B1/vis.mac for a 6 # more comprehensive overview of options. Also 6 # more comprehensive overview of options. Also the documentation. 7 # 7 # 8 # Draw geometry 8 # Draw geometry 9 /vis/drawVolume 9 /vis/drawVolume 10 # 10 # 11 # Specify style 11 # Specify style 12 /vis/viewer/set/style wireframe 12 /vis/viewer/set/style wireframe 13 /vis/viewer/set/auxiliaryEdge true 13 /vis/viewer/set/auxiliaryEdge true 14 /vis/viewer/set/lineSegmentsPerCircle 100 14 /vis/viewer/set/lineSegmentsPerCircle 100 15 # 15 # 16 # Draw all trajectories for a given run 16 # Draw all trajectories for a given run 17 /vis/scene/add/trajectories smooth 17 /vis/scene/add/trajectories smooth 18 #/vis/modeling/trajectories/create/drawByCharg 18 #/vis/modeling/trajectories/create/drawByCharge 19 #/vis/modeling/trajectories/drawByCharge-0/def 19 #/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true 20 #/vis/modeling/trajectories/drawByCharge-0/def 20 #/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2 21 #/vis/scene/endOfEventAction accumulate 21 #/vis/scene/endOfEventAction accumulate 22 # 22 # 23 # Set analysis file name 23 # Set analysis file name 24 /analysis/setFileName output.root 24 /analysis/setFileName output.root 25 # 25 # 26 # Make the "World" box invisible 26 # Make the "World" box invisible 27 /vis/geometry/set/visibility World 0 false 27 /vis/geometry/set/visibility World 0 false