Files
geant4/examples/novice/N02/run2.mac
T
2016-06-08 15:55:53 +02:00

24 lines
483 B
Plaintext

# $Id: run2.mac,v 1.1 2000/12/04 16:24:04 maire Exp $
#
# Macro file for "exampleN02.cc"
#
# can be run in batch, without graphic
# or interactively: Idle> /control/execute run2.mac
#
/run/verbose 2
/event/verbose 0
#
# proton 3 GeV to the direction (0.,0.,1.) (default kinematic)
# 1 event with detailled printing
#
/tracking/verbose 1
/run/beamOn 1
#
# set a magnetic field
# 1 events; print the hits
#
/mydet/setField 2 tesla
/tracking/verbose 0
/hits/verbose 1
/run/beamOn 1