-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun1.mac
66 lines (59 loc) · 1.04 KB
/
run1.mac
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Macro file for example B1
#
# Can be run in batch, without graphic
# or interactively: Idle> /control/execute run1.mac
#
# Change the default number of workers (in multi-threading mode)
/run/numberOfThreads 8
#
# Initialize kernel
/run/initialize
#
# Default kinematics:
# electron 50 MeV in direction (0.,0.,1.)
# 1 event with tracking/verbose
#
/control/verbose 1
/run/verbose 1
/tracking/verbose 0
/gun/particle gamma
/gun/energy 1 GeV
/run/beamOn 1000
/gun/energy 2 GeV
/run/beamOn 1000
/gun/energy 5 GeV
/run/beamOn 1000
/gun/energy 10 GeV
/tracking/verbose 0
/run/beamOn 1000
/gun/energy 50 GeV
/run/beamOn 1000
/gun/energy 100 GeV
/run/beamOn 1000
#
#
# muon 300 MeV in direction (0.,0.,1.)
# 3 events
#
# /gun/particle mu+
# /gun/energy 3 MeV
# /run/beamOn 3
# #
# # 20 events
# #
# /tracking/verbose 0
# /run/printProgress 5
# /run/beamOn 20
# #
# # Magnetic field
# #
# /globalField/setValue 0.2 0 0 tesla
# /run/beamOn 3
# #
# # Activate/inactivate physics processes
# #
# /process/list
# /process/inactivate eBrem
# #
# /run/beamOn 20
#