# $Id: run2.mac,v 1.3 2002/12/17 15:53:08 pmendez Exp $ # # Macro file of "exampleN03.cc" # # (in iteractive it must be executed after initialization) # (otherwise type: /control/execute prerunN03.mac) # (graphic needed: OpenGL or Mesa) # /control/verbose 2 # # electron 30 MeV to the direction (1.,0.,0.) # 1 event # /run/beamOn 1 # # shoot randomly 20 events # /event/printModulo 5 /gun/random on /run/beamOn 20 # # activate/inactivate physic processes # /process/list /process/inactivate eBrem # /run/beamOn 20 #