35 lines
780 B
Plaintext
35 lines
780 B
Plaintext
#
|
|
# Macro file for the initialization phase of "exampleN06.cc"
|
|
# when running in interactive mode
|
|
#
|
|
# Sets some default verbose
|
|
#
|
|
/control/verbose 2
|
|
/run/verbose 2
|
|
#
|
|
# create empty scene
|
|
#
|
|
/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
|
|
#
|
|
/vis/viewer/zoom 1.5
|
|
/vis/viewer/flush
|
|
#
|
|
# for drawing the tracks
|
|
# Draw trajectories at end of event, showing trajectory points as
|
|
# markers of size 2 pixels (parameter/1000).
|
|
/vis/scene/add/trajectories 2000
|
|
# (if too many tracks cause core dump => storeTrajectory 0)
|
|
/tracking/storeTrajectory 1
|
|
/vis/scene/endOfEventAction accumulate
|
|
#
|
|
# Refresh ready for run
|
|
/vis/viewer/refresh
|
|
#
|
|
# Now ready for /run/beamOn.
|