Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Configuration
PyReleaseValidation
python
upgradeWorkflowComponents.py
Go to the documentation of this file.
1
# You will need separate scenarios HERE for full and fast. DON'T CHANGE THE ORDER, only
2
# append new keys. Otherwise the numbering for the runTheMatrix tests will change.
3
upgradeKeys=[
'2017'
,
4
'2017PU'
,
5
'2023'
,
6
'2023dev'
,
7
'2023sim'
,
8
'2023LReco'
,
9
'2023Reco'
10
11
12
]
13
14
15
upgradeGeoms={
'2017'
:
'Extended2017'
,
16
'2023'
:
'Extended2023'
,
17
'2023dev'
:
'Extended2023dev'
,
18
'2023sim'
:
'Extended2023'
,
19
'2023LReco'
:
'Extended2023'
,
20
'2023Reco'
:
'Extended2023'
21
}
22
23
upgradeGTs={
'2017'
:
'auto:phase1_2017_design'
,
24
'2023'
:
'auto_run2_mc'
,
25
'2023dev'
:
'auto_run2_mc'
,
26
'2023sim'
:
'auto_run2_mc'
,
27
'2023LReco'
:
'auto_run2_mc'
,
28
'2023Reco'
:
'auto_run2_mc'
29
}
30
upgradeCustoms={
'2017'
:
'SLHCUpgradeSimulations/Configuration/combinedCustoms.cust_2017'
,
31
'2023'
:
'SLHCUpgradeSimulations/Configuration/combinedCustoms.cust_2023'
,
32
'2023dev'
:
'SLHCUpgradeSimulations/Configuration/combinedCustoms.cust_2023dev'
,
33
'2023sim'
:
'SLHCUpgradeSimulations/Configuration/combinedCustoms.cust_2023sim'
,
34
'2023LReco'
:
'SLHCUpgradeSimulations/Configuration/combinedCustoms.cust_2023LReco'
,
35
'2023Reco'
:
'SLHCUpgradeSimulations/Configuration/combinedCustoms.cust_2023Reco'
36
37
}
38
upgradeEras={
'2017'
:
'Run2_2017'
,
39
}
40
41
upgradeFragments=[
'FourMuPt_1_200_pythia8_cfi'
,
'SingleElectronPt10_cfi'
,
42
'SingleElectronPt35_cfi'
,
'SingleElectronPt1000_cfi'
,
43
'SingleGammaPt10_cfi'
,
'SingleGammaPt35_cfi'
,
'SingleMuPt1_cfi'
,
'SingleMuPt10_cfi'
,
44
'SingleMuPt100_cfi'
,
'SingleMuPt1000_cfi'
,
'TTbarLepton_Tauola_8TeV_cfi'
,
'Wjet_Pt_80_120_8TeV_cfi'
,
45
'Wjet_Pt_3000_3500_8TeV_cfi'
,
'LM1_sfts_8TeV_cfi'
,
'QCD_Pt_3000_3500_8TeV_cfi'
,
'QCD_Pt_600_800_8TeV_cfi'
,
46
'QCD_Pt_80_120_8TeV_cfi'
,
'H200ChargedTaus_Tauola_8TeV_cfi'
,
'JpsiMM_8TeV_cfi'
,
'TTbar_Tauola_8TeV_cfi'
,
47
'WE_8TeV_cfi'
,
'ZEE_8TeV_cfi'
,
'ZTT_Tauola_All_hadronic_8TeV_cfi'
,
'H130GGgluonfusion_8TeV_cfi'
,
48
'PhotonJet_Pt_10_8TeV_cfi'
,
'QQH1352T_Tauola_8TeV_cfi'
,
'MinBias_TuneZ2star_8TeV_pythia6_cff'
,
'WM_8TeV_cfi'
,
49
'ZMM_8TeV_cfi'
,
'ADDMonoJet_8TeV_d3MD3_cfi'
,
'ZpMM_8TeV_cfi'
,
'WpM_8TeV_cfi'
,
50
'Wjet_Pt_80_120_14TeV_cfi'
,
'Wjet_Pt_3000_3500_14TeV_cfi'
,
'LM1_sfts_14TeV_cfi'
,
'QCD_Pt_3000_3500_14TeV_cfi'
,
51
'QCD_Pt_80_120_14TeV_cfi'
,
'H200ChargedTaus_Tauola_14TeV_cfi'
,
'JpsiMM_14TeV_cfi'
,
'TTbar_Tauola_14TeV_cfi'
,
52
'WE_14TeV_cfi'
,
'ZEE_14TeV_cfi'
,
'ZTT_Tauola_All_hadronic_14TeV_cfi'
,
'H130GGgluonfusion_14TeV_cfi'
,
53
'PhotonJet_Pt_10_14TeV_cfi'
,
'QQH1352T_Tauola_14TeV_cfi'
,
54
'MinBias_TuneZ2star_14TeV_pythia6_cff'
,
'WM_14TeV_cfi'
,
'ZMM_14TeV_cfi'
,
55
'FourMuExtendedPt_1_200_pythia8_cfi'
,
56
'TenMuExtendedE_0_200_pythia8_cfi'
,
57
'DoubleElectronPt10Extended_pythia8_cfi'
,
58
'DoubleElectronPt35Extended_pythia8_cfi'
,
59
'DoubleElectronPt1000Extended_pythia8_cfi'
,
60
'DoubleGammaPt10Extended_cfi'
,
61
'DoubleGammaPt35Extended_pythia8_cfi'
,
62
'DoubleMuPt1Extended_pythia8_cfi'
,
63
'DoubleMuPt10Extended_pythia8_cfi'
,
64
'DoubleMuPt100Extended_pythia8_cfi'
,
65
'DoubleMuPt1000Extended_pythia8_cfi'
,
66
'TenMuE_0_200_pythia8_cfi'
,
67
'SinglePiE50HCAL_cfi'
,
68
'QCDForPF_14TeV_cfi'
,
69
'DYToLL_M_50_TuneZ2star_14TeV_pythia6_tauola_cff'
,
70
'DYtoTauTau_M_50_TuneD6T_14TeV_pythia6_tauola_cff'
,
71
'TTbar_14TeV_TuneCUETP8M1_cfi'
,
72
'MinBias_14TeV_pythia8_TuneCUETP8M1_cfi'
]
73
74
75
76
### remember that you need to add a new step for phase 2 to include the track trigger
77
### remember that you need to add fastsim
78
79
# step1 is normal gen-sim
80
# step2 is digi
81
# step3 is reco
82
# step4 is harvest
83
# step5 is digi+l1tracktrigger
84
# step6 is fastsim
85
# step7 is fastsim harvesting
86
upgradeSteps=[
'GenSimFull'
,
'GenSimHLBeamSpotFull'
,
'DigiFull'
,
'RecoFull'
,
'RecoFullHGCAL'
,
'HARVESTFull'
,
'DigiTrkTrigFull'
,
'FastSim'
,
'HARVESTFast'
,
'DigiFullPU'
,
'RecoFullPU'
,
'RecoFullPUHGCAL'
,
'HARVESTFullPU'
,
'DigiFullTrigger'
]
87
88
upgradeScenToRun={
'2017'
:[
'GenSimFull'
,
'DigiFull'
,
'RecoFull'
,
'HARVESTFull'
],
89
'2017PU'
:[
'GenSimFull'
,
'DigiFullPU'
,
'RecoFullPU'
,
'HARVESTFullPU'
],
#full sequence
90
'2023'
:[
'GenSimFull'
,
'DigiFull'
,
'RecoFull'
],
#full sequence
91
'2023dev'
:[
'GenSimFull'
,
'DigiFull'
,
'RecoFull'
],
#dev scenario
92
'2023sim'
:[
'GenSimFull'
],
#sim scenario
93
'2023LReco'
:[
'GenSimFull'
,
'DigiFull'
],
#local reco scneario
94
'2023Reco'
:[
'GenSimFull'
,
'DigiFull'
,
'RecoFull'
]
#full reco scenario
95
}
96
97
from
Configuration.PyReleaseValidation.relval_steps
import
Kby
98
99
howMuches={
'FourMuPt_1_200_pythia8_cfi'
:
Kby
(10,100),
100
'TenMuE_0_200_pythia8_cfi'
:
Kby
(10,100),
101
'FourMuExtendedPt_1_200_pythia8_cfi'
:
Kby
(10,100),
102
'TenMuExtendedE_0_200_pythia8_cfi'
:
Kby
(10,100),
103
'SingleElectronPt10_cfi'
:
Kby
(9,100),
104
'SingleElectronPt35_cfi'
:
Kby
(9,100),
105
'SingleElectronPt1000_cfi'
:
Kby
(9,50),
106
'SingleGammaPt10_cfi'
:
Kby
(9,100),
107
'SingleGammaPt35_cfi'
:
Kby
(9,50),
108
'SingleMuPt1_cfi'
:
Kby
(25,100),
109
'SingleMuPt10_cfi'
:
Kby
(25,100),
110
'SingleMuPt100_cfi'
:
Kby
(9,100),
111
'SingleMuPt1000_cfi'
:
Kby
(9,100),
112
'DoubleElectronPt10Extended_pythia8_cfi'
:
Kby
(9,100),
113
'DoubleElectronPt35Extended_pythia8_cfi'
:
Kby
(9,100),
114
'DoubleElectronPt1000Extended_pythia8_cfi'
:
Kby
(9,50),
115
'DoubleGammaPt10Extended_cfi'
:
Kby
(9,100),
116
'DoubleGammaPt35Extended_pythia8_cfi'
:
Kby
(9,50),
117
'DoubleMuPt1Extended_pythia8_cfi'
:
Kby
(25,100),
118
'DoubleMuPt10Extended_pythia8_cfi'
:
Kby
(25,100),
119
'DoubleMuPt100Extended_pythia8_cfi'
:
Kby
(9,100),
120
'DoubleMuPt1000Extended_pythia8_cfi'
:
Kby
(9,100),
121
'SinglePiE50HCAL_cfi'
:
Kby
(10,100),
122
'TTbarLepton_Tauola_8TeV_cfi'
:
Kby
(9,100),
123
'Wjet_Pt_80_120_8TeV_cfi'
:
Kby
(9,100),
124
'Wjet_Pt_3000_3500_8TeV_cfi'
:
Kby
(9,50),
125
'LM1_sfts_8TeV_cfi'
:
Kby
(9,100),
126
'QCD_Pt_3000_3500_8TeV_cfi'
:
Kby
(9,50),
127
'QCD_Pt_600_800_8TeV_cfi'
:
Kby
(9,50),
128
'QCD_Pt_80_120_8TeV_cfi'
:
Kby
(9,100),
129
'H200ChargedTaus_Tauola_8TeV_cfi'
:
Kby
(9,100),
130
'JpsiMM_8TeV_cfi'
:
Kby
(66,100),
131
'TTbar_Tauola_8TeV_cfi'
:
Kby
(9,100),
132
'WE_8TeV_cfi'
:
Kby
(9,100),
133
'ZEE_8TeV_cfi'
:
Kby
(9,100),
134
'ZTT_Tauola_All_hadronic_8TeV_cfi'
:
Kby
(9,100),
135
'H130GGgluonfusion_8TeV_cfi'
:
Kby
(9,100),
136
'PhotonJet_Pt_10_8TeV_cfi'
:
Kby
(9,100),
137
'QQH1352T_Tauola_8TeV_cfi'
:
Kby
(9,100),
138
'MinBias_TuneZ2star_8TeV_pythia6_cff'
:
Kby
(9,30),
139
'WM_8TeV_cfi'
:
Kby
(9,100),
140
'ZMM_8TeV_cfi'
:
Kby
(18,100),
141
'ADDMonoJet_8TeV_d3MD3_cfi'
:
Kby
(9,100),
142
'ZpMM_8TeV_cfi'
:
Kby
(9,100),
143
'WpM_8TeV_cfi'
:
Kby
(9,100),
144
'Wjet_Pt_80_120_14TeV_cfi'
:
Kby
(9,100),
145
'Wjet_Pt_3000_3500_14TeV_cfi'
:
Kby
(9,50),
146
'LM1_sfts_14TeV_cfi'
:
Kby
(9,100),
147
'QCD_Pt_3000_3500_14TeV_cfi'
:
Kby
(9,50),
148
'QCD_Pt_80_120_14TeV_cfi'
:
Kby
(9,100),
149
'H200ChargedTaus_Tauola_14TeV_cfi'
:
Kby
(9,100),
150
'JpsiMM_14TeV_cfi'
:
Kby
(66,100),
151
'TTbar_Tauola_14TeV_cfi'
:
Kby
(9,100),
152
'WE_14TeV_cfi'
:
Kby
(9,100),
153
'ZEE_14TeV_cfi'
:
Kby
(9,100),
154
'ZTT_Tauola_All_hadronic_14TeV_cfi'
:
Kby
(9,100),
155
'H130GGgluonfusion_14TeV_cfi'
:
Kby
(9,100),
156
'PhotonJet_Pt_10_14TeV_cfi'
:
Kby
(9,100),
157
'QQH1352T_Tauola_14TeV_cfi'
:
Kby
(9,100),
158
'MinBias_TuneZ2star_14TeV_pythia6_cff'
:
Kby
(90,100),
159
'WM_14TeV_cfi'
:
Kby
(9,100),
160
'ZMM_14TeV_cfi'
:
Kby
(18,100),
161
'QCDForPF_14TeV_cfi'
:
Kby
(9,50),
162
'DYToLL_M_50_TuneZ2star_14TeV_pythia6_tauola_cff'
:
Kby
(9,100),
163
'DYtoTauTau_M_50_TuneD6T_14TeV_pythia6_tauola_cff'
:
Kby
(9,100),
164
'TTbar_14TeV_TuneCUETP8M1_cfi'
:
Kby
(9,50),
165
'MinBias_14TeV_pythia8_TuneCUETP8M1_cfi'
:
Kby
(90,100)
166
}
167
168
upgradeDatasetFromFragment={
'FourMuPt_1_200_pythia8_cfi'
:
'FourMuPt1_200'
,
169
'FourMuExtendedPt_1_200_pythia8_cfi'
:
'FourMuExtendedPt1_200'
,
170
'TenMuE_0_200_pythia8_cfi'
:
'TenMuE_0_200'
,
171
'TenMuExtendedE_0_200_pythia8_cfi'
:
'TenMuExtendedE_0_200'
,
172
'SingleElectronPt10_cfi'
:
'SingleElectronPt10'
,
173
'SingleElectronPt35_cfi'
:
'SingleElectronPt35'
,
174
'SingleElectronPt1000_cfi'
:
'SingleElectronPt1000'
,
175
'SingleGammaPt10_cfi'
:
'SingleGammaPt10'
,
176
'SingleGammaPt35_cfi'
:
'SingleGammaPt35'
,
177
'SingleMuPt1_cfi'
:
'SingleMuPt1'
,
178
'SingleMuPt10_cfi'
:
'SingleMuPt10'
,
179
'SingleMuPt100_cfi'
:
'SingleMuPt100'
,
180
'SingleMuPt1000_cfi'
:
'SingleMuPt1000'
,
181
'DoubleElectronPt10Extended_pythia8_cfi'
:
'SingleElectronPt10Extended'
,
182
'DoubleElectronPt35Extended_pythia8_cfi'
:
'SingleElectronPt35Extended'
,
183
'DoubleElectronPt1000Extended_pythia8_cfi'
:
'SingleElectronPt1000Extended'
,
184
'DoubleGammaPt10Extended_cfi'
:
'SingleGammaPt10Extended'
,
185
'DoubleGammaPt35Extended_pythia8_cfi'
:
'SingleGammaPt35Extended'
,
186
'DoubleMuPt1Extended_pythia8_cfi'
:
'SingleMuPt1Extended'
,
187
'DoubleMuPt10Extended_pythia8_cfi'
:
'SingleMuPt10Extended'
,
188
'DoubleMuPt100Extended_pythia8_cfi'
:
'SingleMuPt100Extended'
,
189
'DoubleMuPt1000Extended_pythia8_cfi'
:
'SingleMuPt1000Extended'
,
190
'SinglePiE50HCAL_cfi'
:
'SinglePiE50HCAL'
,
191
'TTbarLepton_Tauola_8TeV_cfi'
:
'TTbarLepton_8TeV'
,
192
'Wjet_Pt_80_120_8TeV_cfi'
:
'Wjet_Pt_80_120_8TeV'
,
193
'Wjet_Pt_3000_3500_8TeV_cfi'
:
'Wjet_Pt_3000_3500_8TeV'
,
194
'LM1_sfts_8TeV_cfi'
:
'LM1_sfts_8TeV'
,
195
'QCD_Pt_3000_3500_8TeV_cfi'
:
'QCD_Pt_3000_3500_8TeV'
,
196
'QCD_Pt_600_800_8TeV_cfi'
:
'QCD_Pt_600_800_8TeV'
,
197
'QCD_Pt_80_120_8TeV_cfi'
:
'QCD_Pt_80_120_8TeV'
,
198
'H200ChargedTaus_Tauola_8TeV_cfi'
:
'Higgs200ChargedTaus_8TeV'
,
199
'JpsiMM_8TeV_cfi'
:
'JpsiMM_8TeV'
,
200
'TTbar_Tauola_8TeV_cfi'
:
'TTbar_8TeV'
,
201
'WE_8TeV_cfi'
:
'WE_8TeV'
,
202
'ZEE_8TeV_cfi'
:
'ZEE_8TeV'
,
203
'ZTT_Tauola_All_hadronic_8TeV_cfi'
:
'ZTT_8TeV'
,
204
'H130GGgluonfusion_8TeV_cfi'
:
'H130GGgluonfusion_8TeV'
,
205
'PhotonJet_Pt_10_8TeV_cfi'
:
'PhotonJets_Pt_10_8TeV'
,
206
'QQH1352T_Tauola_8TeV_cfi'
:
'QQH1352T_Tauola_8TeV'
,
207
'MinBias_TuneZ2star_8TeV_pythia6_cff'
:
'MinBias_TuneZ2star_8TeV'
,
208
'WM_8TeV_cfi'
:
'WM_8TeV'
,
209
'ZMM_8TeV_cfi'
:
'ZMM_8TeV'
,
210
'ADDMonoJet_8TeV_d3MD3_cfi'
:
'ADDMonoJet_d3MD3_8TeV'
,
211
'ZpMM_8TeV_cfi'
:
'ZpMM_8TeV'
,
212
'WpM_8TeV_cfi'
:
'WpM_8TeV'
,
213
'Wjet_Pt_80_120_14TeV_cfi'
:
'Wjet_Pt_80_120_14TeV'
,
214
'Wjet_Pt_3000_3500_14TeV_cfi'
:
'Wjet_Pt_3000_3500_14TeV'
,
215
'LM1_sfts_14TeV_cfi'
:
'LM1_sfts_14TeV'
,
216
'QCD_Pt_3000_3500_14TeV_cfi'
:
'QCD_Pt_3000_3500_14TeV'
,
217
'QCD_Pt_80_120_14TeV_cfi'
:
'QCD_Pt_80_120_14TeV'
,
218
'H200ChargedTaus_Tauola_14TeV_cfi'
:
'Higgs200ChargedTaus_14TeV'
,
219
'JpsiMM_14TeV_cfi'
:
'JpsiMM_14TeV'
,
220
'TTbar_Tauola_14TeV_cfi'
:
'TTbar_14TeV'
,
221
'WE_14TeV_cfi'
:
'WE_14TeV'
,
222
'ZEE_14TeV_cfi'
:
'ZEE_14TeV'
,
223
'ZTT_Tauola_All_hadronic_14TeV_cfi'
:
'ZTT_14TeV'
,
224
'H130GGgluonfusion_14TeV_cfi'
:
'H130GGgluonfusion_14TeV'
,
225
'PhotonJet_Pt_10_14TeV_cfi'
:
'PhotonJets_Pt_10_14TeV'
,
226
'QQH1352T_Tauola_14TeV_cfi'
:
'QQH1352T_Tauola_14TeV'
,
227
'MinBias_TuneZ2star_14TeV_pythia6_cff'
:
'MinBias_TuneZ2star_14TeV'
,
228
'WM_14TeV_cfi'
:
'WM_14TeV'
,
229
'ZMM_14TeV_cfi'
:
'ZMM_14TeV'
,
230
'QCDForPF_14TeV_cfi'
:
'QCDForPF_14TeV'
,
231
'DYToLL_M_50_TuneZ2star_14TeV_pythia6_tauola_cff'
:
'DYToLL_M_50_TuneZ2star_14TeV'
,
232
'DYtoTauTau_M_50_TuneD6T_14TeV_pythia6_tauola_cff'
:
'DYtoTauTau_M_50_TuneD6T_14TeV'
,
233
'TTbar_14TeV_TuneCUETP8M1_cfi'
:
'TTbar_pythia8_14TeV'
,
234
'MinBias_14TeV_pythia8_TuneCUETP8M1_cfi'
:
'MinBias_pythia8_14TeV'
235
}
236
237
238
239
#just do everything...
relval_steps
MatrixUtil.Kby
def Kby
Definition:
MatrixUtil.py:203
Generated for CMSSW Reference Manual by
1.8.5