34 lines
978 B
Plaintext
34 lines
978 B
Plaintext
#############################################################################*#
|
|
# #
|
|
# initInter.mac #
|
|
# Initialisation macro for interactive mode #
|
|
# #
|
|
###############################################################################
|
|
#
|
|
/control/verbose 2
|
|
/control/saveHistory
|
|
#
|
|
# (Edit the next line(s) to choose another graphic system)
|
|
/vis/open OGL
|
|
#/vis/open DANWFILE
|
|
#/vis/open Xo
|
|
#
|
|
# Trajectories: set to 0 if too many
|
|
# alternatively use /dmx/drawTracks [none charged noscint all]
|
|
/tracking/storeTrajectory 1
|
|
#
|
|
#
|
|
# Camera viewpoint
|
|
/vis/drawView 70 -90 0. 0. cm 1.5
|
|
#
|
|
# Add detector to scene
|
|
/vis/drawVolume
|
|
#
|
|
# Flush visualization
|
|
/vis/viewer/update
|
|
#
|
|
#
|
|
# now run macro: gamma.mac, alpha.mac, neutron.mac, sourceAm241.mac
|
|
|
|
|