-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrunexample.mac
78 lines (58 loc) · 1.87 KB
/
runexample.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
67
68
69
70
71
72
73
74
75
76
77
78
# Location of the geometry mother node
# (this must be either an absolute path or in the geometry_sculpt relative directory)
/remoll/setgeofile geometry_sculpt/mollerMother.gdml
# This must be explicitly called after setting the geometry mother node
/run/initialize
# Load the magnetic field maps
# (this must be either an absolute path or in the map_directory relative directory)
/remoll/addfield map_directory/blockyHybrid_rm_3.0.txt
/remoll/addfield map_directory/blockyUpstream_rm_1.1.txt
# Scale the magnetic field
#/remoll/scalefield map_directory/blockyHybrid_rm_3.0.txt 1.0
#/remoll/magcurrent map_directory/blockyHybrid_rm_3.0.txt 1000.0 A
# Raster and initial angle stuff
/remoll/oldras true
/remoll/rasx 5 mm
/remoll/rasy 5 mm
#/remoll/beam_x0 0 mm
#/remoll/beam_y0 0 mm
# initial angle
#/remoll/beam_th0 0 mrad
#/remoll/beam_ph0 0 mrad
# gaussian spread widths
#/remoll/beam_dth 0 mrad
#/remoll/beam_dph 0 mrad
/remoll/beamene 11 GeV
#/remoll/gen beam
/remoll/gen moller
#/remoll/thcommin 30.0 deg
#/remoll/thcommax 150.0 deg
#/remoll/gen elastic
#/remoll/thmin 0.1 deg
#/remoll/thmax 2.0 deg
#/remoll/emin 80.0 MeV
#/remoll/gen inelastic
#/remoll/gen pion
#/remoll/piontype pi+
#/remoll/gen pion_LUND
#/remoll/gen inelasticAl
#/remoll/gen quasielasticAl
#/remoll/gen elasticAl
/remoll/targpos 0 cm
/remoll/targlen 150 cm
# Set beam current
/remoll/beamcurr 85 microampere
# Disable optical photons and processes (default)
#/remoll/physlist/optical/disable
# Enable optical photons and processes (slower alternative)
#/remoll/physlist/optical/enable
# Make interactions with W, Cu, and Pb
# faster rather than realistic materials
/remoll/kryptonite true
# Set random number seed
/remoll/seed 123456
# Set output filename
# (this must be either an absolute path or in the rootfiles/ relative directory)
/remoll/filename rootfiles/remollout.root
# Simulate events
/run/beamOn 10000