Files
geant4/examples/advanced/lAr_calorimeter/vis.mac
T
2016-06-09 10:15:15 +02:00

43 lines
806 B
Plaintext

#
# Macro file for the initialization phase of
#
# 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/zoom 1.4
/vis/viewer/flush
#
# for drawing the tracks
# if too many tracks cause core dump => storeTrajectory 0
/tracking/storeTrajectory 1
/vis/scene/endOfEventAction accumulate
#
/event/drawTracks all
#
# set magnetic field for visualization only, and limit
# the step for a proper visualization of the tracjectories
#
#/calor/setField 4 tesla
#/tracking/stepMax 1 m
#/tracking/stepMax 0.25 cm