forked from ilkerparmaksiz/g4Simple
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_alpha.mac
More file actions
49 lines (42 loc) · 878 Bytes
/
Copy pathrun_alpha.mac
File metadata and controls
49 lines (42 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Macro file for example B1
# Some Very Good Examples of GPS
#
# Can be run in batch, without graphic
# or interactively: Idle> /control/execute run1.mac
#
# Change the default number of workers (in multi-threading mode)
#
# Initialize kernel
/run/numberOfThreads 1
# Custom Geometry related commands
/Geometry/ArPhase Gas
/Geometry/steplim 0.7 mm
/run/initialize
#
/control/verbose 2
/run/verbose 2
/event/verbose 0
/tracking/verbose 0
#
#
/gps/particle alpha
/gps/pos/type Point
/gps/pos/centre 0 0 0 cm
/gps/ang/type iso
# momentum direction
#/gps/direction 0 0 -1
# Mono Energetic
#/gps/ene/type Mono
#/gps/energy 7 eV
# Gaussian Profile
/gps/ene/type Gauss
/gps/ene/mono 1 MeV
/gps/ene/sigma 200 keV
# Uniform distribution
#/gps/ene/type Lin
#/gps/ene/min 1 eV
#/gps/ene/max 10 eV
#/gps/ene/gradient 0
#/gps/ene/intercept 1
# run number of events
/run/beamOn 10000