Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/advanced/ICRP110_HumanPhantoms/openGLVis.mac is written in an unsupported language. File is not indexed.

0001 # Use this open statement to create an OpenGL view:
0002 /run/initialize
0003 #/vis/open OGLSX
0004 /vis/open OGL 600x600-0+0
0005 #
0006 # Use this open statement to create a .prim file suitable for
0007 # viewing in DAWN:
0008 #/vis/open DAWNFILE
0009 #
0010 # Use this open statement to create a .wrl file suitable for
0011 # viewing in a VRML viewer:
0012 #/vis/open VRML2FILE
0013 #
0014 # Disable auto refresh and quieten vis messages whilst scene and
0015 # trajectories are established:
0016 /vis/viewer/set/autoRefresh false
0017 /vis/verbose errors
0018 #
0019 # Define background colour (comment out for black as default)
0020 #/vis/viewer/set/background white
0021 #
0022 # Draw geometry:
0023 /vis/drawVolume worlds
0024 #
0025 # Specify view angle:
0026 /vis/viewer/set/viewpointThetaPhi 85 -75 deg
0027 #/vis/viewer/set/lightsMove with-camera
0028 #
0029 # Specify zoom value:
0030 #/vis/viewer/zoom 2.
0031 #
0032 # Specify style (surface or wireframe):
0033 #/vis/viewer/set/style wireframe
0034 #
0035 # Draw coordinate axes:
0036 #/vis/scene/add/axes 0 0 0 1 m
0037 #
0038 # Draw smooth trajectories at end of event, showing trajectory points
0039 # as markers 2 pixels wide:
0040 /vis/scene/add/trajectories smooth
0041 /vis/modeling/trajectories/create/drawByCharge
0042 /vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
0043 /vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2
0044 # (if too many tracks cause core dump => /tracking/storeTrajectory 0)
0045 #
0046 # Draw hits at end of event:
0047 #/vis/scene/add/hits
0048 #
0049 # To draw only gammas:
0050 #/vis/filtering/trajectories/create/particleFilter
0051 #/vis/filtering/trajectories/particleFilter-0/add gamma
0052 #
0053 # To invert the above, drawing all particles except gammas,
0054 # keep the above two lines but also add:
0055 #/vis/filtering/trajectories/particleFilter-0/invert true
0056 #
0057 # Many other options are available with /vis/modeling and /vis/filtering.
0058 # For example, to select colour by particle ID:
0059 #/vis/modeling/trajectories/create/drawByParticleID
0060 #/vis/modeling/trajectories/drawByParticleID-0/set e- blue
0061 #
0062 # To superimpose all of the events from a given run:
0063 /vis/scene/endOfEventAction accumulate
0064 #
0065 # Re-establish auto refreshing and verbosity:
0066 /vis/viewer/set/autoRefresh true
0067 /vis/verbose warnings
0068 #
0069 # For file-based drivers, use this to create an empty detector view:
0070 #/vis/viewer/flush