Files
geant4/examples/extended/analysis/A01/heprep2.mac
T
2016-06-09 10:56:29 +02:00

41 lines
745 B
Plaintext

#
# Macro file for A01app
#
/run/verbose 2
#
#
# Create empty scene ("world" is default)
#
/vis/scene/create A01Output.heprep
#
# Create a scene handler for a specific graphics system
# Edit the next line(s) to choose another graphic system
#
/vis/open HepRepXML
/vis/heprep/setCoordinateSystem zxy
/vis/viewer/set/culling global false
/vis/viewer/zoom 0.0001
#/vis/viewer/set/viewpointThetaPhi 20 40 deg
#/vis/scene/endOfEventAction accumulate
#
# Add volume to scene
#
/vis/scene/add/volume
#
# Add trajectories to scene
#
/vis/scene/add/trajectories
#
# Add hits to scene
#
/vis/scene/add/hits
#
# Do runs
#
/tracking/storeTrajectory 1
/mydet/armAngle 60. deg
/mydet/fieldValue 4. tesla
/mydet/momentum 2. GeV
/gun/particle e+
/run/beamOn 10