-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdbase_namelists.inc
213 lines (191 loc) · 4.29 KB
/
dbase_namelists.inc
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
include 'simulate.inc'
include 'radc.inc'
include 'g_dump_all_events.inc'
integer*4 ierr, io_nl, iret
integer*4 nnames
integer*4 regparmint, regparmdouble
integer*4 regparmintarray, regparmdoublearray
integer*4 regparmstring
! default unit number for io
parameter(io_nl = 56)
! 15 namelists are defined currently
parameter(nnames = 15)
character*80 nl_names(nnames)
! integer*4 regparmreal
* RESTSW
namelist /RESTSW/
> mc_smear,
> electron_arm,
> hadron_arm,
> use_first_cer,
> extra_dbase_file
* EXPERIMENT
namelist /EXPERIMENT/
> ngen,
> Ebeam,
> dEbeam,
> EXPER,
! EXPER%charge,
> doing_bound,
> doing_phsp,
> doing_kaon,
> which_kaon,
> doing_pion,
> which_pion,
> doing_delta,
> doing_semi,
> doing_hplus,
> doing_rho,
> doing_decay,
> extra_dbase_file,
> ctau,
> use_sf,
> sf_version,
> set_allow_scat_in_coll,
> transparency
* DEBUG
namelist /DEBUG_PARM/
> debug
* TARGET
namelist /TARGET/
> targ,
! targ%A,
! targ%Z,
! targ%mass_amu,
! targ%mrec_amu,
! targ%rho,
! targ%thick,
! targ%xoffset,
! targ%yoffset,
! targ%fr_pattern,
! targ%fr1,
! targ%fr2,
! targ%zoffset,
! targ%angle,
! targ%abundancy,
! targ%can,
> targ_Bangle,
> targ_Bphi,
> targ_pol
* E_ARM_MAIN
namelist /E_ARM_MAIN/
> spec
! spec%e%P,
! spec%e%theta
* P_ARM_MAIN
namelist /P_ARM_MAIN/
> spec
! spec%p%theta
* E_ARM_OFFSET
namelist /E_ARM_OFFSET/
> gen,
> spec
! gen%ywid,
! gen%xwid,
! spec%e%offset%x,
! spec%e%offset%y,
! spec%e%offset%z,
! spec%e%offset%xptar,
! spec%e%offset%yptar
* P_ARM_OFFSET
namelist /P_ARM_OFFSET/
> spec
! spec%p%offset%x,
! spec%p%offset%y,
! spec%p%offset%z,
! spec%p%offset%xptar,
! spec%p%offset%yptar
* MISC2INT
namelist /MISC2INT/
> use_expon,
> one_tail,
> dump_all_in_ntuple,
> intcor_mode
* SIMULATE
namelist /SIMULATE/
> ngen,
> mc_smear,
> mc_smear_addl,
> recon_mc_smear_addl,
> hard_cuts,
> using_rad,
> spect_mode,
> doing_phsp,
> cuts,
! cuts%Em%min,
! cuts%Em%max,
> using_Eloss,
> correct_Eloss,
> standard_Eloss,
> correct_raster,
> deForest_flag,
> rad_flag,
> extrad_flag,
> lambda,
> using_cit_generation,
> Nntu,
> using_Coulomb,
> dE_edge_test,
> use_offshell_rad,
> Egamma_gen_max,
> do_fermi,
> pt_b_param,
> sigc_flag,
> sigc_nbin,
> sigc_kin_min,
> sigc_kin_max,
> sigc_kin_ind,
> using_tgt_field,
> tgt_field_file,
> col_flag,
> drift_to_cal
* E_ARM_ACCEPT
namelist /E_ARM_ACCEPT/
> SPedge
! SPedge%e%delta%min,
! SPedge%e%delta%max,
! SPedge%e%yptar%min,
! SPedge%e%yptar%max,
! SPedge%e%xptar%min,
! SPedge%e%xptar%max
* P_ARM_ACCEPT
namelist /P_ARM_ACCEPT/
> SPedge
! SPedge%p%delta%min,
! SPedge%p%delta%max,
! SPedge%p%yptar%min,
! SPedge%p%yptar%max,
! SPedge%p%xptar%min,
! SPedge%p%xptar%max
! first read the defaults
* KINEMATICS_MAIN
namelist /KINEMATICS_MAIN/
> Ebeam,
> dEbeam,
> EXPER,
> electron_arm,
> hadron_arm,
> use_first_cer,
> spec
* BEAM_AND_TARGET_INFO
namelist /BEAM_AND_TARGET_INFO/
> targ,
> gen
* parameters to control theory models
namelist /THEORY_CTRL/theory_par
! the read the user parameters
data nl_names(1) /"RESTSW"/
data nl_names(2) /"EXPERIMENT" /
data nl_names(3) /"DEBUG_PARM"/
data nl_names(4) /"TARGET"/
data nl_names(5) /"E_ARM_MAIN"/
data nl_names(6) /"P_ARM_MAIN"/
data nl_names(7) /"E_ARM_OFFSET"/
data nl_names(8) /"P_ARM_OFFSET"/
data nl_names(9) /"MISC2INT"/
data nl_names(10) /"SIMULATE"/
data nl_names(11) /"E_ARM_ACCEPT"/
data nl_names(12) /"P_ARM_ACCEPT"/
data nl_names(13) /"KINEMATICS_MAIN"/
data nl_names(14) /"BEAM_AND_TARGET_INFO"/
data nl_names(15) /"THEORY_CTRL"/