# $Id: run2.mac,v 1.6 2002/12/16 16:37:25 maire Exp $ # # Macro file of "exampleN03.cc" # # can be run in batch, without graphic # or interactively: Idle> /control/execute run2.mac # /control/verbose 2 # # electron 30 MeV to the direction (1.,0.,0.) # 1 event # /run/beamOn 1 # # shoot randomly 20 events # /N03/event/printModulo 5 /N03/gun/rndm on /run/beamOn 20 # # activate/inactivate physic processes # /process/list /process/inactivate eBrem # /run/beamOn 20 #