Geant4 Cross Reference |
1 # 1 # 2 # Open a viewer 2 # Open a viewer 3 /vis/open 3 /vis/open 4 # This opens the default viewer - see examples 4 # This opens the default viewer - see examples/basic/B1/vis.mac for a 5 # more comprehensive overview of options. Also 5 # more comprehensive overview of options. Also the documentation. 6 # 6 # 7 # draw scene 7 # draw scene 8 # 8 # 9 /vis/viewer/reset 9 /vis/viewer/reset 10 /vis/viewer/set/viewpointThetaPhi 180. 90. deg 10 /vis/viewer/set/viewpointThetaPhi 180. 90. deg 11 /vis/viewer/zoom 1.4 11 /vis/viewer/zoom 1.4 12 # 12 # 13 # for drawing the tracks 13 # for drawing the tracks 14 # (if too many tracks cause core dump => store 14 # (if too many tracks cause core dump => storeTrajectory 0) 15 /tracking/storeTrajectory 1 15 /tracking/storeTrajectory 1 16 /vis/scene/endOfEventAction accumulate 16 /vis/scene/endOfEventAction accumulate 17 /vis/scene/add/trajectories 17 /vis/scene/add/trajectories 18 /vis/scene/add/hits 18 /vis/scene/add/hits 19 19 20 20 21 /vis/modeling/trajectories/create/drawByPartic 21 /vis/modeling/trajectories/create/drawByParticleID 22 22 23 23 24 /vis/modeling/trajectories/drawByParticleID-0/ 24 /vis/modeling/trajectories/drawByParticleID-0/set XTPhononSlow Red 25 /vis/modeling/trajectories/drawByParticleID-0/ 25 /vis/modeling/trajectories/drawByParticleID-0/set XTPhononFast Green 26 /vis/modeling/trajectories/drawByParticleID-0/ 26 /vis/modeling/trajectories/drawByParticleID-0/set XLPhonon Blue 27 27 28 /run/beamOn 1 28 /run/beamOn 1