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