# # Macro file for the initialization phase of "LXe.cc" # when runing in interactive mode # # Sets some default verbose # /run/verbose 2 /control/verbose 2 # # 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 OGLIX driver /vis/open OGLIX # /vis/viewer/set/style wireframe # Set direction from target to camera. /vis/viewer/set/viewpointVector 1 1.5 1.1 #/vis/viewer/set/viewpointThetaPhi 90 180 deg #/vis/viewer/zoom 1.4 # # 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 # # Store particle trajectories for visualization # (if too many tracks cause core dump => storeTrajectory 0) /tracking/storeTrajectory 1 # # Add trajectories to the current scene # Note: This command is not necessary since the C++ method DrawTrajectory() # is called in LXeEventAction::EndOfEventAction #/vis/scene/add/trajectories # # Requests viewer to accumulate hits, tracks, etc. at end of event. # detector remains or is redrawn. /vis/scene/endOfEventAction accumulate