-
Notifications
You must be signed in to change notification settings - Fork 0
/
customiseSettings.py
342 lines (255 loc) · 13 KB
/
customiseSettings.py
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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
from __future__ import print_function
import os.path
import FWCore.ParameterSet.Config as cms
def L1TSettingsToCaloParamsHI_2023_v0_4_1(process):
process.load("L1Trigger.L1TCalorimeter.caloParamsHI_2023_v0_4_1_cfi")
return process
def L1TSettingsToCaloParams_2023_v0_4(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2023_v0_4_cfi")
return process
def L1TSettingsToCaloParamsHI_2023_v0_4(process):
process.load("L1Trigger.L1TCalorimeter.caloParamsHI_2023_v0_4_cfi")
return process
def L1TSettingsToCaloParams_2023_v0_4_ppRef(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2023_v0_4_ppRef_cfi")
return process
def L1TSettingsToCaloParams_2023_v0_3_ppRef(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2023_v0_3_ppRef_cfi")
return process
def L1TSettingsToCaloParamsHI_2023_v0_3(process):
process.load("L1Trigger.L1TCalorimeter.caloParamsHI_2023_v0_3_cfi")
return process
def L1TSettingsToCaloParams_2023_v0_3(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2023_v0_3_cfi")
return process
def L1TSettingsToCaloParams_2023_v0_2(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2023_v0_2_cfi")
return process
def L1TSettingsToCaloParams_2023_v0_1(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2023_v0_1_cfi")
return process
def L1TSettingsToCaloParamsHI_2023_v0_0(process):
process.load("L1Trigger.L1TCalorimeter.caloParamsHI_2023_v0_0_cfi")
return process
def L1TSettingsToCaloParamsHI_2022_v0_6(process):
process.load("L1Trigger.L1TCalorimeter.caloParamsHI_2022_v0_6_cfi")
return process
def L1TSettingsToCaloParams_2022_v0_6(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2022_v0_6_cfi")
return process
def L1TSettingsToCaloParamsHI_2022_v0_5(process):
process.load("L1Trigger.L1TCalorimeter.caloParamsHI_2022_v0_5_cfi")
return process
def L1TSettingsToCaloParams_2022_v0_5(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2022_v0_5_cfi")
return process
def L1TSettingsToCaloParamsHI_2022_v0_4_1(process):
process.load("L1Trigger.L1TCalorimeter.caloParamsHI_2022_v0_4_1_cfi")
return process
def L1TSettingsToCaloParamsHI_2022_v0_4(process):
process.load("L1Trigger.L1TCalorimeter.caloParamsHI_2022_v0_4_cfi")
return process
def L1TSettingsToCaloParams_2022_v0_4(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2022_v0_4_cfi")
return process
def L1TSettingsToCaloParamsHI_2022_v0_3(process):
process.load("L1Trigger.L1TCalorimeter.caloParamsHI_2022_v0_3_cfi")
return process
def L1TSettingsToCaloParams_2022_v0_3(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2022_v0_3_cfi")
return process
def L1TSettingsToCaloParamsHI_2022_v0_2(process):
process.load("L1Trigger.L1TCalorimeter.caloParamsHI_2022_v0_2_cfi")
return process
def L1TSettingsToCaloParams_2022_v0_2(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2022_v0_2_cfi")
return process
def L1TSettingsToCaloParams_2022_v0_1(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2022_v0_1_cfi")
return process
def L1TSettingsToCaloParams_2021_v0_2(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2021_v0_2_cfi")
return process
def L1TSettingsToCaloParams_2021_v0_1(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2021_v0_1_cfi")
return process
def L1TSettingsToCaloParams_2018_v1_4_1(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2018_v1_4_1_cfi")
return process
def L1TSettingsToCaloParams_2018_v1_4(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2018_v1_4_cfi")
return process
def L1TSettingsToCaloParams_2018_v1_3(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2018_v1_3_cfi")
return process
def L1TSettingsToCaloParams_2018_v1_2(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2018_v1_2_cfi")
return process
def L1TSettingsToCaloParams_2018_v1_1_ECALZS_2018MET(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2018_v1_1_ECALZS_2018MET_cfi")
return process
def L1TSettingsToCaloParams_2018_v1_1_ECALZS(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2018_v1_1_ECALZS_cfi")
return process
def L1TSettingsToCaloParams_2018_v1_1_ECALZS_noHFJEC_newEGIso(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2018_v1_1_ECALZS_noHFJEC_newEGIso_cfi")
return process
def L1TSettingsToCaloParams_2018_v1_1_ECALZS_noHFJEC(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2018_v1_1_ECALZS_noHFJEC_cfi")
return process
def L1TSettingsToCaloParams_2018_v1_1(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2018_v1_1_cfi")
return process
def L1TSettingsToCaloParams_2018_v1_1_inconsistent(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2018_v1_1_inconsistent_cfi")
return process
def L1TSettingsToCaloParams_2018_v1_1_ECALZS_inconsistent(process):
process.load("L1Trigger.L1TCalorimeter.caloParams_2018_v1_1_ECALZS_inconsistent_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_10_mean_inconsistent(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_10_mean_inconsistent_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_10_mode_inconsistent(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_10_mode_inconsistent_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_9_inconsistent_newHF_v6MET(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_9_inconsistent_newHF_v6MET_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_9_inconsistent_mean_newHF(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_9_inconsistent_mean_newHF_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_9_inconsistent_newHF(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_9_inconsistent_newHF_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_9_inconsistent(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_9_inconsistent_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_9_inconsistent_mean(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_9_inconsistent_mean_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_8_2(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_8_2_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_8_1(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_8_1_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_8_excl30(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_8_excl30_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_8_2_updateHFSF(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_8_2_updateHFSF_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_8_2_updateHFSF_v7MET(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_8_2_updateHFSF_v7MET_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_8_4(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_8_4_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_8_4_ECALZS(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_8_4_ECAL_ZS_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_8_5(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_8_5_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_8_2_updateHFSF_v6MET(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_8_2_updateHFSF_v6MET_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_8_updateHFSF_v6MET(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_8_updateHFSF_v6MET_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_8_updateHFSF(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_8_updateHFSF_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_8_v6MET(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_8_v6MET_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_8(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_8_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_7_2(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_7_2_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_7_excl30(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_7_excl30_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_7_v6MET_egiso2(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_7_v6MET_egiso2_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_7_v6MET(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_7_v6MET_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_7(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_7_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_6_2(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_6_2_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_6(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_6_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_5(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_5_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_4(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_4_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_3_inconsistent(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_3_inconsistent_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_2_noHCALSF_inconsistent(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_2_noHCALSF_inconsistent_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_2_inconsistent(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_2_inconsistent_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_1(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_1_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_1(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_1_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v1_0_inconsistent(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_0_inconsistent_cfi")
return process
def L1TSettingsToCaloStage2Params_2017_v0_0(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2017_v0_0_cfi")
return process
def L1TSettingsToCaloStage2Params_v3_3_1_HI(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2016_v3_3_1_HI_cfi")
return process
def L1TSettingsToCaloStage2Params_v3_3_1(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2016_v3_3_1_cfi")
return process
def L1TSettingsToCaloStage2Params_v3_3_HI(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2016_v3_3_HI_cfi")
return process
def L1TSettingsToCaloStage2Params_v3_3(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2016_v3_3_cfi")
return process
def L1TSettingsToCaloStage2Params_v3_2(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2016_v3_2_cfi")
return process
def L1TSettingsToCaloStage2Params_v3_1(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2016_v3_1_cfi")
return process
def L1TSettingsToCaloStage2Params_v3_0(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2016_v3_0_cfi")
return process
def L1TSettingsToCaloStage2Params_v2_2(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2016_v2_2_cfi")
return process
def L1TSettingsToCaloStage2Params_v2_1(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2016_v2_1_cfi")
return process
def L1TSettingsToCaloStage2Params_v2_0(process):
process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2016_v2_0_cfi")
return process
def L1TSettingsToCaloStage2Params_UserDefine(process):
print("Loading configuration for calorimeter parameters in user defined file ./caloStage2Params_UserDefine_cfi.py")
if not (os.path.exists("./caloStage2Params_UserDefine_cfi.py")):
print("WARNING:")
print(" Please create file ./caloStage2Params_UserDefine_cfi.py if you want to use the flag: ")
print(" --customise=L1Trigger/Configuration/customiseSettings.L1TSettingsToCaloParams_UserDefine")
else:
process.load("./caloStage2Params_UserDefine_cfi")
return process