Geant4 Cross Reference |
1 # Macro file for the visualization setting in 2 # of the field05 example. 3 # 4 # Open a viewer 5 /vis/open 6 # This opens the default viewer - see examples 7 # more comprehensive overview of options. Also 8 # 9 # Draw detector 10 /vis/drawVolume 11 # 12 # Draw trajectories at end of event, showing t 13 # markers of size 2 pixels 14 /vis/scene/add/trajectories 15 #/vis/modeling/trajectories/create/drawByCharg 16 #/vis/modeling/trajectories/drawByCharge-0/def 17 #/vis/modeling/trajectories/drawByCharge-0/def 18 # (if too many tracks cause core dump => /trac 19 # 20 # To draw gammas only 21 #/vis/filtering/trajectories/create/particleFi 22 #/vis/filtering/trajectories/particleFilter-0/ 23 # 24 # To draw charged particles only 25 #/vis/filtering/trajectories/particleFilter-0/ 26 # 27 # To draw positive charge particl only 28 #/vis/filtering/trajectories/create/chargeFilt 29 #/vis/filtering/trajectories/chargeFilter-0/ad 30 # 31 # Many other options available with /vis/model 32 # For example, select colour by particle ID 33 /vis/modeling/trajectories/create/drawByPartic 34 /vis/modeling/trajectories/drawByParticleID-0/ 35 /vis/modeling/trajectories/drawByParticleID-0/ 36 /vis/modeling/trajectories/drawByParticleID-0/ 37 /vis/modeling/trajectories/drawByParticleID-0/ 38 /vis/modeling/trajectories/drawByParticleID-0/ 39 /vis/modeling/trajectories/drawByParticleID-0/ 40 # 41 /vis/scene/endOfEventAction accumulate 42 #