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['Premix'] = {
187  'steps' : [],
188  'PU': [
189  'PremixFull',
190  'PremixHLBeamSpotFull',
191  'PremixHLBeamSpotFull14',
192  ],
193  'suffix': '_Premix',
194  'offset': 0.97,
195 }
196 # Premix stage2 is derived from baseline+PU in relval_upgrade.py
197 premixS2_offset = 0.98
198 # Premix combined stage1+stage2 is derived for Premix+PU and baseline+PU in relval_upgrade.py
199 premixS1S2_offset = 0.99
200 
201 upgradeProperties = {}
202 
203 upgradeProperties[2017] = {
204  '2017' : {
205  'Geom' : 'DB:Extended',
206  'GT' : 'auto:phase1_2017_realistic',
207  'HLTmenu': '@relval2017',
208  'Era' : 'Run2_2017',
209  'ScenToRun' : ['GenSimFull','DigiFull','RecoFull','HARVESTFull','ALCAFull'],
210  },
211  '2017Design' : {
212  'Geom' : 'DB:Extended',
213  'GT' : 'auto:phase1_2017_design',
214  'HLTmenu': '@relval2017',
215  'Era' : 'Run2_2017',
216  'BeamSpot': 'GaussSigmaZ4cm',
217  'ScenToRun' : ['GenSimFull','DigiFull','RecoFull','HARVESTFull'],
218  },
219  '2018' : {
220  'Geom' : 'DB:Extended',
221  'GT' : 'auto:phase1_2018_realistic',
222  'HLTmenu': '@relval2018',
223  'Era' : 'Run2_2018',
224  'BeamSpot': 'Realistic25ns13TeVEarly2018Collision',
225  'ScenToRun' : ['GenSimFull','DigiFull','RecoFull','HARVESTFull','ALCAFull'],
226  },
227  '2018Design' : {
228  'Geom' : 'DB:Extended',
229  'GT' : 'auto:phase1_2018_design',
230  'HLTmenu': '@relval2018',
231  'Era' : 'Run2_2018',
232  'BeamSpot': 'GaussSigmaZ4cm',
233  'ScenToRun' : ['GenSimFull','DigiFull','RecoFull','HARVESTFull'],
234  },
235  '2019' : {
236  'Geom' : 'Extended2019',
237  'GT' : 'auto:phase1_2019_realistic',
238  'HLTmenu': '@relval2017',
239  'Era' : 'Run3',
240  'ScenToRun' : ['GenSimFull','DigiFull','RecoFull','HARVESTFull','ALCAFull'],
241  },
242  '2019Design' : {
243  'Geom' : 'Extended2019',
244  'GT' : 'auto:phase1_2019_design',
245  'HLTmenu': '@relval2017',
246  'Era' : 'Run3',
247  'BeamSpot': 'GaussSigmaZ4cm',
248  'ScenToRun' : ['GenSimFull','DigiFull','RecoFull','HARVESTFull'],
249  },
250 }
251 
252 upgradeProperties[2017]['2017PU'] = deepcopy(upgradeProperties[2017]['2017'])
253 upgradeProperties[2017]['2017PU']['ScenToRun'] = ['GenSimFull','DigiFullPU','RecoFullPU','HARVESTFullPU']
254 upgradeProperties[2017]['2017DesignPU'] = deepcopy(upgradeProperties[2017]['2017Design'])
255 upgradeProperties[2017]['2017DesignPU']['ScenToRun'] = ['GenSimFull','DigiFullPU','RecoFullPU','HARVESTFullPU']
256 upgradeProperties[2017]['2018PU'] = deepcopy(upgradeProperties[2017]['2018'])
257 upgradeProperties[2017]['2018PU']['ScenToRun'] = ['GenSimFull','DigiFullPU','RecoFullPU','HARVESTFullPU']
258 upgradeProperties[2017]['2018DesignPU'] = deepcopy(upgradeProperties[2017]['2018Design'])
259 upgradeProperties[2017]['2018DesignPU']['ScenToRun'] = ['GenSimFull','DigiFullPU','RecoFullPU','HARVESTFullPU']
260 
261 upgradeProperties[2023] = {
262  '2023D17' : {
263  'Geom' : 'Extended2023D17',
264  'HLTmenu': '@fake2',
265  'GT' : 'auto:phase2_realistic',
266  'Era' : 'Phase2',
267  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
268  },
269  '2023D19' : {
270  'Geom' : 'Extended2023D19',
271  'HLTmenu': '@fake2',
272  'GT' : 'auto:phase2_realistic',
273  'Era' : 'Phase2_timing_layer',
274  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
275  },
276  '2023D21' : {
277  'Geom' : 'Extended2023D21',
278  'HLTmenu': '@fake2',
279  'GT' : 'auto:phase2_realistic',
280  'Era' : 'Phase2',
281  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
282  },
283  '2023D22' : {
284  'Geom' : 'Extended2023D22',
285  'HLTmenu': '@fake2',
286  'GT' : 'auto:phase2_realistic',
287  'Era' : 'Phase2',
288  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
289  },
290  '2023D23' : {
291  'Geom' : 'Extended2023D23',
292  'HLTmenu': '@fake2',
293  'GT' : 'auto:phase2_realistic',
294  'Era' : 'Phase2',
295  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
296  },
297  '2023D24' : {
298  'Geom' : 'Extended2023D24',
299  'HLTmenu': '@fake2',
300  'GT' : 'auto:phase2_realistic',
301  'Era' : 'Phase2_timing_layer_new',
302  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
303  },
304  '2023D25' : {
305  'Geom' : 'Extended2023D25',
306  'HLTmenu': '@fake2',
307  'GT' : 'auto:phase2_realistic',
308  'Era' : 'Phase2_timing_layer_new',
309  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
310  },
311  '2023D26' : {
312  'Geom' : 'Extended2023D26',
313  'HLTmenu': '@fake2',
314  'GT' : 'auto:phase2_realistic',
315  'Era' : 'Phase2',
316  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
317  },
318  '2023D27' : {
319  'Geom' : 'Extended2023D27',
320  'HLTmenu': '@fake2',
321  'GT' : 'auto:phase2_realistic',
322  'Era' : 'Phase2',
323  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
324  },
325  '2023D28' : {
326  'Geom' : 'Extended2023D28',
327  'HLTmenu': '@fake2',
328  'GT' : 'auto:phase2_realistic',
329  'Era' : 'Phase2C4',
330  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
331  },
332  '2023D29' : {
333  'Geom' : 'Extended2023D29',
334  'HLTmenu': '@fake2',
335  'GT' : 'auto:phase2_realistic',
336  'Era' : 'Phase2',
337  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
338  },
339  '2023D30' : {
340  'Geom' : 'Extended2023D30',
341  'HLTmenu': '@fake2',
342  'GT' : 'auto:phase2_realistic',
343  'Era' : 'Phase2C4',
344  'ScenToRun' : ['GenSimHLBeamSpotFull','DigiFullTrigger','RecoFullGlobal', 'HARVESTFullGlobal'],
345  },
346 }
347 
348 
349 
350 #standard PU sequences
351 upgradeProperties[2023]['2023D17PU'] = deepcopy(upgradeProperties[2023]['2023D17'])
352 upgradeProperties[2023]['2023D17PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
353 upgradeProperties[2023]['2023D19PU'] = deepcopy(upgradeProperties[2023]['2023D19'])
354 upgradeProperties[2023]['2023D19PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
355 upgradeProperties[2023]['2023D21PU'] = deepcopy(upgradeProperties[2023]['2023D21'])
356 upgradeProperties[2023]['2023D21PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
357 upgradeProperties[2023]['2023D22PU'] = deepcopy(upgradeProperties[2023]['2023D22'])
358 upgradeProperties[2023]['2023D22PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
359 upgradeProperties[2023]['2023D23PU'] = deepcopy(upgradeProperties[2023]['2023D23'])
360 upgradeProperties[2023]['2023D23PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
361 upgradeProperties[2023]['2023D24PU'] = deepcopy(upgradeProperties[2023]['2023D24'])
362 upgradeProperties[2023]['2023D24PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
363 upgradeProperties[2023]['2023D25PU'] = deepcopy(upgradeProperties[2023]['2023D25'])
364 upgradeProperties[2023]['2023D25PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
365 upgradeProperties[2023]['2023D26PU'] = deepcopy(upgradeProperties[2023]['2023D26'])
366 upgradeProperties[2023]['2023D26PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
367 upgradeProperties[2023]['2023D27PU'] = deepcopy(upgradeProperties[2023]['2023D27'])
368 upgradeProperties[2023]['2023D27PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
369 upgradeProperties[2023]['2023D28PU'] = deepcopy(upgradeProperties[2023]['2023D28'])
370 upgradeProperties[2023]['2023D28PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
371 upgradeProperties[2023]['2023D29PU'] = deepcopy(upgradeProperties[2023]['2023D29'])
372 upgradeProperties[2023]['2023D29PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
373 upgradeProperties[2023]['2023D30PU'] = deepcopy(upgradeProperties[2023]['2023D30'])
374 upgradeProperties[2023]['2023D30PU']['ScenToRun'] = ['GenSimHLBeamSpotFull','DigiFullTriggerPU','RecoFullGlobalPU', 'HARVESTFullGlobalPU']
375 
376 
378 
379 upgradeFragments=['FourMuPt_1_200_pythia8_cfi',
380  'SingleElectronPt10_pythia8_cfi',
381  'SingleElectronPt35_pythia8_cfi',
382  'SingleElectronPt1000_pythia8_cfi',
383  'SingleGammaPt10_pythia8_cfi',
384  'SingleGammaPt35_pythia8_cfi',
385  'SingleMuPt1_pythia8_cfi',
386  'SingleMuPt10_pythia8_cfi',
387  'SingleMuPt100_pythia8_cfi',
388  'SingleMuPt1000_pythia8_cfi',
389  'FourMuExtendedPt_1_200_pythia8_cfi',
390  'TenMuExtendedE_0_200_pythia8_cfi',
391  'DoubleElectronPt10Extended_pythia8_cfi',
392  'DoubleElectronPt35Extended_pythia8_cfi',
393  'DoubleElectronPt1000Extended_pythia8_cfi',
394  'DoubleGammaPt10Extended_pythia8_cfi',
395  'DoubleGammaPt35Extended_pythia8_cfi',
396  'DoubleMuPt1Extended_pythia8_cfi',
397  'DoubleMuPt10Extended_pythia8_cfi',
398  'DoubleMuPt100Extended_pythia8_cfi',
399  'DoubleMuPt1000Extended_pythia8_cfi',
400  'TenMuE_0_200_pythia8_cfi',
401  'SinglePiE50HCAL_pythia8_cfi',
402  'MinBias_13TeV_pythia8_TuneCUETP8M1_cfi',
403  'TTbar_13TeV_TuneCUETP8M1_cfi',
404  'ZEE_13TeV_TuneCUETP8M1_cfi',
405  'QCD_Pt_600_800_13TeV_TuneCUETP8M1_cfi',
406  'Wjet_Pt_80_120_14TeV_TuneCUETP8M1_cfi',
407  'Wjet_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi',
408  'LM1_sfts_14TeV_cfi',
409  'QCD_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi',
410  'QCD_Pt_80_120_14TeV_TuneCUETP8M1_cfi',
411  'H200ChargedTaus_Tauola_14TeV_cfi',
412  'JpsiMM_14TeV_TuneCUETP8M1_cfi',
413  'TTbar_14TeV_TuneCUETP8M1_cfi',
414  'WE_14TeV_TuneCUETP8M1_cfi',
415  'ZTT_Tauola_All_hadronic_14TeV_TuneCUETP8M1_cfi',
416  'H130GGgluonfusion_14TeV_TuneCUETP8M1_cfi',
417  'PhotonJet_Pt_10_14TeV_TuneCUETP8M1_cfi',
418  'QQH1352T_Tauola_14TeV_TuneCUETP8M1_cfi',
419  'MinBias_14TeV_pythia8_TuneCUETP8M1_cfi',
420  'WM_14TeV_TuneCUETP8M1_cfi',
421  'ZMM_13TeV_TuneCUETP8M1_cfi',
422  'QCDForPF_14TeV_TuneCUETP8M1_cfi',
423  'DYToLL_M-50_14TeV_pythia8_cff',
424  'DYToTauTau_M-50_14TeV_pythia8_tauola_cff',
425  'ZEE_14TeV_TuneCUETP8M1_cfi',
426  'QCD_Pt_80_120_13TeV_TuneCUETP8M1_cfi',
427  'H125GGgluonfusion_13TeV_TuneCUETP8M1_cfi',
428  'QCD_Pt-20toInf_MuEnrichedPt15_TuneCUETP8M1_14TeV_pythia8_cff',
429  'ZMM_14TeV_TuneCUETP8M1_cfi',
430  'QCD_Pt-15To7000_TuneCUETP8M1_Flat_14TeV-pythia8_cff',
431  'H125GGgluonfusion_14TeV_TuneCUETP8M1_cfi',
432  'QCD_Pt_600_800_14TeV_TuneCUETP8M1_cfi',
433  'UndergroundCosmicSPLooseMu_cfi',
434  'BeamHalo_13TeV_cfi',
435  'H200ChargedTaus_Tauola_13TeV_cfi',
436  'ADDMonoJet_13TeV_d3MD3_TuneCUETP8M1_cfi',
437  'ZpMM_13TeV_TuneCUETP8M1_cfi',
438  'QCD_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi',
439  'WpM_13TeV_TuneCUETP8M1_cfi',
440  'SingleNuE10_cfi.py',
441  'TTbarLepton_13TeV_TuneCUETP8M1_cfi',
442  'WE_13TeV_TuneCUETP8M1_cfi',
443  'WM_13TeV_TuneCUETP8M1_cfi',
444  'ZTT_All_hadronic_13TeV_TuneCUETP8M1_cfi',
445  'PhotonJet_Pt_10_13TeV_TuneCUETP8M1_cfi',
446  'QQH1352T_13TeV_TuneCUETP8M1_cfi',
447  'Wjet_Pt_80_120_13TeV_TuneCUETP8M1_cfi',
448  'Wjet_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi',
449  'SMS-T1tttt_mGl-1500_mLSP-100_13TeV-pythia8_cfi',
450  'QCDForPF_13TeV_TuneCUETP8M1_cfi',
451  'PYTHIA8_PhiToMuMu_TuneCUETP8M1_13TeV_cff',
452  'RSKKGluon_m3000GeV_13TeV_TuneCUETP8M1_cff',
453  'ZpMM_2250_13TeV_TuneCUETP8M1_cfi',
454  'ZpEE_2250_13TeV_TuneCUETP8M1_cfi',
455  'ZpTT_1500_13TeV_TuneCUETP8M1_cfi',
456  'Upsilon1SToMuMu_forSTEAM_13TeV_TuneCUETP8M1_cfi',
457  'EtaBToJpsiJpsi_forSTEAM_TuneCUEP8M1_13TeV_cfi',
458  'JpsiMuMu_Pt-8_forSTEAM_13TeV_TuneCUETP8M1_cfi',
459  'BuMixing_BMuonFilter_forSTEAM_13TeV_TuneCUETP8M1_cfi',
460  'HSCPstop_M_200_TuneCUETP8M1_13TeV_pythia8_cff',
461  'RSGravitonToGammaGamma_kMpl01_M_3000_TuneCUETP8M1_13TeV_pythia8_cfi',
462  'WprimeToENu_M-2000_TuneCUETP8M1_13TeV-pythia8_cff',
463  'DisplacedSUSY_stopToBottom_M_300_1000mm_TuneCUETP8M1_13TeV_pythia8_cff',
464  'TenE_E_0_200_pythia8_cfi',
465  'FlatRandomPtAndDxyGunProducer_cfi',
466  'TenTau_E_15_500_pythia8_cfi',
467  'SinglePiPt25Eta1p7_2p7_cfi',
468  'SingleMuPt15Eta1p7_2p7_cfi',
469  'SingleGammaPt25Eta1p7_2p7_cfi',
470  'SingleElectronPt15Eta1p7_2p7_cfi',
471 ]
472 
473 howMuches={'FourMuPt_1_200_pythia8_cfi':Kby(10,100),
474  'TenMuE_0_200_pythia8_cfi':Kby(10,100),
475  'FourMuExtendedPt_1_200_pythia8_cfi':Kby(10,100),
476  'TenMuExtendedE_0_200_pythia8_cfi':Kby(10,100),
477  'SingleElectronPt10_pythia8_cfi':Kby(9,100),
478  'SingleElectronPt35_pythia8_cfi':Kby(9,100),
479  'SingleElectronPt1000_pythia8_cfi':Kby(9,50),
480  'SingleGammaPt10_pythia8_cfi':Kby(9,100),
481  'SingleGammaPt35_pythia8_cfi':Kby(9,50),
482  'SingleMuPt1_pythia8_cfi':Kby(25,100),
483  'SingleMuPt10_pythia8_cfi':Kby(25,100),
484  'SingleMuPt100_pythia8_cfi':Kby(9,100),
485  'SingleMuPt1000_pythia8_cfi':Kby(9,100),
486  'DoubleElectronPt10Extended_pythia8_cfi':Kby(9,100),
487  'DoubleElectronPt35Extended_pythia8_cfi':Kby(9,100),
488  'DoubleElectronPt1000Extended_pythia8_cfi':Kby(9,50),
489  'DoubleGammaPt10Extended_pythia8_cfi':Kby(9,100),
490  'DoubleGammaPt35Extended_pythia8_cfi':Kby(9,50),
491  'DoubleMuPt1Extended_pythia8_cfi':Kby(25,100),
492  'DoubleMuPt10Extended_pythia8_cfi':Kby(25,100),
493  'DoubleMuPt100Extended_pythia8_cfi':Kby(9,100),
494  'DoubleMuPt1000Extended_pythia8_cfi':Kby(9,100),
495  'SinglePiE50HCAL_pythia8_cfi':Kby(50,500),
496  'QCD_Pt_600_800_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
497  'Wjet_Pt_80_120_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
498  'Wjet_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi':Kby(9,50),
499  'LM1_sfts_14TeV_cfi':Kby(9,100),
500  'QCD_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi':Kby(9,50),
501  'QCD_Pt_80_120_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
502  'H200ChargedTaus_Tauola_14TeV_cfi':Kby(9,100),
503  'JpsiMM_14TeV_TuneCUETP8M1_cfi':Kby(66,100),
504  'TTbar_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
505  'WE_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
506  'ZEE_13TeV_TuneCUETP8M1_cfi':Kby(9,100),
507  'ZTT_Tauola_All_hadronic_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
508  'H130GGgluonfusion_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
509  'PhotonJet_Pt_10_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
510  'QQH1352T_Tauola_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
511  'MinBias_14TeV_pythia8_TuneCUETP8M1_cfi':Kby(90,100),
512  'WM_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
513  'ZMM_13TeV_TuneCUETP8M1_cfi':Kby(18,100),
514  'QCDForPF_14TeV_TuneCUETP8M1_cfi':Kby(9,50),
515  'DYToLL_M-50_14TeV_pythia8_cff':Kby(9,100),
516  'DYToTauTau_M-50_14TeV_pythia8_tauola_cff':Kby(9,100),
517  'TTbar_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
518  'MinBias_13TeV_pythia8_TuneCUETP8M1_cfi':Kby(90,100),
519  'ZEE_14TeV_TuneCUETP8M1_cfi':Kby(9,100),
520  'QCD_Pt_80_120_13TeV_TuneCUETP8M1_cfi':Kby(9,100),
521  'H125GGgluonfusion_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
522  'QCD_Pt-20toInf_MuEnrichedPt15_TuneCUETP8M1_14TeV_pythia8_cff':Kby(9,100),
523  'ZMM_14TeV_TuneCUETP8M1_cfi':Kby(18,100),
524  'QCD_Pt-15To7000_TuneCUETP8M1_Flat_14TeV-pythia8_cff':Kby(9,50),
525  'H125GGgluonfusion_14TeV_TuneCUETP8M1_cfi':Kby(9,50),
526  'QCD_Pt_600_800_14TeV_TuneCUETP8M1_cfi':Kby(9,50),
527  'UndergroundCosmicSPLooseMu_cfi':Kby(9,50),
528  'BeamHalo_13TeV_cfi':Kby(9,50),
529  'H200ChargedTaus_Tauola_13TeV_cfi':Kby(9,50),
530  'ADDMonoJet_13TeV_d3MD3_TuneCUETP8M1_cfi':Kby(9,50),
531  'ZpMM_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
532  'QCD_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
533  'WpM_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
534  'SingleNuE10_cfi.py':Kby(9,50),
535  'TTbarLepton_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
536  'WE_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
537  'WM_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
538  'ZTT_All_hadronic_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
539  'PhotonJet_Pt_10_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
540  'QQH1352T_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
541  'Wjet_Pt_80_120_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
542  'Wjet_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
543  'SMS-T1tttt_mGl-1500_mLSP-100_13TeV-pythia8_cfi':Kby(9,50),
544  'QCDForPF_13TeV_TuneCUETP8M1_cfi':Kby(50,100),
545  'PYTHIA8_PhiToMuMu_TuneCUETP8M1_13TeV_cff':Kby(9,50),
546  'RSKKGluon_m3000GeV_13TeV_TuneCUETP8M1_cff':Kby(9,50),
547  'ZpMM_2250_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
548  'ZpEE_2250_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
549  'ZpTT_1500_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
550  'Upsilon1SToMuMu_forSTEAM_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
551  'EtaBToJpsiJpsi_forSTEAM_TuneCUEP8M1_13TeV_cfi':Kby(9,50),
552  'JpsiMuMu_Pt-8_forSTEAM_13TeV_TuneCUETP8M1_cfi':Kby(3100,100000),
553  'BuMixing_BMuonFilter_forSTEAM_13TeV_TuneCUETP8M1_cfi':Kby(900,10000),
554  'HSCPstop_M_200_TuneCUETP8M1_13TeV_pythia8_cff':Kby(9,50),
555  'RSGravitonToGammaGamma_kMpl01_M_3000_TuneCUETP8M1_13TeV_pythia8_cfi':Kby(9,50),
556  'WprimeToENu_M-2000_TuneCUETP8M1_13TeV-pythia8_cff':Kby(9,50),
557  'DisplacedSUSY_stopToBottom_M_300_1000mm_TuneCUETP8M1_13TeV_pythia8_cff':Kby(9,50),
558  'TenE_E_0_200_pythia8_cfi':Kby(9,100),
559  'FlatRandomPtAndDxyGunProducer_cfi':Kby(9,100),
560  'TenTau_E_15_500_pythia8_cfi':Kby(9,100),
561  'SinglePiPt25Eta1p7_2p7_cfi':Kby(9,100),
562  'SingleMuPt15Eta1p7_2p7_cfi':Kby(9,100),
563  'SingleGammaPt25Eta1p7_2p7_cfi':Kby(9,100),
564  'SingleElectronPt15Eta1p7_2p7_cfi':Kby(9,100),
565 }
566 
567 upgradeDatasetFromFragment={'FourMuPt_1_200_pythia8_cfi': 'FourMuPt1_200',
568  'FourMuExtendedPt_1_200_pythia8_cfi': 'FourMuExtendedPt1_200',
569  'TenMuE_0_200_pythia8_cfi': 'TenMuE_0_200',
570  'TenMuExtendedE_0_200_pythia8_cfi': 'TenMuExtendedE_0_200',
571  'SingleElectronPt10_pythia8_cfi' : 'SingleElectronPt10',
572  'SingleElectronPt35_pythia8_cfi' : 'SingleElectronPt35',
573  'SingleElectronPt1000_pythia8_cfi' : 'SingleElectronPt1000',
574  'SingleGammaPt10_pythia8_cfi' : 'SingleGammaPt10',
575  'SingleGammaPt35_pythia8_cfi' : 'SingleGammaPt35',
576  'SingleMuPt1_pythia8_cfi' : 'SingleMuPt1',
577  'SingleMuPt10_pythia8_cfi' : 'SingleMuPt10',
578  'SingleMuPt100_pythia8_cfi' : 'SingleMuPt100',
579  'SingleMuPt1000_pythia8_cfi' : 'SingleMuPt1000',
580  'DoubleElectronPt10Extended_pythia8_cfi' : 'SingleElectronPt10Extended',
581  'DoubleElectronPt35Extended_pythia8_cfi' : 'SingleElectronPt35Extended',
582  'DoubleElectronPt1000Extended_pythia8_cfi' : 'SingleElectronPt1000Extended',
583  'DoubleGammaPt10Extended_pythia8_cfi' : 'SingleGammaPt10Extended',
584  'DoubleGammaPt35Extended_pythia8_cfi' : 'SingleGammaPt35Extended',
585  'DoubleMuPt1Extended_pythia8_cfi' : 'SingleMuPt1Extended',
586  'DoubleMuPt10Extended_pythia8_cfi' : 'SingleMuPt10Extended',
587  'DoubleMuPt100Extended_pythia8_cfi' : 'SingleMuPt100Extended',
588  'DoubleMuPt1000Extended_pythia8_cfi' : 'SingleMuPt1000Extended',
589  'SinglePiE50HCAL_pythia8_cfi' : 'SinglePiE50HCAL',
590  'QCD_Pt_600_800_13TeV_TuneCUETP8M1_cfi' : 'QCD_Pt_600_800_13',
591  'Wjet_Pt_80_120_14TeV_TuneCUETP8M1_cfi' : 'Wjet_Pt_80_120_14TeV',
592  'Wjet_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi' : 'Wjet_Pt_3000_3500_14TeV',
593  'LM1_sfts_14TeV_cfi' : 'LM1_sfts_14TeV',
594  'QCD_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi' : 'QCD_Pt_3000_3500_14TeV',
595  'QCD_Pt_80_120_14TeV_TuneCUETP8M1_cfi' : 'QCD_Pt_80_120_14TeV',
596  'H200ChargedTaus_Tauola_14TeV_cfi' : 'Higgs200ChargedTaus_14TeV',
597  'JpsiMM_14TeV_TuneCUETP8M1_cfi' : 'JpsiMM_14TeV',
598  'TTbar_14TeV_TuneCUETP8M1_cfi' : 'TTbar_14TeV',
599  'WE_14TeV_TuneCUETP8M1_cfi' : 'WE_14TeV',
600  'ZEE_13TeV_TuneCUETP8M1_cfi' : 'ZEE_13',
601  'ZTT_Tauola_All_hadronic_14TeV_TuneCUETP8M1_cfi' : 'ZTT_14TeV',
602  'H130GGgluonfusion_14TeV_TuneCUETP8M1_cfi' : 'H130GGgluonfusion_14TeV',
603  'PhotonJet_Pt_10_14TeV_TuneCUETP8M1_cfi' : 'PhotonJets_Pt_10_14TeV',
604  'QQH1352T_Tauola_14TeV_TuneCUETP8M1_cfi' : 'QQH1352T_Tauola_14TeV',
605  'MinBias_14TeV_pythia8_TuneCUETP8M1_cfi' : 'MinBias_14TeV',
606  'WM_14TeV_TuneCUETP8M1_cfi' : 'WM_14TeV',
607  'ZMM_13TeV_TuneCUETP8M1_cfi' : 'ZMM_13',
608  'QCDForPF_14TeV_TuneCUETP8M1_cfi' : 'QCDForPF_14TeV',
609  'DYToLL_M-50_14TeV_pythia8_cff' : 'DYToLL_M_50_14TeV',
610  'DYToTauTau_M-50_14TeV_pythia8_tauola_cff' : 'DYtoTauTau_M_50_14TeV',
611  'TTbar_13TeV_TuneCUETP8M1_cfi' : 'TTbar_13',
612  'MinBias_13TeV_pythia8_TuneCUETP8M1_cfi' : 'MinBias_13',
613  'ZEE_14TeV_TuneCUETP8M1_cfi' : 'ZEE_14',
614  'QCD_Pt_80_120_13TeV_TuneCUETP8M1_cfi' : 'QCD_Pt_80_120_13',
615  'H125GGgluonfusion_13TeV_TuneCUETP8M1_cfi' : 'H125GGgluonfusion_13',
616  'QCD_Pt-20toInf_MuEnrichedPt15_TuneCUETP8M1_14TeV_pythia8_cff' : 'QCD_Pt-20toInf_MuEnrichedPt15_14TeV',
617  'ZMM_14TeV_TuneCUETP8M1_cfi' : 'ZMM_14',
618  'QCD_Pt-15To7000_TuneCUETP8M1_Flat_14TeV-pythia8_cff' : 'QCD_Pt-15To7000_Flat_14TeV',
619  'H125GGgluonfusion_14TeV_TuneCUETP8M1_cfi' : 'H125GGgluonfusion_14',
620  'QCD_Pt_600_800_14TeV_TuneCUETP8M1_cfi' : 'QCD_Pt_600_800_14',
621  'UndergroundCosmicSPLooseMu_cfi': 'CosmicsSPLoose',
622  'BeamHalo_13TeV_cfi': 'BeamHalo_13',
623  'H200ChargedTaus_Tauola_13TeV_cfi': 'Higgs200ChargedTaus_13',
624  'ADDMonoJet_13TeV_d3MD3_TuneCUETP8M1_cfi': 'ADDMonoJet_d3MD3_13',
625  'ZpMM_13TeV_TuneCUETP8M1_cfi': 'ZpMM_13',
626  'QCD_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi': 'QCD_Pt_3000_3500_13',
627  'WpM_13TeV_TuneCUETP8M1_cfi': 'WpM_13',
628  'SingleNuE10_cfi.py': 'NuGun',
629  'TTbarLepton_13TeV_TuneCUETP8M1_cfi': 'TTbarLepton_13',
630  'WE_13TeV_TuneCUETP8M1_cfi': 'WE_13',
631  'WM_13TeV_TuneCUETP8M1_cfi': 'WM_13',
632  'ZTT_All_hadronic_13TeV_TuneCUETP8M1_cfi': 'ZTT_13',
633  'PhotonJet_Pt_10_13TeV_TuneCUETP8M1_cfi': 'PhotonJets_Pt_10_13',
634  'QQH1352T_13TeV_TuneCUETP8M1_cfi': 'QQH1352T_13',
635  'Wjet_Pt_80_120_13TeV_TuneCUETP8M1_cfi': 'Wjet_Pt_80_120_13',
636  'Wjet_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi': 'Wjet_Pt_3000_3500_13',
637  'SMS-T1tttt_mGl-1500_mLSP-100_13TeV-pythia8_cfi': 'SMS-T1tttt_mGl-1500_mLSP-100_13',
638  'QCDForPF_13TeV_TuneCUETP8M1_cfi': 'QCD_FlatPt_15_3000HS_13',
639  'PYTHIA8_PhiToMuMu_TuneCUETP8M1_13TeV_cff': 'PhiToMuMu_13',
640  'RSKKGluon_m3000GeV_13TeV_TuneCUETP8M1_cff': 'RSKKGluon_m3000GeV_13',
641  'ZpMM_2250_13TeV_TuneCUETP8M1_cfi': 'ZpMM_2250_13',
642  'ZpEE_2250_13TeV_TuneCUETP8M1_cfi': 'ZpEE_2250_13',
643  'ZpTT_1500_13TeV_TuneCUETP8M1_cfi': 'ZpTT_1500_13',
644  'Upsilon1SToMuMu_forSTEAM_13TeV_TuneCUETP8M1_cfi': 'Upsilon1SToMuMu_13',
645  'EtaBToJpsiJpsi_forSTEAM_TuneCUEP8M1_13TeV_cfi': 'EtaBToJpsiJpsi_13',
646  'JpsiMuMu_Pt-8_forSTEAM_13TeV_TuneCUETP8M1_cfi': 'JpsiMuMu_Pt-8',
647  'BuMixing_BMuonFilter_forSTEAM_13TeV_TuneCUETP8M1_cfi': 'BuMixing_13',
648  'HSCPstop_M_200_TuneCUETP8M1_13TeV_pythia8_cff': 'HSCPstop_M_200_13',
649  'RSGravitonToGammaGamma_kMpl01_M_3000_TuneCUETP8M1_13TeV_pythia8_cfi': 'RSGravitonToGaGa_13',
650  'WprimeToENu_M-2000_TuneCUETP8M1_13TeV-pythia8_cff': 'WpToENu_M-2000_13',
651  'DisplacedSUSY_stopToBottom_M_300_1000mm_TuneCUETP8M1_13TeV_pythia8_cff': 'DisplacedSUSY_stopToBottom_M_300_1000mm_13',
652  'TenE_E_0_200_pythia8_cfi': 'TenE_0_200',
653  'FlatRandomPtAndDxyGunProducer_cfi': 'DisplacedMuonsDxy_0_500',
654  'TenTau_E_15_500_pythia8_cfi':'TenTau_15_500',
655  'SinglePiPt25Eta1p7_2p7_cfi':'SinglePiPt25Eta1p7_2p7',
656  'SingleMuPt15Eta1p7_2p7_cfi':'SingleMuPt15Eta1p7_2p7',
657  'SingleGammaPt25Eta1p7_2p7_cfi':'SingleGammaPt25Eta1p7_2p7',
658  'SingleElectronPt15Eta1p7_2p7_cfi':'SingleElectronPt15Eta1p7_2p7',
659 }
def Kby(N, s)
Standard release validation samples ####.
Definition: MatrixUtil.py:223