Loading...
Searching...
No Matches
run1.mac
Go to the documentation of this file.
1# Macro file for example B1
2#
3# Can be run in batch, without graphic
4# or interactively: Idle> /control/execute run1.mac
5#
6# Change the default number of workers (in multi-threading mode)
7#/run/numberOfThreads 4
8#
9# Initialize kernel
10/run/initialize
11#
12/control/verbose 2
13/run/verbose 2
14/event/verbose 0
15/tracking/verbose 1
16#
17# gamma 6 MeV to the direction (0.,0.,1.)
18#
19/gun/particle gamma
20/gun/energy 6 MeV
21#
22/run/beamOn 32
23#
24# proton 210 MeV to the direction (0.,0.,1.)
25#
26/gun/particle proton
27/gun/energy 210 MeV
28/tracking/verbose 2
29#
30/run/beamOn 32

Applications | User Support | Publications | Collaboration