-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun1.mac
More file actions
44 lines (44 loc) · 755 Bytes
/
run1.mac
File metadata and controls
44 lines (44 loc) · 755 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
# Macro file for example B4
#
# 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/numberOfWorkers 4
#
# Initialize kernel
/run/initialize
#
# Default kinematics:
# electron 50 MeV in direction (0.,0.,1.)
# 1 event with tracking/verbose
#
#/tracking/verbose 1
/run/beamOn 2000
#
#
# 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
#