Files
geant4/examples/extended/electromagnetic/TestEm2/vis.mac
T
2016-06-09 14:36:02 +02:00

37 lines
742 B
Plaintext

#
# Macro file for the initialization phase of "TestEm2.cc"
#
# Sets some default verbose
# and initializes the graphic.
#
/control/verbose 2
/run/verbose 2
#
/run/initialize
#
# Create empty scene ("world" is default)
#
/vis/scene/create
#
# Create a scene handler for a specific graphics system
# Edit the next line(s) to choose another graphic system
#
##/vis/open DAWNFILE
/vis/open OGLIX
#
# Draw scene
#
/vis/viewer/set/viewpointThetaPhi 90 180 deg
/vis/viewer/set/style surface
/vis/viewer/zoom 1.1
/vis/viewer/flush
#
# for drawing the tracks
# if too many tracks cause core dump => storeTrajectory 0
/tracking/storeTrajectory 1
/vis/scene/endOfEventAction accumulate
#
/testem/event/drawTracks charged
#/testem/event/drawTracks all