forked from QTNM/QTNMSim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathallcommands.mac
More file actions
54 lines (47 loc) · 1.1 KB
/
allcommands.mac
File metadata and controls
54 lines (47 loc) · 1.1 KB
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
# minimal test macro
# verbose
/run/verbose 0
/tracking/verbose 0
# apply limit to transport before run init
/QT/transport/maxtime 1.0 ns
# store trajectories in Signal ntuple
/tracking/storeTrajectory 1
# run init
/run/initialize
# max step after init
/QT/run/maxstep 0.3 mm
# set field Z value
/field/setFieldZ 1.0 tesla
#/field/setField bx by bz tesla
#/field/setMinStep 0.01 mm
#/field/setRadius 20.0 mm
#/field/setCurrent 100 ampere
#/field/setZPos 20.0 mm
#/field/comsolFileName xxx.csv.gz
/field/uniformB
#/field/bathTubB
#/field/comsolB
/field/update
# test gun + all /gps commands
/QT/generator/test true
#/QT/generator/egun true
#/QT/generator/tritium true
#/QT/generator/gunEnergy 18.575
#/QT/generator/gunWidth 5.0e-4
#/QT/generator/gunSpot 0.5
#/QT/generator/order true
#/QT/generator/numass 1.0e-4
#/QT/generator/mN 0.0
#/QT/generator/eta 0.0
# example gps settings for tests
#/gps/verbose 0
#/gps/ene/mono 18.575 keV
#/gps/pos/type Volume
#/gps/pos/shape Cylinder
#/gps/pos/radius 1.5 mm
#/gps/pos/halfz 30.0 mm
#/gps/ang/type cos
#/gps/ang/mintheta 85 deg
#/gps/ang/maxtheta 89 deg
# start
/run/beamOn 1