CMS 3D CMS Logo

upgradeWorkflowComponents.py
Go to the documentation of this file.
1 from copy import deepcopy
2 
3 # DON'T CHANGE THE ORDER, only append new keys. Otherwise the numbering for the runTheMatrix tests will change.
4 
5 upgradeKeys = {}
6 
7 upgradeKeys[2017] = [
8  '2017',
9  '2017PU',
10  '2017Design',
11  '2017DesignPU',
12  '2018',
13  '2018PU',
14  '2018Design',
15  '2018DesignPU',
16  '2019',
17 # '2019PU',
18  '2019Design',
19 # '2019DesignPU',
20 ]
21 
22 upgradeKeys[2023] = [
23  '2023D17',
24  '2023D17PU',
25  '2023D19',
26  '2023D19PU',
27  '2023D21',
28  '2023D21PU',
29  '2023D22',
30  '2023D22PU',
31  '2023D23',
32  '2023D23PU',
33  '2023D24',
34  '2023D24PU',
35  '2023D25',
36  '2023D25PU',
37  '2023D26',
38  '2023D26PU',
39  '2023D27',
40  '2023D27PU',
41  '2023D28',
42  '2023D28PU',
43  '2023D29',
44  '2023D29PU',
45  '2023D30',
46  '2023D30PU',
47  '2023D31',
48  '2023D31PU',
49 ]
50 
51 # pre-generation of WF numbers
52 numWFStart={
53  2017: 10000,
54  2023: 20000,
55 }
56 numWFSkip=200
57 # temporary measure to keep other WF numbers the same
58 numWFConflict = [[11800,12000],[12200,12400],[20800,21200],[25000,26000],[50000,51000]]
59 numWFAll={
60  2017: [],
61  2023: []
62 }
63 
64 for year in upgradeKeys:
65  for i in range(0,len(upgradeKeys[year])):
66  numWFtmp = numWFStart[year] if i==0 else (numWFAll[year][i-1] + numWFSkip)
67  for conflict in numWFConflict:
68  if numWFtmp>=conflict[0] and numWFtmp<conflict[1]:
69  numWFtmp = conflict[1]
70  break
71  numWFAll[year].append(numWFtmp)
72 
73 # steps for baseline and for variations
74 upgradeSteps={}
75 upgradeSteps['baseline'] = {
76  'steps' : [
77  'GenSimFull',
78  'GenSimHLBeamSpotFull',
79  'GenSimHLBeamSpotFull14',
80  'DigiFull',
81  'DigiFullTrigger',
82  'RecoFullLocal',
83  'RecoFull',
84  'RecoFullGlobal',
85  'HARVESTFull',
86  'FastSim',
87  'HARVESTFast',
88  'HARVESTFullGlobal',
89  'ALCAFull',
90  'NanoFull',
91  ],
92  'PU' : [
93  'DigiFullTrigger',
94  'RecoFullLocal',
95  'RecoFullGlobal',
96  'DigiFull',
97  'RecoFull',
98  'HARVESTFull',
99  'HARVESTFullGlobal',
100  ],
101  'suffix' : '',
102  'offset' : 0.0,
103 }
104 upgradeSteps['trackingOnly'] = {
105  'steps' : [
106  'RecoFull',
107  'HARVESTFull',
108  'RecoFullGlobal',
109  'HARVESTFullGlobal',
110  ],
111  'PU' : [],
112  'suffix' : '_trackingOnly',
113  'offset' : 0.1,
114 }
115 upgradeSteps['trackingRun2'] = {
116  'steps' : [
117  'RecoFull',
118  ],
119  'PU' : [],
120  'suffix' : '_trackingRun2',
121  'offset' : 0.2,
122 }
123 upgradeSteps['trackingOnlyRun2'] = {
124  'steps' : [
125  'RecoFull',
126  'HARVESTFull',
127  ],
128  'PU' : [],
129  'suffix' : '_trackingOnlyRun2',
130  'offset' : 0.3,
131 }
132 upgradeSteps['trackingLowPU'] = {
133  'steps' : [
134  'RecoFull',
135  ],
136  'PU' : [],
137  'suffix' : '_trackingLowPU',
138  'offset' : 0.4,
139 }
140 upgradeSteps['pixelTrackingOnly'] = {
141  'steps' : [
142  'RecoFull',
143  'HARVESTFull',
144  'RecoFullGlobal',
145  'HARVESTFullGlobal',
146  ],
147  'PU' : [],
148  'suffix' : '_pixelTrackingOnly',
149  'offset' : 0.5,
150 }
151 upgradeSteps['Timing'] = {
152  'steps' : upgradeSteps['baseline']['steps'],
153  'PU' : upgradeSteps['baseline']['PU'],
154  'suffix' : '_Timing',
155  'offset' : 0.11,
156 }
157 upgradeSteps['Neutron'] = {
158  'steps' : [
159  'GenSimFull',
160  'GenSimHLBeamSpotFull',
161  'GenSimHLBeamSpotFull14',
162  'DigiFull',
163  'DigiFullTrigger',
164  ],
165  'PU' : [
166  'DigiFull',
167  'DigiFullTrigger',
168  ],
169  'suffix' : '_Neutron',
170  'offset' : 0.12,
171 }
172 upgradeSteps['heCollapse'] = {
173  'steps' : [
174  'GenSimFull',
175  'DigiFull',
176  'RecoFull',
177  'HARVESTFull',
178  'ALCAFull',
179  ],
180  'PU' : [
181  'DigiFull',
182  'RecoFull',
183  'HARVESTFull',
184  ],
185  'suffix' : '_heCollapse',
186  'offset' : 0.6,
187 }
188 upgradeSteps['Premix'] = {
189  'steps' : [],
190  'PU': [
191  'PremixFull',
192  'PremixHLBeamSpotFull',
193  'PremixHLBeamSpotFull14',
194  ],
195  'suffix': '_Premix',
196  'offset': 0.97,
197 }
198 # Premix stage2 is derived from baseline+PU in relval_upgrade.py
199 premixS2_offset = 0.98
200 # Premix combined stage1+stage2 is derived for Premix+PU and baseline+PU in relval_upgrade.py
201 premixS1S2_offset = 0.99
202 
203 upgradeProperties = {}
204 
205 upgradeProperties[2017] = {
206  '2017' : {
207  'Geom' : 'DB:Extended',
208  'GT' : 'auto:phase1_2017_realistic',
209  'HLTmenu': '@relval2017',
210  'Era' : 'Run2_2017',
211  'ScenToRun' : ['GenSimFull','DigiFull','RecoFull','HARVESTFull','ALCAFull'],
212  },
213  '2017Design' : {
214  'Geom' : 'DB:Extended',
215  'GT' : 'auto:phase1_2017_design',
216  'HLTmenu': '@relval2017',
217  'Era' : 'Run2_2017',
218  'BeamSpot': 'GaussSigmaZ4cm',
219  'ScenToRun' : ['GenSimFull','DigiFull','RecoFull','HARVESTFull'],
220  },
221  '2018' : {
222  'Geom' : 'DB:Extended',
223  'GT' : 'auto:phase1_2018_realistic',
224  'HLTmenu': '@relval2018',
225  'Era' : 'Run2_2018',
226  'BeamSpot': 'Realistic25ns13TeVEarly2018Collision',
227  'ScenToRun' : ['GenSimFull','DigiFull','RecoFull','HARVESTFull','ALCAFull','NanoFull'],
228  },
229  '2018Design' : {
230  'Geom' : 'DB:Extended',
231  'GT' : 'auto:phase1_2018_design',
232  'HLTmenu': '@relval2018',
233  'Era' : 'Run2_2018',
234  'BeamSpot': 'GaussSigmaZ4cm',
235  'ScenToRun' : ['GenSimFull','DigiFull','RecoFull','HARVESTFull'],
236  },
237  '2019' : {
238  'Geom' : 'Extended2019',
239  'GT' : 'auto:phase1_2019_realistic',
240  'HLTmenu': '@relval2017',
241  'Era' : 'Run3',
242  'ScenToRun' : ['GenSimFull','DigiFull','RecoFull','HARVESTFull','ALCAFull'],
243  },
244  '2019Design' : {
245  'Geom' : 'Extended2019',
246  'GT' : 'auto:phase1_2019_design',
247  'HLTmenu': '@relval2017',
248  'Era' : 'Run3',
249  'BeamSpot': 'GaussSigmaZ4cm',
250  'ScenToRun' : ['GenSimFull','DigiFull','RecoFull','HARVESTFull'],
251  },
252 }
253 
254 upgradeProperties[2017]['2017PU'] = deepcopy(upgradeProperties[2017]['2017'])
255 upgradeProperties[2017]['2017PU']['ScenToRun'] = ['GenSimFull','DigiFullPU','RecoFullPU','HARVESTFullPU']
256 upgradeProperties[2017]['2017DesignPU'] = deepcopy(upgradeProperties[2017]['2017Design'])
257 upgradeProperties[2017]['2017DesignPU']['ScenToRun'] = ['GenSimFull','DigiFullPU','RecoFullPU','HARVESTFullPU']
258 upgradeProperties[2017]['2018PU'] = deepcopy(upgradeProperties[2017]['2018'])
259 upgradeProperties[2017]['2018PU']['ScenToRun'] = ['GenSimFull','DigiFullPU','RecoFullPU','HARVESTFullPU','NanoFull']
260 upgradeProperties[2017]['2018DesignPU'] = deepcopy(upgradeProperties[2017]['2018Design'])
261 upgradeProperties[2017]['2018DesignPU']['ScenToRun'] = ['GenSimFull','DigiFullPU','RecoFullPU','HARVESTFullPU']
262 
263 upgradeProperties[2023] = {
264  '2023D17' : {
265  'Geom' : 'Extended2023D17',
266  'HLTmenu': '@fake2',
267  'GT' : 'auto:phase2_realistic',
268  'Era' : 'Phase2',
269  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
270  },
271  '2023D19' : {
272  'Geom' : 'Extended2023D19',
273  'HLTmenu': '@fake2',
274  'GT' : 'auto:phase2_realistic',
275  'Era' : 'Phase2_timing_layer',
276  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
277  },
278  '2023D21' : {
279  'Geom' : 'Extended2023D21',
280  'HLTmenu': '@fake2',
281  'GT' : 'auto:phase2_realistic',
282  'Era' : 'Phase2',
283  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
284  },
285  '2023D22' : {
286  'Geom' : 'Extended2023D22',
287  'HLTmenu': '@fake2',
288  'GT' : 'auto:phase2_realistic',
289  'Era' : 'Phase2',
290  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
291  },
292  '2023D23' : {
293  'Geom' : 'Extended2023D23',
294  'HLTmenu': '@fake2',
295  'GT' : 'auto:phase2_realistic',
296  'Era' : 'Phase2',
297  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
298  },
299  '2023D24' : {
300  'Geom' : 'Extended2023D24',
301  'HLTmenu': '@fake2',
302  'GT' : 'auto:phase2_realistic',
303  'Era' : 'Phase2_timing_layer_new',
304  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
305  },
306  '2023D25' : {
307  'Geom' : 'Extended2023D25',
308  'HLTmenu': '@fake2',
309  'GT' : 'auto:phase2_realistic',
310  'Era' : 'Phase2_timing_layer_new',
311  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
312  },
313  '2023D26' : {
314  'Geom' : 'Extended2023D26',
315  'HLTmenu': '@fake2',
316  'GT' : 'auto:phase2_realistic',
317  'Era' : 'Phase2',
318  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
319  },
320  '2023D27' : {
321  'Geom' : 'Extended2023D27',
322  'HLTmenu': '@fake2',
323  'GT' : 'auto:phase2_realistic',
324  'Era' : 'Phase2',
325  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
326  },
327  '2023D28' : {
328  'Geom' : 'Extended2023D28',
329  'HLTmenu': '@fake2',
330  'GT' : 'auto:phase2_realistic',
331  'Era' : 'Phase2C4',
332  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
333  },
334  '2023D29' : {
335  'Geom' : 'Extended2023D29',
336  'HLTmenu': '@fake2',
337  'GT' : 'auto:phase2_realistic',
338  'Era' : 'Phase2',
339  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
340  },
341  '2023D30' : {
342  'Geom' : 'Extended2023D30',
343  'HLTmenu': '@fake2',
344  'GT' : 'auto:phase2_realistic',
345  'Era' : 'Phase2C4',
346  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
347  },
348  '2023D31' : {
349  'Geom' : 'Extended2023D31',
350  'HLTmenu': '@fake2',
351  'GT' : 'auto:phase2_realistic',
352  'Era' : 'Phase2C6',
353  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
354  },
355 }
356 
357 
358 
359 #standard PU sequences
360 upgradeProperties[2023]['2023D17PU'] = deepcopy(upgradeProperties[2023]['2023D17'])
361 upgradeProperties[2023]['2023D17PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
362 upgradeProperties[2023]['2023D19PU'] = deepcopy(upgradeProperties[2023]['2023D19'])
363 upgradeProperties[2023]['2023D19PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
364 upgradeProperties[2023]['2023D21PU'] = deepcopy(upgradeProperties[2023]['2023D21'])
365 upgradeProperties[2023]['2023D21PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
366 upgradeProperties[2023]['2023D22PU'] = deepcopy(upgradeProperties[2023]['2023D22'])
367 upgradeProperties[2023]['2023D22PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
368 upgradeProperties[2023]['2023D23PU'] = deepcopy(upgradeProperties[2023]['2023D23'])
369 upgradeProperties[2023]['2023D23PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
370 upgradeProperties[2023]['2023D24PU'] = deepcopy(upgradeProperties[2023]['2023D24'])
371 upgradeProperties[2023]['2023D24PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
372 upgradeProperties[2023]['2023D25PU'] = deepcopy(upgradeProperties[2023]['2023D25'])
373 upgradeProperties[2023]['2023D25PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
374 upgradeProperties[2023]['2023D26PU'] = deepcopy(upgradeProperties[2023]['2023D26'])
375 upgradeProperties[2023]['2023D26PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
376 upgradeProperties[2023]['2023D27PU'] = deepcopy(upgradeProperties[2023]['2023D27'])
377 upgradeProperties[2023]['2023D27PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
378 upgradeProperties[2023]['2023D28PU'] = deepcopy(upgradeProperties[2023]['2023D28'])
379 upgradeProperties[2023]['2023D28PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
380 upgradeProperties[2023]['2023D29PU'] = deepcopy(upgradeProperties[2023]['2023D29'])
381 upgradeProperties[2023]['2023D29PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
382 upgradeProperties[2023]['2023D30PU'] = deepcopy(upgradeProperties[2023]['2023D30'])
383 upgradeProperties[2023]['2023D30PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
384 upgradeProperties[2023]['2023D31PU'] = deepcopy(upgradeProperties[2023]['2023D31'])
385 upgradeProperties[2023]['2023D31PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
386 
387 
389 
390 upgradeFragments=['FourMuPt_1_200_pythia8_cfi',
391  'SingleElectronPt10_pythia8_cfi',
392  'SingleElectronPt35_pythia8_cfi',
393  'SingleElectronPt1000_pythia8_cfi',
394  'SingleGammaPt10_pythia8_cfi',
395  'SingleGammaPt35_pythia8_cfi',
396  'SingleMuPt1_pythia8_cfi',
397  'SingleMuPt10_pythia8_cfi',
398  'SingleMuPt100_pythia8_cfi',
399  'SingleMuPt1000_pythia8_cfi',
400  'FourMuExtendedPt_1_200_pythia8_cfi',
401  'TenMuExtendedE_0_200_pythia8_cfi',
402  'DoubleElectronPt10Extended_pythia8_cfi',
403  'DoubleElectronPt35Extended_pythia8_cfi',
404  'DoubleElectronPt1000Extended_pythia8_cfi',
405  'DoubleGammaPt10Extended_pythia8_cfi',
406  'DoubleGammaPt35Extended_pythia8_cfi',
407  'DoubleMuPt1Extended_pythia8_cfi',
408  'DoubleMuPt10Extended_pythia8_cfi',
409  'DoubleMuPt100Extended_pythia8_cfi',
410  'DoubleMuPt1000Extended_pythia8_cfi',
411  'TenMuE_0_200_pythia8_cfi',
412  'SinglePiE50HCAL_pythia8_cfi',
413  'MinBias_13TeV_pythia8_TuneCUETP8M1_cfi',
414  'TTbar_13TeV_TuneCUETP8M1_cfi',
415  'ZEE_13TeV_TuneCUETP8M1_cfi',
416  'QCD_Pt_600_800_13TeV_TuneCUETP8M1_cfi',
417  'Wjet_Pt_80_120_14TeV_TuneCUETP8M1_cfi',
418  'Wjet_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi',
419  'LM1_sfts_14TeV_cfi',
420  'QCD_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi',
421  'QCD_Pt_80_120_14TeV_TuneCUETP8M1_cfi',
422  'H200ChargedTaus_Tauola_14TeV_cfi',
423  'JpsiMM_14TeV_TuneCUETP8M1_cfi',
424  'TTbar_14TeV_TuneCUETP8M1_cfi',
425  'WE_14TeV_TuneCUETP8M1_cfi',
426  'ZTT_Tauola_All_hadronic_14TeV_TuneCUETP8M1_cfi',
427  'H130GGgluonfusion_14TeV_TuneCUETP8M1_cfi',
428  'PhotonJet_Pt_10_14TeV_TuneCUETP8M1_cfi',
429  'QQH1352T_Tauola_14TeV_TuneCUETP8M1_cfi',
430  'MinBias_14TeV_pythia8_TuneCUETP8M1_cfi',
431  'WM_14TeV_TuneCUETP8M1_cfi',
432  'ZMM_13TeV_TuneCUETP8M1_cfi',
433  'QCDForPF_14TeV_TuneCUETP8M1_cfi',
434  'DYToLL_M-50_14TeV_pythia8_cff',
435  'DYToTauTau_M-50_14TeV_pythia8_tauola_cff',
436  'ZEE_14TeV_TuneCUETP8M1_cfi',
437  'QCD_Pt_80_120_13TeV_TuneCUETP8M1_cfi',
438  'H125GGgluonfusion_13TeV_TuneCUETP8M1_cfi',
439  'QCD_Pt-20toInf_MuEnrichedPt15_TuneCUETP8M1_14TeV_pythia8_cff',
440  'ZMM_14TeV_TuneCUETP8M1_cfi',
441  'QCD_Pt-15To7000_TuneCUETP8M1_Flat_14TeV-pythia8_cff',
442  'H125GGgluonfusion_14TeV_TuneCUETP8M1_cfi',
443  'QCD_Pt_600_800_14TeV_TuneCUETP8M1_cfi',
444  'UndergroundCosmicSPLooseMu_cfi',
445  'BeamHalo_13TeV_cfi',
446  'H200ChargedTaus_Tauola_13TeV_cfi',
447  'ADDMonoJet_13TeV_d3MD3_TuneCUETP8M1_cfi',
448  'ZpMM_13TeV_TuneCUETP8M1_cfi',
449  'QCD_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi',
450  'WpM_13TeV_TuneCUETP8M1_cfi',
451  'SingleNuE10_cfi.py',
452  'TTbarLepton_13TeV_TuneCUETP8M1_cfi',
453  'WE_13TeV_TuneCUETP8M1_cfi',
454  'WM_13TeV_TuneCUETP8M1_cfi',
455  'ZTT_All_hadronic_13TeV_TuneCUETP8M1_cfi',
456  'PhotonJet_Pt_10_13TeV_TuneCUETP8M1_cfi',
457  'QQH1352T_13TeV_TuneCUETP8M1_cfi',
458  'Wjet_Pt_80_120_13TeV_TuneCUETP8M1_cfi',
459  'Wjet_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi',
460  'SMS-T1tttt_mGl-1500_mLSP-100_13TeV-pythia8_cfi',
461  'QCDForPF_13TeV_TuneCUETP8M1_cfi',
462  'PYTHIA8_PhiToMuMu_TuneCUETP8M1_13TeV_cff',
463  'RSKKGluon_m3000GeV_13TeV_TuneCUETP8M1_cff',
464  'ZpMM_2250_13TeV_TuneCUETP8M1_cfi',
465  'ZpEE_2250_13TeV_TuneCUETP8M1_cfi',
466  'ZpTT_1500_13TeV_TuneCUETP8M1_cfi',
467  'Upsilon1SToMuMu_forSTEAM_13TeV_TuneCUETP8M1_cfi',
468  'EtaBToJpsiJpsi_forSTEAM_TuneCUEP8M1_13TeV_cfi',
469  'JpsiMuMu_Pt-8_forSTEAM_13TeV_TuneCUETP8M1_cfi',
470  'BuMixing_BMuonFilter_forSTEAM_13TeV_TuneCUETP8M1_cfi',
471  'HSCPstop_M_200_TuneCUETP8M1_13TeV_pythia8_cff',
472  'RSGravitonToGammaGamma_kMpl01_M_3000_TuneCUETP8M1_13TeV_pythia8_cfi',
473  'WprimeToENu_M-2000_TuneCUETP8M1_13TeV-pythia8_cff',
474  'DisplacedSUSY_stopToBottom_M_300_1000mm_TuneCUETP8M1_13TeV_pythia8_cff',
475  'TenE_E_0_200_pythia8_cfi',
476  'FlatRandomPtAndDxyGunProducer_cfi',
477  'TenTau_E_15_500_pythia8_cfi',
478  'SinglePiPt25Eta1p7_2p7_cfi',
479  'SingleMuPt15Eta1p7_2p7_cfi',
480  'SingleGammaPt25Eta1p7_2p7_cfi',
481  'SingleElectronPt15Eta1p7_2p7_cfi',
482 ]
483 
484 howMuches={'FourMuPt_1_200_pythia8_cfi':Kby(10,100),
485  'TenMuE_0_200_pythia8_cfi':Kby(10,100),
486  'FourMuExtendedPt_1_200_pythia8_cfi':Kby(10,100),
487  'TenMuExtendedE_0_200_pythia8_cfi':Kby(10,100),
488  'SingleElectronPt10_pythia8_cfi':Kby(9,100),
489  'SingleElectronPt35_pythia8_cfi':Kby(9,100),
490  'SingleElectronPt1000_pythia8_cfi':Kby(9,50),
491  'SingleGammaPt10_pythia8_cfi':Kby(9,100),
492  'SingleGammaPt35_pythia8_cfi':Kby(9,50),
493  'SingleMuPt1_pythia8_cfi':Kby(25,100),
494  'SingleMuPt10_pythia8_cfi':Kby(25,100),
495  'SingleMuPt100_pythia8_cfi':Kby(9,100),
496  'SingleMuPt1000_pythia8_cfi':Kby(9,100),
497  'DoubleElectronPt10Extended_pythia8_cfi':Kby(9,100),
498  'DoubleElectronPt35Extended_pythia8_cfi':Kby(9,100),
499  'DoubleElectronPt1000Extended_pythia8_cfi':Kby(9,50),
500  'DoubleGammaPt10Extended_pythia8_cfi':Kby(9,100),
501  'DoubleGammaPt35Extended_pythia8_cfi':Kby(9,50),
502  'DoubleMuPt1Extended_pythia8_cfi':Kby(25,100),
503  'DoubleMuPt10Extended_pythia8_cfi':Kby(25,100),
504  'DoubleMuPt100Extended_pythia8_cfi':Kby(9,100),
505  'DoubleMuPt1000Extended_pythia8_cfi':Kby(9,100),
506  'SinglePiE50HCAL_pythia8_cfi':Kby(50,500),
507  'QCD_Pt_600_800_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
508  'Wjet_Pt_80_120_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
509  'Wjet_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi':Kby(9,50),
510  'LM1_sfts_14TeV_cfi':Kby(9,100),
511  'QCD_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi':Kby(9,50),
512  'QCD_Pt_80_120_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
513  'H200ChargedTaus_Tauola_14TeV_cfi':Kby(9,100),
514  'JpsiMM_14TeV_TuneCUETP8M1_cfi':Kby(66,100),
515  'TTbar_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
516  'WE_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
517  'ZEE_13TeV_TuneCUETP8M1_cfi':Kby(9,100),
518  'ZTT_Tauola_All_hadronic_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
519  'H130GGgluonfusion_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
520  'PhotonJet_Pt_10_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
521  'QQH1352T_Tauola_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
522  'MinBias_14TeV_pythia8_TuneCUETP8M1_cfi':Kby(90,100),
523  'WM_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
524  'ZMM_13TeV_TuneCUETP8M1_cfi':Kby(18,100),
525  'QCDForPF_14TeV_TuneCUETP8M1_cfi':Kby(9,50),
526  'DYToLL_M-50_14TeV_pythia8_cff':Kby(9,100),
527  'DYToTauTau_M-50_14TeV_pythia8_tauola_cff':Kby(9,100),
528  'TTbar_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
529  'MinBias_13TeV_pythia8_TuneCUETP8M1_cfi':Kby(90,100),
530  'ZEE_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
531  'QCD_Pt_80_120_13TeV_TuneCUETP8M1_cfi':Kby(9,100),
532  'H125GGgluonfusion_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
533  'QCD_Pt-20toInf_MuEnrichedPt15_TuneCUETP8M1_14TeV_pythia8_cff':Kby(9,100),
534  'ZMM_14TeV_TuneCUETP8M1_cfi':Kby(18,100),
535  'QCD_Pt-15To7000_TuneCUETP8M1_Flat_14TeV-pythia8_cff':Kby(9,50),
536  'H125GGgluonfusion_14TeV_TuneCUETP8M1_cfi':Kby(9,50),
537  'QCD_Pt_600_800_14TeV_TuneCUETP8M1_cfi':Kby(9,50),
538  'UndergroundCosmicSPLooseMu_cfi':Kby(9,50),
539  'BeamHalo_13TeV_cfi':Kby(9,50),
540  'H200ChargedTaus_Tauola_13TeV_cfi':Kby(9,50),
541  'ADDMonoJet_13TeV_d3MD3_TuneCUETP8M1_cfi':Kby(9,50),
542  'ZpMM_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
543  'QCD_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
544  'WpM_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
545  'SingleNuE10_cfi.py':Kby(9,50),
546  'TTbarLepton_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
547  'WE_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
548  'WM_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
549  'ZTT_All_hadronic_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
550  'PhotonJet_Pt_10_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
551  'QQH1352T_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
552  'Wjet_Pt_80_120_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
553  'Wjet_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
554  'SMS-T1tttt_mGl-1500_mLSP-100_13TeV-pythia8_cfi':Kby(9,50),
555  'QCDForPF_13TeV_TuneCUETP8M1_cfi':Kby(50,100),
556  'PYTHIA8_PhiToMuMu_TuneCUETP8M1_13TeV_cff':Kby(9,50),
557  'RSKKGluon_m3000GeV_13TeV_TuneCUETP8M1_cff':Kby(9,50),
558  'ZpMM_2250_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
559  'ZpEE_2250_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
560  'ZpTT_1500_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
561  'Upsilon1SToMuMu_forSTEAM_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
562  'EtaBToJpsiJpsi_forSTEAM_TuneCUEP8M1_13TeV_cfi':Kby(9,50),
563  'JpsiMuMu_Pt-8_forSTEAM_13TeV_TuneCUETP8M1_cfi':Kby(3100,100000),
564  'BuMixing_BMuonFilter_forSTEAM_13TeV_TuneCUETP8M1_cfi':Kby(900,10000),
565  'HSCPstop_M_200_TuneCUETP8M1_13TeV_pythia8_cff':Kby(9,50),
566  'RSGravitonToGammaGamma_kMpl01_M_3000_TuneCUETP8M1_13TeV_pythia8_cfi':Kby(9,50),
567  'WprimeToENu_M-2000_TuneCUETP8M1_13TeV-pythia8_cff':Kby(9,50),
568  'DisplacedSUSY_stopToBottom_M_300_1000mm_TuneCUETP8M1_13TeV_pythia8_cff':Kby(9,50),
569  'TenE_E_0_200_pythia8_cfi':Kby(9,100),
570  'FlatRandomPtAndDxyGunProducer_cfi':Kby(9,100),
571  'TenTau_E_15_500_pythia8_cfi':Kby(9,100),
572  'SinglePiPt25Eta1p7_2p7_cfi':Kby(9,100),
573  'SingleMuPt15Eta1p7_2p7_cfi':Kby(9,100),
574  'SingleGammaPt25Eta1p7_2p7_cfi':Kby(9,100),
575  'SingleElectronPt15Eta1p7_2p7_cfi':Kby(9,100),
576 }
577 
578 upgradeDatasetFromFragment={'FourMuPt_1_200_pythia8_cfi': 'FourMuPt1_200',
579  'FourMuExtendedPt_1_200_pythia8_cfi': 'FourMuExtendedPt1_200',
580  'TenMuE_0_200_pythia8_cfi': 'TenMuE_0_200',
581  'TenMuExtendedE_0_200_pythia8_cfi': 'TenMuExtendedE_0_200',
582  'SingleElectronPt10_pythia8_cfi' : 'SingleElectronPt10',
583  'SingleElectronPt35_pythia8_cfi' : 'SingleElectronPt35',
584  'SingleElectronPt1000_pythia8_cfi' : 'SingleElectronPt1000',
585  'SingleGammaPt10_pythia8_cfi' : 'SingleGammaPt10',
586  'SingleGammaPt35_pythia8_cfi' : 'SingleGammaPt35',
587  'SingleMuPt1_pythia8_cfi' : 'SingleMuPt1',
588  'SingleMuPt10_pythia8_cfi' : 'SingleMuPt10',
589  'SingleMuPt100_pythia8_cfi' : 'SingleMuPt100',
590  'SingleMuPt1000_pythia8_cfi' : 'SingleMuPt1000',
591  'DoubleElectronPt10Extended_pythia8_cfi' : 'SingleElectronPt10Extended',
592  'DoubleElectronPt35Extended_pythia8_cfi' : 'SingleElectronPt35Extended',
593  'DoubleElectronPt1000Extended_pythia8_cfi' : 'SingleElectronPt1000Extended',
594  'DoubleGammaPt10Extended_pythia8_cfi' : 'SingleGammaPt10Extended',
595  'DoubleGammaPt35Extended_pythia8_cfi' : 'SingleGammaPt35Extended',
596  'DoubleMuPt1Extended_pythia8_cfi' : 'SingleMuPt1Extended',
597  'DoubleMuPt10Extended_pythia8_cfi' : 'SingleMuPt10Extended',
598  'DoubleMuPt100Extended_pythia8_cfi' : 'SingleMuPt100Extended',
599  'DoubleMuPt1000Extended_pythia8_cfi' : 'SingleMuPt1000Extended',
600  'SinglePiE50HCAL_pythia8_cfi' : 'SinglePiE50HCAL',
601  'QCD_Pt_600_800_13TeV_TuneCUETP8M1_cfi' : 'QCD_Pt_600_800_13',
602  'Wjet_Pt_80_120_14TeV_TuneCUETP8M1_cfi' : 'Wjet_Pt_80_120_14TeV',
603  'Wjet_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi' : 'Wjet_Pt_3000_3500_14TeV',
604  'LM1_sfts_14TeV_cfi' : 'LM1_sfts_14TeV',
605  'QCD_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi' : 'QCD_Pt_3000_3500_14TeV',
606  'QCD_Pt_80_120_14TeV_TuneCUETP8M1_cfi' : 'QCD_Pt_80_120_14TeV',
607  'H200ChargedTaus_Tauola_14TeV_cfi' : 'Higgs200ChargedTaus_14TeV',
608  'JpsiMM_14TeV_TuneCUETP8M1_cfi' : 'JpsiMM_14TeV',
609  'TTbar_14TeV_TuneCUETP8M1_cfi' : 'TTbar_14TeV',
610  'WE_14TeV_TuneCUETP8M1_cfi' : 'WE_14TeV',
611  'ZEE_13TeV_TuneCUETP8M1_cfi' : 'ZEE_13',
612  'ZTT_Tauola_All_hadronic_14TeV_TuneCUETP8M1_cfi' : 'ZTT_14TeV',
613  'H130GGgluonfusion_14TeV_TuneCUETP8M1_cfi' : 'H130GGgluonfusion_14TeV',
614  'PhotonJet_Pt_10_14TeV_TuneCUETP8M1_cfi' : 'PhotonJets_Pt_10_14TeV',
615  'QQH1352T_Tauola_14TeV_TuneCUETP8M1_cfi' : 'QQH1352T_Tauola_14TeV',
616  'MinBias_14TeV_pythia8_TuneCUETP8M1_cfi' : 'MinBias_14TeV',
617  'WM_14TeV_TuneCUETP8M1_cfi' : 'WM_14TeV',
618  'ZMM_13TeV_TuneCUETP8M1_cfi' : 'ZMM_13',
619  'QCDForPF_14TeV_TuneCUETP8M1_cfi' : 'QCDForPF_14TeV',
620  'DYToLL_M-50_14TeV_pythia8_cff' : 'DYToLL_M_50_14TeV',
621  'DYToTauTau_M-50_14TeV_pythia8_tauola_cff' : 'DYtoTauTau_M_50_14TeV',
622  'TTbar_13TeV_TuneCUETP8M1_cfi' : 'TTbar_13',
623  'MinBias_13TeV_pythia8_TuneCUETP8M1_cfi' : 'MinBias_13',
624  'ZEE_14TeV_TuneCUETP8M1_cfi' : 'ZEE_14',
625  'QCD_Pt_80_120_13TeV_TuneCUETP8M1_cfi' : 'QCD_Pt_80_120_13',
626  'H125GGgluonfusion_13TeV_TuneCUETP8M1_cfi' : 'H125GGgluonfusion_13',
627  'QCD_Pt-20toInf_MuEnrichedPt15_TuneCUETP8M1_14TeV_pythia8_cff' : 'QCD_Pt-20toInf_MuEnrichedPt15_14TeV',
628  'ZMM_14TeV_TuneCUETP8M1_cfi' : 'ZMM_14',
629  'QCD_Pt-15To7000_TuneCUETP8M1_Flat_14TeV-pythia8_cff' : 'QCD_Pt-15To7000_Flat_14TeV',
630  'H125GGgluonfusion_14TeV_TuneCUETP8M1_cfi' : 'H125GGgluonfusion_14',
631  'QCD_Pt_600_800_14TeV_TuneCUETP8M1_cfi' : 'QCD_Pt_600_800_14',
632  'UndergroundCosmicSPLooseMu_cfi': 'CosmicsSPLoose',
633  'BeamHalo_13TeV_cfi': 'BeamHalo_13',
634  'H200ChargedTaus_Tauola_13TeV_cfi': 'Higgs200ChargedTaus_13',
635  'ADDMonoJet_13TeV_d3MD3_TuneCUETP8M1_cfi': 'ADDMonoJet_d3MD3_13',
636  'ZpMM_13TeV_TuneCUETP8M1_cfi': 'ZpMM_13',
637  'QCD_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi': 'QCD_Pt_3000_3500_13',
638  'WpM_13TeV_TuneCUETP8M1_cfi': 'WpM_13',
639  'SingleNuE10_cfi.py': 'NuGun',
640  'TTbarLepton_13TeV_TuneCUETP8M1_cfi': 'TTbarLepton_13',
641  'WE_13TeV_TuneCUETP8M1_cfi': 'WE_13',
642  'WM_13TeV_TuneCUETP8M1_cfi': 'WM_13',
643  'ZTT_All_hadronic_13TeV_TuneCUETP8M1_cfi': 'ZTT_13',
644  'PhotonJet_Pt_10_13TeV_TuneCUETP8M1_cfi': 'PhotonJets_Pt_10_13',
645  'QQH1352T_13TeV_TuneCUETP8M1_cfi': 'QQH1352T_13',
646  'Wjet_Pt_80_120_13TeV_TuneCUETP8M1_cfi': 'Wjet_Pt_80_120_13',
647  'Wjet_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi': 'Wjet_Pt_3000_3500_13',
648  'SMS-T1tttt_mGl-1500_mLSP-100_13TeV-pythia8_cfi': 'SMS-T1tttt_mGl-1500_mLSP-100_13',
649  'QCDForPF_13TeV_TuneCUETP8M1_cfi': 'QCD_FlatPt_15_3000HS_13',
650  'PYTHIA8_PhiToMuMu_TuneCUETP8M1_13TeV_cff': 'PhiToMuMu_13',
651  'RSKKGluon_m3000GeV_13TeV_TuneCUETP8M1_cff': 'RSKKGluon_m3000GeV_13',
652  'ZpMM_2250_13TeV_TuneCUETP8M1_cfi': 'ZpMM_2250_13',
653  'ZpEE_2250_13TeV_TuneCUETP8M1_cfi': 'ZpEE_2250_13',
654  'ZpTT_1500_13TeV_TuneCUETP8M1_cfi': 'ZpTT_1500_13',
655  'Upsilon1SToMuMu_forSTEAM_13TeV_TuneCUETP8M1_cfi': 'Upsilon1SToMuMu_13',
656  'EtaBToJpsiJpsi_forSTEAM_TuneCUEP8M1_13TeV_cfi': 'EtaBToJpsiJpsi_13',
657  'JpsiMuMu_Pt-8_forSTEAM_13TeV_TuneCUETP8M1_cfi': 'JpsiMuMu_Pt-8',
658  'BuMixing_BMuonFilter_forSTEAM_13TeV_TuneCUETP8M1_cfi': 'BuMixing_13',
659  'HSCPstop_M_200_TuneCUETP8M1_13TeV_pythia8_cff': 'HSCPstop_M_200_13',
660  'RSGravitonToGammaGamma_kMpl01_M_3000_TuneCUETP8M1_13TeV_pythia8_cfi': 'RSGravitonToGaGa_13',
661  'WprimeToENu_M-2000_TuneCUETP8M1_13TeV-pythia8_cff': 'WpToENu_M-2000_13',
662  'DisplacedSUSY_stopToBottom_M_300_1000mm_TuneCUETP8M1_13TeV_pythia8_cff': 'DisplacedSUSY_stopToBottom_M_300_1000mm_13',
663  'TenE_E_0_200_pythia8_cfi': 'TenE_0_200',
664  'FlatRandomPtAndDxyGunProducer_cfi': 'DisplacedMuonsDxy_0_500',
665  'TenTau_E_15_500_pythia8_cfi':'TenTau_15_500',
666  'SinglePiPt25Eta1p7_2p7_cfi':'SinglePiPt25Eta1p7_2p7',
667  'SingleMuPt15Eta1p7_2p7_cfi':'SingleMuPt15Eta1p7_2p7',
668  'SingleGammaPt25Eta1p7_2p7_cfi':'SingleGammaPt25Eta1p7_2p7',
669  'SingleElectronPt15Eta1p7_2p7_cfi':'SingleElectronPt15Eta1p7_2p7',
670 }
def Kby(N, s)
Standard release validation samples ####.
Definition: MatrixUtil.py:224