test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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',
42  'SingleElectronPt10_cfi',
43  'SingleElectronPt35_cfi',
44  'SingleElectronPt1000_cfi',
45  'SingleGammaPt10_cfi',
46  'SingleGammaPt35_cfi',
47  'SingleMuPt1_cfi',
48  'SingleMuPt10_cfi',
49  'SingleMuPt100_cfi',
50  'SingleMuPt1000_cfi',
51  'FourMuExtendedPt_1_200_pythia8_cfi',
52  'TenMuExtendedE_0_200_pythia8_cfi',
53  'DoubleElectronPt10Extended_pythia8_cfi',
54  'DoubleElectronPt35Extended_pythia8_cfi',
55  'DoubleElectronPt1000Extended_pythia8_cfi',
56  'DoubleGammaPt10Extended_cfi',
57  'DoubleGammaPt35Extended_pythia8_cfi',
58  'DoubleMuPt1Extended_pythia8_cfi',
59  'DoubleMuPt10Extended_pythia8_cfi',
60  'DoubleMuPt100Extended_pythia8_cfi',
61  'DoubleMuPt1000Extended_pythia8_cfi',
62  'TenMuE_0_200_pythia8_cfi',
63  'SinglePiE50HCAL_cfi',
64  'MinBias_13TeV_pythia8_TuneCUETP8M1_cfi',
65  'TTbar_13TeV_TuneCUETP8M1_cfi',
66  'ZEE_13TeV_TuneCUETP8M1_cfi',
67  'QCD_Pt_600_800_13TeV_TuneCUETP8M1_cfi',
68  'Wjet_Pt_80_120_14TeV_cfi',
69  'Wjet_Pt_3000_3500_14TeV_cfi',
70  'LM1_sfts_14TeV_cfi',
71  'QCD_Pt_3000_3500_14TeV_cfi',
72  'QCD_Pt_80_120_14TeV_cfi',
73  'H200ChargedTaus_Tauola_14TeV_cfi',
74  'JpsiMM_14TeV_cfi',
75  'TTbar_Tauola_14TeV_cfi',
76  'WE_14TeV_cfi',
77  'ZTT_Tauola_All_hadronic_14TeV_cfi',
78  'H130GGgluonfusion_14TeV_cfi',
79  'PhotonJet_Pt_10_14TeV_cfi',
80  'QQH1352T_Tauola_14TeV_cfi',
81  'MinBias_TuneZ2star_14TeV_pythia6_cff',
82  'WM_14TeV_cfi',
83  'ZMM_14TeV_cfi',
84  'QCDForPF_14TeV_cfi',
85  'DYToLL_M_50_TuneZ2star_14TeV_pythia6_tauola_cff',
86  'DYtoTauTau_M_50_TuneD6T_14TeV_pythia6_tauola_cff',
87  ]
88 
89 
90 
91 ### remember that you need to add a new step for phase 2 to include the track trigger
92 ### remember that you need to add fastsim
93 
94 # step1 is normal gen-sim
95 # step2 is digi
96 # step3 is reco
97 # step4 is harvest
98 # step5 is digi+l1tracktrigger
99 # step6 is fastsim
100 # step7 is fastsim harvesting
101 upgradeSteps=['GenSimFull','GenSimHLBeamSpotFull','DigiFull','RecoFull','RecoFullHGCAL','HARVESTFull','DigiTrkTrigFull','FastSim','HARVESTFast','DigiFullPU','RecoFullPU','RecoFullPUHGCAL','HARVESTFullPU','DigiFullTrigger']
102 
103 upgradeScenToRun={
104  '2017':['GenSimFull','DigiFull','RecoFull','HARVESTFull'],
105  #'2017':['GenSimFull'],
106  '2017PU':['GenSimFull','DigiFullPU','RecoFullPU','HARVESTFullPU'],#full sequence
107  '2023':['GenSimFull','DigiFull','RecoFull'],#full sequence
108  '2023dev':['GenSimFull','DigiFull','RecoFull'],#dev scenario
109  '2023sim':['GenSimFull'],#sim scenario
110  '2023LReco':['GenSimFull','DigiFull'],#local reco scneario
111  '2023Reco':['GenSimFull','DigiFull','RecoFull']#full reco scenario
112  }
113 
115 
116 howMuches={'FourMuPt_1_200_pythia8_cfi':Kby(10,100),
117  'TenMuE_0_200_pythia8_cfi':Kby(10,100),
118  'FourMuExtendedPt_1_200_pythia8_cfi':Kby(10,100),
119  'TenMuExtendedE_0_200_pythia8_cfi':Kby(10,100),
120  'SingleElectronPt10_cfi':Kby(9,100),
121  'SingleElectronPt35_cfi':Kby(9,100),
122  'SingleElectronPt1000_cfi':Kby(9,50),
123  'SingleGammaPt10_cfi':Kby(9,100),
124  'SingleGammaPt35_cfi':Kby(9,50),
125  'SingleMuPt1_cfi':Kby(25,100),
126  'SingleMuPt10_cfi':Kby(25,100),
127  'SingleMuPt100_cfi':Kby(9,100),
128  'SingleMuPt1000_cfi':Kby(9,100),
129  'DoubleElectronPt10Extended_pythia8_cfi':Kby(9,100),
130  'DoubleElectronPt35Extended_pythia8_cfi':Kby(9,100),
131  'DoubleElectronPt1000Extended_pythia8_cfi':Kby(9,50),
132  'DoubleGammaPt10Extended_cfi':Kby(9,100),
133  'DoubleGammaPt35Extended_pythia8_cfi':Kby(9,50),
134  'DoubleMuPt1Extended_pythia8_cfi':Kby(25,100),
135  'DoubleMuPt10Extended_pythia8_cfi':Kby(25,100),
136  'DoubleMuPt100Extended_pythia8_cfi':Kby(9,100),
137  'DoubleMuPt1000Extended_pythia8_cfi':Kby(9,100),
138  'SinglePiE50HCAL_cfi':Kby(10,100),
139  'QCD_Pt_600_800_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
140  'Wjet_Pt_80_120_14TeV_cfi':Kby(9,100),
141  'Wjet_Pt_3000_3500_14TeV_cfi':Kby(9,50),
142  'LM1_sfts_14TeV_cfi':Kby(9,100),
143  'QCD_Pt_3000_3500_14TeV_cfi':Kby(9,50),
144  'QCD_Pt_80_120_14TeV_cfi':Kby(9,100),
145  'H200ChargedTaus_Tauola_14TeV_cfi':Kby(9,100),
146  'JpsiMM_14TeV_cfi':Kby(66,100),
147  'TTbar_Tauola_14TeV_cfi':Kby(9,100),
148  'WE_14TeV_cfi':Kby(9,100),
149  'ZEE_13TeV_TuneCUETP8M1_cfi':Kby(9,100),
150  'ZTT_Tauola_All_hadronic_14TeV_cfi':Kby(9,100),
151  'H130GGgluonfusion_14TeV_cfi':Kby(9,100),
152  'PhotonJet_Pt_10_14TeV_cfi':Kby(9,100),
153  'QQH1352T_Tauola_14TeV_cfi':Kby(9,100),
154  'MinBias_TuneZ2star_14TeV_pythia6_cff':Kby(90,100),
155  'WM_14TeV_cfi':Kby(9,100),
156  'ZMM_14TeV_cfi':Kby(18,100),
157  'QCDForPF_14TeV_cfi':Kby(9,50),
158  'DYToLL_M_50_TuneZ2star_14TeV_pythia6_tauola_cff':Kby(9,100),
159  'DYtoTauTau_M_50_TuneD6T_14TeV_pythia6_tauola_cff':Kby(9,100),
160  'TTbar_13TeV_TuneCUETP8M1_cfi':Kby(9,50),
161  'MinBias_13TeV_pythia8_TuneCUETP8M1_cfi':Kby(90,100)
162  }
163 
164 upgradeDatasetFromFragment={'FourMuPt_1_200_pythia8_cfi': 'FourMuPt1_200',
165  'FourMuExtendedPt_1_200_pythia8_cfi': 'FourMuExtendedPt1_200',
166  'TenMuE_0_200_pythia8_cfi': 'TenMuE_0_200',
167  'TenMuExtendedE_0_200_pythia8_cfi': 'TenMuExtendedE_0_200',
168  'SingleElectronPt10_cfi' : 'SingleElectronPt10',
169  'SingleElectronPt35_cfi' : 'SingleElectronPt35',
170  'SingleElectronPt1000_cfi' : 'SingleElectronPt1000',
171  'SingleGammaPt10_cfi' : 'SingleGammaPt10',
172  'SingleGammaPt35_cfi' : 'SingleGammaPt35',
173  'SingleMuPt1_cfi' : 'SingleMuPt1',
174  'SingleMuPt10_cfi' : 'SingleMuPt10',
175  'SingleMuPt100_cfi' : 'SingleMuPt100',
176  'SingleMuPt1000_cfi' : 'SingleMuPt1000',
177  'DoubleElectronPt10Extended_pythia8_cfi' : 'SingleElectronPt10Extended',
178  'DoubleElectronPt35Extended_pythia8_cfi' : 'SingleElectronPt35Extended',
179  'DoubleElectronPt1000Extended_pythia8_cfi' : 'SingleElectronPt1000Extended',
180  'DoubleGammaPt10Extended_cfi' : 'SingleGammaPt10Extended',
181  'DoubleGammaPt35Extended_pythia8_cfi' : 'SingleGammaPt35Extended',
182  'DoubleMuPt1Extended_pythia8_cfi' : 'SingleMuPt1Extended',
183  'DoubleMuPt10Extended_pythia8_cfi' : 'SingleMuPt10Extended',
184  'DoubleMuPt100Extended_pythia8_cfi' : 'SingleMuPt100Extended',
185  'DoubleMuPt1000Extended_pythia8_cfi' : 'SingleMuPt1000Extended',
186  'SinglePiE50HCAL_cfi' : 'SinglePiE50HCAL',
187  'QCD_Pt_600_800_13TeV_TuneCUETP8M1_cfi' : 'QCD_Pt_600_800_13',
188  'Wjet_Pt_80_120_14TeV_cfi' : 'Wjet_Pt_80_120_14TeV',
189  'Wjet_Pt_3000_3500_14TeV_cfi' : 'Wjet_Pt_3000_3500_14TeV',
190  'LM1_sfts_14TeV_cfi' : 'LM1_sfts_14TeV',
191  'QCD_Pt_3000_3500_14TeV_cfi' : 'QCD_Pt_3000_3500_14TeV',
192  'QCD_Pt_80_120_14TeV_cfi' : 'QCD_Pt_80_120_14TeV',
193  'H200ChargedTaus_Tauola_14TeV_cfi' : 'Higgs200ChargedTaus_14TeV',
194  'JpsiMM_14TeV_cfi' : 'JpsiMM_14TeV',
195  'TTbar_Tauola_14TeV_cfi' : 'TTbar_14TeV',
196  'WE_14TeV_cfi' : 'WE_14TeV',
197  'ZEE_13TeV_TuneCUETP8M1_cfi' : 'ZEE_13',
198  'ZTT_Tauola_All_hadronic_14TeV_cfi' : 'ZTT_14TeV',
199  'H130GGgluonfusion_14TeV_cfi' : 'H130GGgluonfusion_14TeV',
200  'PhotonJet_Pt_10_14TeV_cfi' : 'PhotonJets_Pt_10_14TeV',
201  'QQH1352T_Tauola_14TeV_cfi' : 'QQH1352T_Tauola_14TeV',
202  'MinBias_TuneZ2star_14TeV_pythia6_cff' : 'MinBias_TuneZ2star_14TeV',
203  'WM_14TeV_cfi' : 'WM_14TeV',
204  'ZMM_14TeV_cfi' : 'ZMM_14TeV',
205  'QCDForPF_14TeV_cfi' : 'QCDForPF_14TeV',
206  'DYToLL_M_50_TuneZ2star_14TeV_pythia6_tauola_cff' : 'DYToLL_M_50_TuneZ2star_14TeV',
207  'DYtoTauTau_M_50_TuneD6T_14TeV_pythia6_tauola_cff' : 'DYtoTauTau_M_50_TuneD6T_14TeV',
208  'TTbar_13TeV_TuneCUETP8M1_cfi' : 'TTbar_13',
209  'MinBias_13TeV_pythia8_TuneCUETP8M1_cfi' : 'MinBias_13'
210  }
211 
212 
213 
214 #just do everything...