# # Create a scene handler/viewer for a specific graphics system # The compound command "/vis/open " # is equivalent to the following set of commands: # # /vis/sceneHandler/create # /vis/viewer/create # # Create a scene handler and a viewer for the OGLIXm driver # /vis/open OGL 600x600-0+0 # #/vis/viewer/set/style surface /vis/viewer/set/style wireframe # # Set direction from target to camera. /vis/viewer/set/viewpointThetaPhi 0 0 /vis/viewer/zoom 100 # # The compound command "/vis/drawVolume" # is equivalent to the following set of commands: # # /vis/scene/create # /vis/scene/add/volume # /vis/sceneHandler/attach # Create an empty scene and add the detector geometry to it /vis/drawVolume # /vis/scene/add/axes 0 0 0 0.5 cm # # Store particle trajectories for visualization # (if too many tracks cause core dump => storeTrajectory 0) /tracking/storeTrajectory 2 # # Add trajectories to the current scene /vis/scene/add/trajectories smooth # # Requests viewer to accumulate hits, tracks, etc. at end of event. # detector remains or is redrawn. /vis/scene/endOfEventAction refresh #/vis/scene/endOfEventAction accumulate #