Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/field/BlineTracer/bline_vis.mac is written in an unsupported language. File is not indexed.

0001 ############################################################################
0002 # Example for Bline visualisation
0003 ############################################################################
0004 
0005 # User section
0006 # -- here the user should add commands for defining start position and time 
0007  
0008 
0009 # BlineTracer tracking commands
0010 #
0011 /tracking/storeTrajectory 1
0012 
0013 # Next computed bline will be stored as Polyline and Polymarker
0014 #
0015 /vis/blineTracer/stockLines true
0016 /vis/blineTracer/stockPoints true
0017 
0018 # Size of the marker
0019 #
0020 /vis/blineTracer/setPointSize 12.
0021 
0022 # Line will be in green
0023 #
0024 /vis/blineTracer/setColour 0 1 0
0025 
0026 # For smooth trajectory choose a small max step length
0027 #
0028 /vis/blineTracer/setMaxStepLength 1. m
0029 
0030 # One line is computed
0031 #
0032 /vis/blineTracer/computeBline 1
0033 
0034 # One possible initialisation of visualisation driver and scene-handler
0035 #
0036 /vis/sceneHandler/remove scene-handler-0
0037 /vis/sceneHandler/create VRML2FILE scene-handler-0 3000
0038 /vis/viewer/create
0039 /vis/viewer/set/viewpointThetaPhi 35. 35. deg
0040 /vis/viewer/zoom .35
0041 /vis/viewer/set/style surface2
0042 
0043 # Stored field lines are added to the visualisation scene
0044 #
0045 /vis/blineTracer/show
0046 
0047 # The computed field line is visualised with the detector component
0048 #
0049 /vis/viewer/flush