Files
geant4/examples/novice/N02/run2.mac
T
2016-06-09 10:15:15 +02:00

24 lines
485 B
Plaintext

# $Id: run2.mac,v 1.2 2002/12/16 16:31:42 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
#
/N02/det/setField 2 tesla
/tracking/verbose 0
/hits/verbose 1
/run/beamOn 1