1 from copy
import copy, deepcopy
2 from collections
import OrderedDict
3 from .MatrixUtil
import merge, Kby, Mby
6 U2000by1={
'--relval':
'2000,1'}
95 numWFConflict = [[14400,14800],
104 for year
in upgradeKeys:
105 for i
in range(0,len(upgradeKeys[year])):
106 numWFtmp = numWFStart[year]
if i==0
else (numWFAll[year][i-1] + numWFSkip)
107 for conflict
in numWFConflict:
108 if numWFtmp>=conflict[0]
and numWFtmp<conflict[1]:
109 numWFtmp = conflict[1]
111 numWFAll[year].
append(numWFtmp)
118 preventReuseKeyword =
'NOREUSE' 127 if not step
in self.
steps:
134 raise ValueError(
"Special workflow offset must be between 0.0 and 1.0")
136 stepName = step + self.
suffix + extra
139 stepNamePU = step +
'PU' + self.
suffix + extra
142 for step
in self.
steps:
148 def setup(self, stepDict, k, properties):
149 for step
in self.
steps:
156 def setup_(self, step, stepName, stepDict, k, properties):
158 def setupPU_(self, step, stepName, stepDict, k, properties):
160 def workflow(self, workflows, num, fragment, stepList, key, hasHarvest):
161 if self.condition(fragment, stepList, key, hasHarvest):
162 self.workflow_(workflows, num, fragment, stepList, key)
163 def workflow_(self, workflows, num, fragment, stepList, key):
164 fragmentTmp = [fragment, key]
166 workflows[num+self.
offset] = [ fragmentTmp, stepList ]
167 def condition(self, fragment, stepList, key, hasHarvest):
170 if "Sim" in stepName:
171 stepDict[stepName][k] =
None 172 if "Gen" in stepName:
173 stepDict[stepName][k] =
None 174 upgradeWFs = OrderedDict()
177 def setup_(self, step, stepName, stepDict, k, properties):
178 cust=properties.get(
'Custom',
None)
179 era=properties.get(
'Era',
None)
180 modifier=properties.get(
'ProcessModifier',
None)
181 if cust
is not None: stepDict[stepName][k][
'--customise']=cust
183 stepDict[stepName][k][
'--era']=era
184 if modifier
is not None: stepDict[stepName][k][
'--procModifier']=modifier
185 def condition(self, fragment, stepList, key, hasHarvest):
192 'GenSimHLBeamSpot14',
193 'GenSimHLBeamSpotHGCALCloseBy',
206 'HARVESTNanoFakeHLT',
230 'HARVESTNanoFakeHLT',
244 def setup_(self, step, stepName, stepDict, k, properties):
245 if stepDict[step][k] !=
None:
247 stepDict[stepName][k] =
None 248 if 'RecoNano' in step:
249 stepDict[stepName][k] =
merge([{
'--filein':
'file:step3.root',
'--secondfilein':
'file:step2.root'}, stepDict[step][k]])
251 stepDict[stepName][k] =
merge([{
'-s': re.sub(
',HLT.*',
'', stepDict[step][k][
'-s'])}, stepDict[step][k]])
252 def condition(self, fragment, stepList, key, hasHarvest):
253 if (
'TTbar_14TeV' in fragment
and '2021' == key):
254 stepList.insert(stepList.index(
'Digi_DigiNoHLT_2021')+1,
'HLTRun3_2021')
255 return (
'TTbar_14TeV' in fragment
and '2021' == key)
264 suffix =
'_DigiNoHLT',
273 steps = steps + [
"ALCA",
"Nano"]
274 super().
__init__(steps, PU, suffix, offset)
275 def condition(self, fragment, stepList, key, hasHarvest):
276 result = (fragment==
"TTbar_13" or fragment==
"TTbar_14TeV" or 'Hydjet' in fragment)
and not 'PU' in key
and hasHarvest
and self.
condition_(fragment, stepList, key, hasHarvest)
280 def setup_(self, step, stepName, stepDict, k, properties):
282 if 'ALCA' in step
or 'Nano'==step:
283 stepDict[stepName][k] =
None 284 self.
setup__(step, stepName, stepDict, k, properties)
286 def setup__(self, step, stepName, stepDict, k, properties):
289 class UpgradeWorkflow_trackingOnly(UpgradeWorkflowTracking):
290 def setup__(self, step, stepName, stepDict, k, properties):
291 if 'Reco' in step: stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
292 elif 'HARVEST' in step: stepDict[stepName][k] =
merge([{
'-s':
'HARVESTING:@trackingOnlyValidation+@trackingOnlyDQM'}, stepDict[step][k]])
294 def condition(self, fragment, stepList, key, hasHarvest):
295 result = (fragment==
"TTbar_13" or fragment==
"TTbar_14TeV")
and hasHarvest
and self.
condition_(fragment, stepList, key, hasHarvest)
311 'HARVESTNanoFakeHLT',
323 'HARVESTNanoFakeHLT',
327 suffix =
'_trackingOnly',
330 upgradeWFs[
'trackingOnly'].step3 = {
331 '-s':
'RAW2DIGI,RECO:reconstruction_trackingOnly,VALIDATION:@trackingOnlyValidation,DQM:@trackingOnlyDQM',
332 '--datatier':
'GEN-SIM-RECO,DQMIO',
333 '--eventcontent':
'RECOSIM,DQM',
336 step3_trackingOnly = upgradeWFs[
'trackingOnly'].step3
339 def setup__(self, step, stepName, stepDict, k, properties):
340 if 'Reco' in step
and stepDict[step][k][
'--era']==
'Run2_2017':
341 stepDict[stepName][k] =
merge([{
'--era':
'Run2_2017_trackingRun2'}, stepDict[step][k]])
350 suffix =
'_trackingRun2',
355 def setup__(self, step, stepName, stepDict, k, properties):
356 if 'Reco' in step
and stepDict[step][k][
'--era']==
'Run2_2017':
357 stepDict[stepName][k] =
merge([{
'--era':
'Run2_2017_trackingRun2'}, self.
step3, stepDict[step][k]])
358 elif 'HARVEST' in step: stepDict[stepName][k] =
merge([{
'-s':
'HARVESTING:@trackingOnlyValidation+@trackingOnlyDQM'}, stepDict[step][k]])
369 suffix =
'_trackingOnlyRun2',
372 upgradeWFs[
'trackingOnlyRun2'].step3 = upgradeWFs[
'trackingOnly'].step3
375 def setup__(self, step, stepName, stepDict, k, properties):
376 if 'Reco' in step
and stepDict[step][k][
'--era']==
'Run2_2017':
377 stepDict[stepName][k] =
merge([{
'--era':
'Run2_2017_trackingLowPU'}, stepDict[step][k]])
386 suffix =
'_trackingLowPU',
391 def setup__(self, step, stepName, stepDict, k, properties):
392 if 'Reco' in step: stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
394 elif 'ALCA' in step: stepDict[stepName][k] =
None 395 elif 'HARVEST' in step: stepDict[stepName][k] =
merge([{
'-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM'}, stepDict[step][k]])
397 return (
'2022' in key
or '2023' in key
or '2024' in key
or '2026' in key
or 'HI' in key)
and (
'FS' not in key)
409 'HARVESTNanoFakeHLT',
414 suffix =
'_pixelTrackingOnly',
417 upgradeWFs[
'pixelTrackingOnly'].step3 = {
418 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
419 '--datatier':
'GEN-SIM-RECO,DQMIO',
420 '--eventcontent':
'RECOSIM,DQM',
424 def setup__(self, step, stepName, stepDict, k, properties):
425 if 'Digi' in step: stepDict[stepName][k] =
merge([self.
step2, stepDict[step][k]])
426 if 'Reco' in step: stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
428 return (
'2017' in key
or '2021' in key
or '2023' in key
or '2024' in key)
and (
'FS' not in key)
440 suffix =
'_trackingMkFit',
443 upgradeWFs[
'trackingMkFit'].step2 = {
444 '--customise':
'RecoTracker/MkFit/customizeHLTIter0ToMkFit.customizeHLTIter0ToMkFit' 446 upgradeWFs[
'trackingMkFit'].step3 = {
447 '--procModifiers':
'trackingMkFitDevel' 452 def setup_(self, step, stepName, stepDict, k, properties):
454 if 'ALCA' in step
or 'Nano'==step:
455 stepDict[stepName][k] =
None 456 elif 'Reco' in step
or 'HARVEST' in step: stepDict[stepName][k] =
merge([{
'--procModifiers':
'seedingDeepCore'}, stepDict[step][k]])
457 def condition(self, fragment, stepList, key, hasHarvest):
458 result = (fragment==
"QCD_Pt_1800_2400_14" or fragment==
"TTbar_14TeV" )
and (
'2021' in key
or '2024' in key)
and hasHarvest
471 'HARVESTNanoFakeHLT',
483 'HARVESTNanoFakeHLT',
485 suffix =
'_seedingDeepCore',
491 def setup__(self, step, stepName, stepDict, k, properties):
492 if 'Reco' in step: stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
494 return (
'2021' in key
or '2023' in key
or '2024' in key)
504 suffix =
'_displacedRegional',
507 upgradeWFs[
'displacedRegional'].step3 = {
508 '--procModifiers':
'displacedRegionalTracking' 513 def setup_(self, step, stepName, stepDict, k, properties):
514 stepDict[stepName][k] =
merge([{
'--procModifiers':
'vectorHits'}, stepDict[step][k]])
515 def condition(self, fragment, stepList, key, hasHarvest):
516 return (fragment==
"TTbar_14TeV" or fragment==
"SingleMuPt10Extended")
and '2026' in key
526 suffix =
'_vectorHits',
532 def __init__(self, reco = {}, harvest = {}, **kwargs):
534 super(UpgradeWorkflow_weightedVertex, self).
__init__(
545 'HARVESTNanoFakeHLT',
557 'HARVESTNanoFakeHLT',
563 def setup_(self, step, stepName, stepDict, k, properties):
566 mod = {
'--procModifiers':
'weightedVertexing,vertexInBlocks',
'--datatier':
'GEN-SIM-RECO,DQMIO',
567 '--eventcontent':
'RECOSIM,DQM'}
568 stepDict[stepName][k] =
merge([mod,self.
step3, stepDict[step][k]])
569 if 'HARVEST' in step:
570 stepDict[stepName][k] =
merge([self.
step4,stepDict[step][k]])
572 def condition(self, fragment, stepList, key, hasHarvest):
575 (
'2021' in key
and fragment ==
"TTbar_14TeV" and 'FS' not in key),
576 (
'2024' in key
and fragment ==
"TTbar_14TeV"),
577 (
'2026' in key
and fragment ==
"TTbar_14TeV")
579 result =
any(selected)
and hasHarvest
585 suffix =
'_weightedVertex',
589 upgradeWFs[
'weightedVertex'].step3 = {}
590 upgradeWFs[
'weightedVertex'].step4 = {}
593 suffix =
'_weightedVertexTrackingOnly',
597 upgradeWFs[
'weightedVertexTrackingOnly'].step3 = {
598 '-s':
'RAW2DIGI,RECO:reconstruction_trackingOnly,VALIDATION:@trackingOnlyValidation,DQM:@trackingOnlyDQM',
599 '--datatier':
'GEN-SIM-RECO,DQMIO',
600 '--eventcontent':
'RECOSIM,DQM',
603 upgradeWFs[
'weightedVertexTrackingOnly'].step4 = {
604 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 609 def setup_(self, step, stepName, stepDict, k, properties):
610 if 'RecoGlobal' in step:
611 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
612 if 'HARVESTGlobal' in step:
613 stepDict[stepName][k] =
merge([self.
step4, stepDict[step][k]])
614 def condition(self, fragment, stepList, key, hasHarvest):
615 return (fragment==
"TTbar_14TeV" or 'CloseByPGun_CE' in fragment)
and '2026' in key
625 suffix =
'_ticl_clue3D',
628 upgradeWFs[
'ticl_clue3D'].step3 = {
'--procModifiers':
'clue3D'}
629 upgradeWFs[
'ticl_clue3D'].step4 = {
'--procModifiers':
'clue3D'}
632 def setup_(self, step, stepName, stepDict, k, properties):
633 if 'RecoGlobal' in step:
634 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
635 if 'HARVESTGlobal' in step:
636 stepDict[stepName][k] =
merge([self.
step4, stepDict[step][k]])
637 def condition(self, fragment, stepList, key, hasHarvest):
638 return (fragment==
"TTbar_14TeV" or 'CloseByPGun_CE' in fragment)
and '2026' in key
648 suffix =
'_ticl_FastJet',
651 upgradeWFs[
'ticl_FastJet'].step3 = {
'--procModifiers':
'fastJetTICL'}
652 upgradeWFs[
'ticl_FastJet'].step4 = {
'--procModifiers':
'fastJetTICL'}
655 def setup_(self, step, stepName, stepDict, k, properties):
656 if 'RecoGlobal' in step:
657 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
658 if 'HARVESTGlobal' in step:
659 stepDict[stepName][k] =
merge([self.
step4, stepDict[step][k]])
660 def condition(self, fragment, stepList, key, hasHarvest):
661 return (fragment==
"TTbar_14TeV" or 'CloseByP' in fragment
or 'Eta1p7_2p7' in fragment)
and '2026' in key
674 upgradeWFs[
'ticl_v3'].step3 = {
'--procModifiers':
'ticl_v3'}
675 upgradeWFs[
'ticl_v3'].step4 = {
'--procModifiers':
'ticl_v3'}
680 def setup_(self, step, stepName, stepDict, k, properties):
681 stepDict[stepName][k] =
merge([{
'--procModifiers':
'trackdnn'}, stepDict[step][k]])
683 def condition(self, fragment, stepList, key, hasHarvest):
684 return fragment==
"TTbar_14TeV" and '2021' in key
698 suffix =
'_trackdnn',
705 def setup_(self, step, stepName, stepDict, k, properties):
707 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
708 def condition(self, fragment, stepList, key, hasHarvest):
709 return (fragment==
"TTbar_14TeV" or fragment==
"QCD_FlatPt_15_3000HS_14")
and '2021PU' in key
727 upgradeWFs[
'mlpf'].step3 = {
728 '--datatier':
'GEN-SIM-RECO,RECOSIM,MINIAODSIM,NANOAODSIM,DQMIO',
729 '--eventcontent':
'FEVTDEBUGHLT,RECOSIM,MINIAODSIM,NANOEDMAODSIM,DQM',
730 '--procModifiers':
'mlpf' 736 def setup_(self, step, stepName, stepDict, k, properties):
738 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
739 def condition(self, fragment, stepList, key, hasHarvest):
740 return (fragment==
"ZEE_14" or fragment==
"TTbar_14TeV" or fragment==
"WprimeTolNu_M3000_13TeV_pythia8" 741 or fragment==
"DisplacedSUSY_stopToBottom_M_300_1000mm_13" or fragment==
"RunEGamma2018D" )
756 suffix =
'_ecalDeepSC',
759 upgradeWFs[
'ecalDeepSC'].step3 = {
760 '--datatier':
'RECOSIM,MINIAODSIM,NANOAODSIM,DQMIO',
761 '--eventcontent':
'RECOSIM,MINIAODSIM,NANOEDMAODSIM,DQM',
762 '--procModifiers':
'ecal_deepsc' 768 def setup_(self, step, stepName, stepDict, k, properties):
770 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
771 def condition(self, fragment, stepList, key, hasHarvest):
772 return '2018' in key
and "SingleGamma" in fragment
783 suffix =
'_photonDRN',
786 upgradeWFs[
'photonDRN'].step3 = {
787 '--procModifiers':
'enableSonicTriton,photonDRN' 796 def __init__(self, digi = {}, reco = {}, mini = {}, harvest = {}, **kwargs):
798 super(PatatrackWorkflow, self).
__init__(
811 'HARVESTNanoFakeHLT',
829 'HARVESTNanoFakeHLT',
840 '--datatier':
'GEN-SIM-RECO,DQMIO',
841 '--eventcontent':
'RECOSIM,DQM' 846 def condition(self, fragment, stepList, key, hasHarvest):
848 years = [
'2021',
'2023',
'2024',
'2026']
849 fragments = [
"TTbar_14",
"ZMM_14",
"ZEE_14",
"ZTT_14",
"NuGun",
"SingleMu",
"QCD_Pt15To7000_Flat"]
851 (
any(y
in key
for y
in years)
and (
'FS' not in key)
and any( f
in fragment
for f
in fragments)),
852 ((
'HI' in key)
and (
'Hydjet' in fragment)
and (
"PixelOnly" in self.
suffix) )
854 result =
any(selected)
and hasHarvest
858 def setup_(self, step, stepName, stepDict, k, properties):
860 if 'ALCA' in step
or 'Nano'==step:
861 stepDict[stepName][k] =
None 864 stepDict[stepName][k] =
None 866 stepDict[stepName][k] =
merge([self.
__digi, stepDict[step][k]])
869 stepDict[stepName][k] =
None 871 stepDict[stepName][k] =
merge([self.
__reco, stepDict[step][k]])
872 if 'Phase2' in stepDict[stepName][k][
'--era']:
873 if 'DQM:@standardDQM+@ExtraHLT' in stepDict[stepName][k][
'-s']:
874 stepDict[stepName][k][
'-s'] = stepDict[stepName][k][
'-s'].
replace(
'DQM:@standardDQM+@ExtraHLT',
'DQM:@phase2')
875 if 'VALIDATION:@standardValidation' in stepDict[stepName][k][
'-s']:
876 stepDict[stepName][k][
'-s'] = stepDict[stepName][k][
'-s'].
replace(
'VALIDATION:@standardValidation',
'VALIDATION:@phase2Validation')
879 elif 'MiniAOD' in step:
881 stepDict[stepName][k] =
None 883 stepDict[stepName][k] =
merge([self.
__mini, stepDict[step][k]])
884 elif 'HARVEST' in step:
886 stepDict[stepName][k] =
None 888 stepDict[stepName][k] =
merge([self.
__harvest, stepDict[step][k]])
900 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
901 '--procModifiers':
'pixelNtupletFit' 904 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 906 suffix =
'Patatrack_PixelOnlyCPU',
917 '--procModifiers':
'gpu' 920 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
921 '--procModifiers':
'pixelNtupletFit,gpu' 924 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 926 suffix =
'Patatrack_PixelOnlyGPU',
937 '--accelerators':
'gpu-nvidia',
938 '--procModifiers':
'gpu' 941 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
942 '--accelerators':
'gpu-nvidia',
943 '--procModifiers':
'pixelNtupletFit,gpuValidation' 946 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM',
947 '--procModifiers':
'gpuValidation' 949 suffix =
'Patatrack_PixelOnlyGPU_Validation',
959 '--procModifiers':
'gpu' 962 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly',
963 '--procModifiers':
'pixelNtupletFit,gpu',
964 '--customise' :
'RecoTracker/Configuration/customizePixelOnlyForProfiling.customizePixelOnlyForProfilingGPUOnly' 967 suffix =
'Patatrack_PixelOnlyGPU_Profiling',
980 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
981 '--procModifiers':
'pixelNtupletFit',
982 '--customise' :
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 985 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 987 suffix =
'Patatrack_PixelOnlyTripletsCPU',
998 '--procModifiers':
'gpu' 1001 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
1002 '--procModifiers':
'pixelNtupletFit,gpu',
1003 '--customise':
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1006 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 1008 suffix =
'Patatrack_PixelOnlyTripletsGPU',
1019 '--accelerators':
'gpu-nvidia',
1020 '--procModifiers':
'gpu' 1023 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
1024 '--accelerators':
'gpu-nvidia',
1025 '--procModifiers':
'pixelNtupletFit,gpuValidation',
1026 '--customise':
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1029 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM',
1030 '--procModifiers':
'gpuValidation',
1032 suffix =
'Patatrack_PixelOnlyTripletsGPU_Validation',
1042 '--procModifiers':
'gpu' 1045 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly',
1046 '--procModifiers':
'pixelNtupletFit,gpu',
1047 '--customise':
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets,RecoTracker/Configuration/customizePixelOnlyForProfiling.customizePixelOnlyForProfilingGPUOnly' 1050 suffix =
'Patatrack_PixelOnlyTripletsGPU_Profiling',
1061 '--procModifiers':
'alpaka',
1064 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
1065 '--procModifiers':
'alpaka' 1068 '-s':
'HARVESTING:@ecalOnlyValidation+@ecal' 1070 suffix =
'Patatrack_ECALOnlyAlpaka',
1083 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
1086 '-s':
'HARVESTING:@ecalOnlyValidation+@ecal' 1088 suffix =
'Patatrack_ECALOnlyCPU',
1099 '--procModifiers':
'gpu' 1102 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
1103 '--procModifiers':
'gpu' 1106 '-s':
'HARVESTING:@ecalOnlyValidation+@ecal' 1108 suffix =
'Patatrack_ECALOnlyGPU',
1119 '--accelerators':
'gpu-nvidia',
1120 '--procModifiers':
'gpu' 1123 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
1124 '--accelerators':
'gpu-nvidia',
1125 '--procModifiers':
'gpuValidation' 1128 '-s':
'HARVESTING:@ecalOnlyValidation+@ecal' 1130 suffix =
'Patatrack_ECALOnlyGPU_Validation',
1140 '--procModifiers':
'gpu' 1143 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly',
1144 '--procModifiers':
'gpu',
1145 '--customise' :
'RecoLocalCalo/Configuration/customizeEcalOnlyForProfiling.customizeEcalOnlyForProfilingGPUOnly' 1148 suffix =
'Patatrack_ECALOnlyGPU_Profiling',
1161 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation,DQM:@hcalOnly+@hcal2Only',
1164 '-s':
'HARVESTING:@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1166 suffix =
'Patatrack_HCALOnlyCPU',
1177 '--procModifiers':
'gpu' 1180 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation,DQM:@hcalOnly+@hcal2Only',
1181 '--procModifiers':
'gpu' 1184 '-s':
'HARVESTING:@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1186 suffix =
'Patatrack_HCALOnlyGPU',
1197 '--accelerators':
'gpu-nvidia',
1198 '--procModifiers':
'gpu' 1201 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation,DQM:@hcalOnly+@hcal2Only',
1202 '--accelerators':
'gpu-nvidia',
1203 '--procModifiers':
'gpuValidation' 1206 '-s':
'HARVESTING:@hcalOnlyValidation+@hcal' 1208 suffix =
'Patatrack_HCALOnlyGPU_Validation',
1218 '--procModifiers':
'gpu' 1221 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly',
1222 '--procModifiers':
'gpu',
1223 '--customise' :
'RecoLocalCalo/Configuration/customizeHcalOnlyForProfiling.customizeHcalOnlyForProfilingGPUOnly' 1226 suffix =
'Patatrack_HCALOnlyGPU_Profiling',
1235 '--procModifiers':
'alpaka',
1238 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation,DQM:@hcalOnly+@hcal2Only',
1239 '--procModifiers':
'alpaka' 1242 '-s':
'HARVESTING:@hcalOnlyValidation' 1244 suffix =
'Patatrack_HCALOnlyAlpaka_Validation',
1253 '--procModifiers':
'alpaka',
1256 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnlyLegacy+reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation+pfClusterHBHEOnlyAlpakaComparisonSequence,DQM:@hcalOnly+@hcal2Only',
1257 '--procModifiers':
'alpaka' 1260 '-s':
'HARVESTING:@hcalOnlyValidation' 1262 suffix =
'Patatrack_HCALOnlyGPUandAlpaka_Validation',
1271 '--procModifiers':
'alpaka',
1274 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly',
1275 '--procModifiers':
'alpaka' 1278 suffix =
'Patatrack_HCALOnlyAlpaka_Profiling',
1288 '--procModifiers':
'alpaka',
1292 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1293 '--procModifiers':
'alpaka,pixelNtupletFit' 1298 suffix =
'Patatrack_FullRecoAlpaka',
1311 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1312 '--procModifiers':
'pixelNtupletFit' 1315 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1317 suffix =
'Patatrack_AllCPU',
1328 '--procModifiers':
'gpu' 1331 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1332 '--procModifiers':
'pixelNtupletFit,gpu' 1335 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1337 suffix =
'Patatrack_AllGPU',
1348 '--accelerators':
'gpu-nvidia',
1349 '--procModifiers':
'gpu' 1352 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1353 '--accelerators':
'gpu-nvidia',
1354 '--procModifiers':
'pixelNtupletFit,gpuValidation' 1357 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only',
1358 '--procModifiers':
'gpuValidation' 1360 suffix =
'Patatrack_AllGPU_Validation',
1378 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1379 '--procModifiers':
'pixelNtupletFit' 1382 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1384 suffix =
'Patatrack_AllTripletsCPU',
1395 '--procModifiers':
'gpu' 1398 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1399 '--procModifiers':
'pixelNtupletFit,gpu' 1402 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1404 suffix =
'Patatrack_AllTripletsGPU',
1415 '--accelerators':
'gpu-nvidia',
1416 '--procModifiers':
'gpu' 1419 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1420 '--accelerators':
'gpu-nvidia',
1421 '--procModifiers':
'pixelNtupletFit,gpuValidation' 1424 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only',
1425 '--procModifiers':
'gpuValidation' 1427 suffix =
'Patatrack_AllTripletsGPU_Validation',
1446 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1447 '--procModifiers':
'pixelNtupletFit' 1452 suffix =
'Patatrack_FullRecoCPU',
1463 '--procModifiers':
'gpu' 1467 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1468 '--procModifiers':
'pixelNtupletFit,gpu' 1473 suffix =
'Patatrack_FullRecoGPU',
1484 '--accelerators':
'gpu-nvidia',
1485 '--procModifiers':
'gpu' 1489 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1490 '--accelerators':
'gpu-nvidia',
1491 '--procModifiers':
'pixelNtupletFit,gpuValidation' 1496 suffix =
'Patatrack_FullRecoGPU_Validation',
1510 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1511 '--procModifiers':
'pixelNtupletFit',
1512 '--customise' :
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1517 suffix =
'Patatrack_FullRecoTripletsCPU',
1524 '--datatier':
'GEN-SIM-RAW',
1525 '--eventcontent':
'RAWSIM',
1529 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM',
1530 '--procModifiers':
'pixelNtupletFit',
1531 '--customise' :
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets',
1532 '--datatier':
'AODSIM',
1533 '--eventcontent':
'AODSIM',
1536 suffix =
'Patatrack_FullRecoTripletsCPUProdLike',
1547 '--procModifiers':
'gpu' 1551 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1552 '--procModifiers':
'pixelNtupletFit,gpu',
1553 '--customise':
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1558 suffix =
'Patatrack_FullRecoTripletsGPU',
1565 '--procModifiers':
'gpu',
1566 '--datatier':
'GEN-SIM-RAW',
1567 '--eventcontent':
'RAWSIM',
1571 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM',
1572 '--procModifiers':
'pixelNtupletFit,gpu',
1573 '--customise':
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets',
1574 '--datatier':
'AODSIM',
1575 '--eventcontent':
'AODSIM',
1578 suffix =
'Patatrack_FullRecoTripletsGPUProdLike',
1589 '--accelerators':
'gpu-nvidia',
1590 '--procModifiers':
'gpu' 1594 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1595 '--accelerators':
'gpu-nvidia',
1596 '--procModifiers':
'pixelNtupletFit,gpuValidation',
1597 '--customise' :
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1602 suffix =
'Patatrack_FullRecoTripletsGPU_Validation',
1611 '--procModifiers':
'alpaka',
1614 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
1615 '--procModifiers':
'alpaka' 1618 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 1620 suffix =
'Patatrack_PixelOnlyAlpaka',
1626 '--procModifiers':
'alpaka',
1629 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
1630 '--procModifiers':
'alpakaValidation' 1633 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 1635 suffix =
'Patatrack_PixelOnlyAlpaka_Validation',
1641 '--procModifiers':
'alpaka',
1644 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly',
1645 '--procModifiers':
'alpaka',
1646 '--customise' :
'RecoTracker/Configuration/customizePixelOnlyForProfiling.customizePixelOnlyForProfilingGPUOnly' 1649 suffix =
'Patatrack_PixelOnlyAlpaka_Profiling',
1656 def setup_(self, step, stepName, stepDict, k, properties):
1657 if 'GenSimHLBeamSpot14' in step:
1658 stepDict[stepName][k] =
merge([{
'--eventcontent':
'RAWSIM',
'--datatier':
'GEN-SIM'},stepDict[step][k]])
1659 elif 'Digi' in step
and 'Trigger' not in step:
1660 stepDict[stepName][k] =
merge([{
'-s':
'DIGI,L1,DIGI2RAW,HLT:@relval2022',
'--datatier':
'GEN-SIM-RAW',
'--eventcontent':
'RAWSIM'}, stepDict[step][k]])
1661 elif 'DigiTrigger' in step:
1662 stepDict[stepName][k] =
merge([{
'-s':
'DIGI,L1TrackTrigger,L1,DIGI2RAW,HLT:@fake2',
'--datatier':
'GEN-SIM-RAW',
'--eventcontent':
'RAWSIM'}, stepDict[step][k]])
1663 elif 'Reco' in step:
1664 stepDict[stepName][k] =
merge([{
'-s':
'RAW2DIGI,L1Reco,RECO,RECOSIM',
'--datatier':
'AODSIM',
'--eventcontent':
'AODSIM'}, stepDict[step][k]])
1665 elif 'MiniAOD' in step:
1667 stepDict[stepName][k] = deepcopy(stepDict[step][k])
1668 elif 'ALCA' in step
or 'HARVEST' in step:
1670 stepDict[stepName][k] =
None 1672 stepDict[stepName][k] =
merge([{
'--filein':
'file:step4.root',
'-s':
'NANO',
'--datatier':
'NANOAODSIM',
'--eventcontent':
'NANOEDMAODSIM'}, stepDict[step][k]])
1674 return fragment==
"TTbar_14TeV" and (
'2026' in key
or '2021' in key
or '2023' in key)
1677 'GenSimHLBeamSpot14',
1689 'HARVESTNanoFakeHLT',
1696 'GenSimHLBeamSpot14',
1708 'HARVESTNanoFakeHLT',
1714 suffix =
'_ProdLike',
1719 def __init__(self, suffix, offset, fixedPU,
1722 'GenSimHLBeamSpot14',
1734 'HARVESTNanoFakeHLT',
1740 super(UpgradeWorkflow_ProdLikeRunningPU, self).
__init__(steps, PU, suffix, offset)
1742 def setupPU_(self, step, stepName, stepDict, k, properties):
1744 if stepDict[stepName][k]
is not None and '--pileup' in stepDict[stepName][k]:
1745 stepDict[stepName][k][
'--pileup'] =
'AVE_' +
str(self.
__fixedPU) +
'_BX_25ns' 1748 return (fragment==
"TTbar_14TeV")
and ((
'2026' in key)
or (
'2021' in key
and self.
__fixedPU<=100))
1755 suffix =
'_ProdLikePU10',
1761 suffix =
'_ProdLikePU20',
1767 suffix =
'_ProdLikePU30',
1773 suffix =
'_ProdLikePU40',
1779 suffix =
'_ProdLikePU50',
1785 suffix =
'_ProdLikePU55',
1791 suffix =
'_ProdLikePU60',
1797 suffix =
'_ProdLikePU65',
1803 suffix =
'_ProdLikePU70',
1809 suffix =
'_ProdLikePU80',
1815 suffix =
'_ProdLikePU90',
1821 suffix =
'_ProdLikePU100',
1827 suffix =
'_ProdLikePU120',
1833 suffix =
'_ProdLikePU140',
1839 suffix =
'_ProdLikePU160',
1845 suffix =
'_ProdLikePU180',
1851 def setup_(self, step, stepName, stepDict, k, properties):
1852 if 'HARVEST' in step:
1853 stepDict[stepName][k] =
merge([{
'--filein':
'file:step3_inDQM.root'}, stepDict[step][k]])
1855 stepDict[stepName][k] =
merge([stepDict[step][k]])
1857 return fragment==
"TTbar_14TeV" and '2026' in key
1860 'GenSimHLBeamSpot14',
1867 'GenSimHLBeamSpot14',
1873 suffix =
'_HLT75e33',
1878 def setup_(self, step, stepName, stepDict, k, properties):
1879 if 'DigiTrigger' in step:
1880 stepDict[stepName][k] =
merge([{
'-s':
'DIGI:pdigi_valid,L1TrackTrigger,L1,DIGI2RAW,HLT:@relval2026'}, stepDict[step][k]])
1882 return fragment==
"TTbar_14TeV" and '2026' in key
1890 suffix =
'_HLTwDIGI75e33',
1895 def setup_(self, step, stepName, stepDict, k, properties):
1897 stepDict[stepName][k] =
merge([{
'-s':
'DIGI:pdigi_valid,L1,L1TrackTrigger,L1P2GT,DIGI2RAW,HLT:@relval2026'}, stepDict[step][k]])
1899 return '2026' in key
1908 suffix =
'_L1Complete',
1913 def setup_(self, step, stepName, stepDict, k, properties):
1914 if 'GenSim' in step:
1915 custNew =
"SimG4Core/Application/NeutronBGforMuonsXS_cff.customise" 1917 custNew =
"SLHCUpgradeSimulations/Configuration/customise_mixing.customise_Mix_LongLived_Neutrons" 1918 stepDict[stepName][k] = deepcopy(stepDict[step][k])
1919 if '--customise' in stepDict[stepName][k].
keys():
1920 stepDict[stepName][k][
'--customise'] +=
","+custNew
1922 stepDict[stepName][k][
'--customise'] = custNew
1929 'GenSimHLBeamSpot14',
1937 suffix =
'_Neutron',
1941 upgradeWFs[
'Neutron'].neutronKeys = [x
for x
in upgradeKeys[2026]
if 'PU' not in x]
1942 upgradeWFs[
'Neutron'].neutronFrags = [
'ZMM_14',
'MinBias_14TeV']
1945 def setup_(self, step, stepName, stepDict, k, properties):
1946 stepDict[stepName][k] =
merge([{
'--procModifiers':
'run2_HECollapse_2018'}, stepDict[step][k]])
1948 return fragment==
"TTbar_13" and '2018' in key
1966 suffix =
'_heCollapse',
1972 def __init__(self, digi = {}, reco = {}, harvest = {}, **kwargs):
1974 super(UpgradeWorkflow_ecalDevel, self).
__init__(
1992 def setup_(self, step, stepName, stepDict, k, properties):
1994 mods = {
'--era': stepDict[step][k][
'--era']+
',phase2_ecal_devel'}
1996 mods[
'-s'] =
'DIGI:pdigi_valid,DIGI2RAW' 1998 elif 'Reco' in step:
1999 mods[
'-s'] =
'RAW2DIGI,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly' 2000 mods[
'--datatier'] =
'GEN-SIM-RECO,DQMIO' 2001 mods[
'--eventcontent'] =
'FEVTDEBUGHLT,DQM' 2003 elif 'HARVEST' in step:
2004 mods[
'-s'] =
'HARVESTING:@ecalOnlyValidation+@ecal' 2006 stepDict[stepName][k] =
merge([mods, stepDict[step][k]])
2009 stepDict[stepName][k] =
None 2012 return fragment==
"TTbar_14TeV" and '2026' in key
2016 suffix =
'_ecalDevel',
2022 reco = {
'--procModifiers':
'gpu'},
2023 suffix =
'_ecalDevelGPU',
2029 def __init__(self, suffix, offset, ecalTPPh2, ecalMod,
2033 'GenSimHLBeamSpot14',
2034 'GenSimHLBeamSpotHGCALCloseBy',
2044 'GenSimHLBeamSpot14',
2045 'GenSimHLBeamSpotHGCALCloseBy',
2052 super(UpgradeWorkflow_ECalComponent, self).
__init__(steps, PU, suffix, offset)
2056 def setup_(self, step, stepName, stepDict, k, properties):
2057 stepDict[stepName][k] = deepcopy(stepDict[step][k])
2060 stepDict[stepName][k] =
merge([{
'--procModifiers':self.
__ecalMod},stepDict[step][k]])
2063 stepDict[stepName][k] =
merge([{
'--procModifiers':self.
__ecalMod},stepDict[step][k]])
2065 mods = {
'--era': stepDict[step][k][
'--era']+
',phase2_ecal_devel,phase2_ecalTP_devel'}
2066 mods[
'-s'] =
'DIGI:pdigi_valid,DIGI2RAW,HLT:@fake2' 2067 stepDict[stepName][k] =
merge([mods, stepDict[step][k]])
2068 if 'RecoGlobal' in step:
2069 stepDict[stepName][k] =
merge([{
'-s':
'RAW2DIGI,RECO,RECOSIM,PAT',
2070 '--datatier':
'GEN-SIM-RECO',
2071 '--eventcontent':
'FEVTDEBUGHLT',
2072 }, stepDict[step][k]])
2073 if 'HARVESTGlobal' in step:
2074 stepDict[stepName][k] =
None 2075 if 'ALCAPhase2' in step:
2076 stepDict[stepName][k] =
None 2079 return (
'2021' in key
or '2023' in key
or '2026' in key)
2082 suffix =
'_ecalComponent',
2085 ecalMod =
'ecal_component',
2089 suffix =
'_ecalComponentFSW',
2092 ecalMod =
'ecal_component_finely_sampled_waveforms',
2096 suffix =
'_ecalTPPh2',
2098 ecalTPPh2 =
'phase2_ecal_devel,phase2_ecalTP_devel',
2103 suffix =
'_ecalTPPh2Component',
2105 ecalTPPh2 =
'phase2_ecal_devel,phase2_ecalTP_devel',
2106 ecalMod =
'ecal_component',
2110 suffix =
'_ecalTPPh2ComponentFSW',
2112 ecalTPPh2 =
'phase2_ecal_devel,phase2_ecalTP_devel',
2113 ecalMod =
'ecal_component_finely_sampled_waveforms',
2117 def setup_(self, step, stepName, stepDict, k, properties):
2118 myGT=stepDict[step][k][
'--conditions']
2120 stepDict[stepName][k] =
merge([{
'-n':
'1',
'--magField':
'0T',
'--conditions':myGT}, stepDict[step][k]])
2121 def setupPU_(self, step, stepName, stepDict, k, properties):
2123 stepDict[stepName][k] =
merge([{
'-n':
'1'}, stepDict[step][k]])
2125 return (fragment==
"TTbar_13" or fragment==
"TTbar_14TeV")
and (
'2017' in key
or '2018' in key
or '2021' in key)
and (
'FS' not in key)
2137 'HARVESTNanoFakeHLT',
2149 'HARVESTNanoFakeHLT',
2156 def setup_(self, step, stepName, stepDict, k, properties):
2157 if 'Reco' in step
and 'Run2_2018' in stepDict[step][k][
'--era']:
2158 stepDict[stepName][k] =
merge([{
'--era':
'Run2_2018,bParking'}, stepDict[step][k]])
2160 return fragment==
"TTbar_13" and '2018' in key
2167 suffix =
'_ParkingBPH',
2173 def setup_(self, step, stepName, stepDict, k, properties):
2175 thisStep = stepDict[step][k][
"-s"]
2177 if "DQM:" in thisStep:
2178 stepDict[stepName][k] =
merge([{
'-s': thisStep.replace(
"DQM:",
"DQM:@heavyFlavor+")}, stepDict[step][k]])
2179 elif "DQM" in thisStep:
2180 stepDict[stepName][k] =
merge([{
'-s': thisStep.replace(
"DQM",
"DQM:@heavyFlavor")}, stepDict[step][k]])
2182 stepDict[stepName][k] =
merge([{
'-s': thisStep +
",DQM:@heavyFlavor"}, stepDict[step][k]])
2185 return any(frag
in fragment
for frag
in self.
__frags)
2195 suffix =
'_HeavyFlavor',
2201 def setup_(self, step, stepName, stepDict, k, properties):
2203 stepDict[stepName][k] =
merge([{
'--customise':
'PhysicsTools/NanoAOD/custom_jme_cff.PrepJMECustomNanoAOD'}, stepDict[step][k]])
2205 return (fragment==
"TTbar_13" or fragment==
"TTbar_14TeV")
and (
'2017' in key
or '2018' in key
or '2021' in key)
and (
'FS' not in key)
2213 suffix =
'_JMENano',
2220 def setup_(self, step, stepName, stepDict, k, properties):
2221 if 'Digi' in step
or 'Reco' in step:
2222 stepDict[stepName][k] =
merge([{
'--customise':
'SLHCUpgradeSimulations/Configuration/aging.customise_aging_'+self.
lumi}, stepDict[step][k]])
2224 return '2026' in key
2243 suffix =
'Aging1000',
2246 upgradeWFs[
'Aging1000'].lumi =
'1000' 2247 upgradeWFs[
'Aging3000'] = deepcopy(upgradeWFs[
'Aging1000'])
2248 upgradeWFs[
'Aging3000'].suffix =
'Aging3000' 2249 upgradeWFs[
'Aging3000'].offset = 0.103
2250 upgradeWFs[
'Aging3000'].lumi =
'3000' 2257 def setup_(self, step, stepName, stepDict, k, properties):
2259 stepDict[stepName][k] =
merge([{
'--customise':
'SimTracker/SiPhase2Digitizer/customizeForOTInefficiency.customizeSiPhase2OTInefficiency'+self.
percent+
'Percent'}, stepDict[step][k]])
2261 return fragment==
"TTbar_14TeV" and '2026' in key
2272 suffix =
'_OTInefficiency',
2275 upgradeWFs[
'OTInefficiency'].percent =
'Zero' 2278 upgradeWFs[
'OTInefficiency1PC'] = deepcopy(upgradeWFs[
'OTInefficiency'])
2279 upgradeWFs[
'OTInefficiency1PC'].suffix =
'_OTInefficiency1PC' 2280 upgradeWFs[
'OTInefficiency1PC'].offset = 0.112
2281 upgradeWFs[
'OTInefficiency1PC'].percent =
'One' 2284 upgradeWFs[
'OTInefficiency5PC'] = deepcopy(upgradeWFs[
'OTInefficiency'])
2285 upgradeWFs[
'OTInefficiency5PC'].suffix =
'_OTInefficiency5PC' 2286 upgradeWFs[
'OTInefficiency5PC'].offset = 0.113
2287 upgradeWFs[
'OTInefficiency5PC'].percent =
'Five' 2290 upgradeWFs[
'OTInefficiency10PC'] = deepcopy(upgradeWFs[
'OTInefficiency'])
2291 upgradeWFs[
'OTInefficiency10PC'].suffix =
'_OTInefficiency10PC' 2292 upgradeWFs[
'OTInefficiency10PC'].offset = 0.114
2293 upgradeWFs[
'OTInefficiency10PC'].percent =
'Ten' 2299 def setup_(self, step, stepName, stepDict, k, properties):
2301 stepDict[stepName][k] =
merge([{
'--customise':
'SimTracker/SiPhase2Digitizer/customizeForPhase2TrackerSignalShape.customizeSiPhase2ITSignalShape'}, stepDict[step][k]])
2303 return '2026' in key
2314 suffix =
'_ITSignalShape',
2324 digiPremixLocalPileup = {
2325 "--filein":
"file:step1.root",
2326 "--pileup_input":
"file:step2.root" 2331 def setup_(self, step, stepName, stepDict, k, properties):
2333 stepDict[stepName][k] =
merge([stepDict[step][k]])
2334 def setupPU_(self, step, stepName, stepDict, k, properties):
2336 if "GenSim" in stepName:
2337 stepNamePmx = stepName.replace(
'GenSim',
'Premix')
2338 if not stepNamePmx
in stepDict: stepDict[stepNamePmx] = {}
2339 stepDict[stepNamePmx][k] =
merge([
2341 '-s':
'GEN,SIM,DIGI:pdigi_valid',
2342 '--datatier':
'PREMIX',
2343 '--eventcontent':
'PREMIX',
2344 '--procModifiers':
'premix_stage1' 2346 stepDict[stepName][k]
2348 if "ProdLike" in self.
suffix:
2349 stepDict[stepNamePmx][k] =
merge([{
'-s':
'GEN,SIM,DIGI'},stepDict[stepNamePmx][k]])
2351 elif "Digi" in step
or "Reco" in step:
2354 if d
is None:
return 2357 for s
in d[
"-s"].
split(
","):
2358 if s ==
"DIGI" or "DIGI:" in s:
2359 tmpsteps.extend([s,
"DATAMIX"])
2363 "--datamix" :
"PreMix",
2364 "--procModifiers":
"premix_stage2"},
2367 if "_PMXS1S2" in self.
suffix:
2368 d =
merge([digiPremixLocalPileup, d])
2369 elif "Reco" in step:
2370 if "--procModifiers" in d:
2371 d[
"--procModifiers"] +=
",premix_stage2" 2373 d[
"--procModifiers"] =
"premix_stage2" 2374 stepDict[stepName][k] = d
2380 filein = d[
"--filein"]
2381 m = re.search(
"step(?P<ind>\d+)_", filein)
2383 d[
"--filein"] = filein.replace(m.group(),
"step%d_"%(
int(m.group(
"ind"))+1))
2384 stepDict[stepName][k] = d
2390 if not any(y
in key
for y
in [
'2021',
'2023',
'2024',
'2026']):
2392 if self.
suffix.endswith(
"S1"):
2393 return "NuGun" in fragment
2395 def workflow_(self, workflows, num, fragment, stepList, key):
2396 fragmentTmp = fragment
2397 if self.
suffix.endswith(
"S1"):
2398 fragmentTmp =
'PREMIXUP' + key[2:].
replace(
"PU",
"").
replace(
"Design",
"") +
'_PU25' 2399 super(UpgradeWorkflowPremix,self).
workflow_(workflows, num, fragmentTmp, stepList, key)
2407 'GenSimHLBeamSpot14',
2435 'GenSimHLBeamSpot14',
2446 suffix =
'_PMXS1S2',
2451 def setupPU_(self, step, stepName, stepDict, k, properties):
2453 if '--pileup' in stepDict[stepName][k]:
2454 stepDict[stepName][k][
'--pileup'] =
'AVE_50_BX_25ns_m3p3' 2455 super(UpgradeWorkflowAdjustPU,self).
setupPU_(step, stepName, stepDict, k, properties)
2458 return super(UpgradeWorkflowAdjustPU,self).
condition(fragment, stepList, key, hasHarvest)
and '2026' in key
2464 'GenSimHLBeamSpot14',
2476 suffix =
'_PMXS1S2PR',
2481 def setup_(self, step, stepName, stepDict, k, properties):
2483 UpgradeWorkflowPremix.setup_(self, step, stepName, stepDict, k, properties)
2484 UpgradeWorkflow_ProdLike.setup_(self, step, stepName, stepDict, k, properties)
2489 for s
in d[
"-s"].
split(
","):
2490 if "DIGI:pdigi_valid" in s:
2491 tmpsteps.append(
"DIGI")
2495 "--eventcontent":
"PREMIXRAW"},
2497 stepDict[stepName][k] = d
2499 stepDict[stepName][k] =
merge([{
'--filein':
'file:step5.root',
'-s':
'NANO',
'--datatier':
'NANOAODSIM',
'--eventcontent':
'NANOEDMAODSIM'}, stepDict[step][k]])
2502 return UpgradeWorkflowPremix.condition(self, fragment, stepList, key, hasHarvest)
and UpgradeWorkflow_ProdLike.condition(self, fragment, stepList, key, hasHarvest)
2520 'HARVESTNanoFakeHLT',
2524 suffix =
'_PMXS2ProdLike',
2533 'GenSimHLBeamSpot14',
2547 'HARVESTNanoFakeHLT',
2551 suffix =
'_PMXS1S2ProdLike',
2556 def setup_(self, step, stepName, stepDict, k, properties):
2557 if 'HARVESTFastRun3' in step:
2558 stepDict[stepName][k] =
merge([{
'-s':
'HARVESTING:@trackingOnlyValidation+@trackingOnlyDQM',
2560 '--era':
'Run3_FastSim',
2561 '--filein':
'file:step1_inDQM.root'}, stepDict[step][k]])
2563 stepDict[stepName][k] =
merge([stepDict[step][k]])
2565 return (
'2021FS' in key
or '2023FS' in key)
2576 suffix =
'_Run3FSTrackingOnly',
2581 def setup_(self, step, stepName, stepDict, k, properties):
2583 stepDict[stepName][k] =
merge([{
'-s':
'GEN,SIM,RECOBEFMIX',
2585 '--era':
'Run3_FastSim',
2586 '--eventcontent':
'FASTPU',
2587 '--datatier':
'GEN-SIM-RECO',
2588 '--relval':
'27000,3000'}, stepDict[step][k]])
2590 stepDict[stepName][k] =
None 2592 return (
'2021FS' in key
or '2023FS' in key)
and fragment==
"MinBias_14TeV" 2600 suffix =
'_Run3FSMBMixing',
2606 def setup_(self, step, stepName, stepDict, k, properties):
2607 if 'Run3' in stepDict[step][k][
'--era']
and 'Fast' not in stepDict[step][k][
'--era']:
2608 if '2023' in stepDict[step][k][
'--conditions']:
2609 stepDict[stepName][k] =
merge([{
'--geometry':
'DD4hepExtended2023'}, stepDict[step][k]])
2611 stepDict[stepName][k] =
merge([{
'--geometry':
'DD4hepExtended2021'}, stepDict[step][k]])
2612 elif 'Phase2' in stepDict[step][k][
'--era']:
2614 dd4hepGeom+=stepDict[step][k][
'--geometry']
2615 stepDict[stepName][k] =
merge([{
'--geometry' : dd4hepGeom,
'--procModifiers':
'dd4hep'}, stepDict[step][k]])
2617 return (
'2021' in key
or '2023' in key
or '2026' in key)
and (
'FS' not in key)
2622 'GenSimHLBeamSpot14',
2634 'HARVESTNanoFakeHLT',
2641 upgradeWFs[
'DD4hep'].allowReuse =
False 2646 def setup_(self, step, stepName, stepDict, k, properties):
2647 if 'Run3' in stepDict[step][k][
'--era']
and 'Fast' not in stepDict[step][k][
'--era']:
2648 stepDict[stepName][k] =
merge([{
'--conditions':
'auto:phase1_2022_realistic',
'--geometry':
'DB:Extended'}, stepDict[step][k]])
2650 return '2021' in key
and 'FS' not in key
2655 'GenSimHLBeamSpot14',
2667 'HARVESTNanoFakeHLT',
2671 suffix =
'_DD4hepDB',
2674 upgradeWFs[
'DD4hepDB'].allowReuse =
False 2677 def setup_(self, step, stepName, stepDict, k, properties):
2678 the_era = stepDict[step][k][
'--era']
2679 if 'Run3' in the_era
and '2023' not in the_era
and 'Fast' not in the_era
and "Pb" not in the_era:
2681 tmp_eras = the_era.split(
',')
2682 tmp_eras[tmp_eras.index(
"Run3")] =
'Run3_DDD' 2683 tmp_eras =
','.
join(tmp_eras)
2684 stepDict[stepName][k] =
merge([{
'--conditions':
'auto:phase1_2022_realistic_ddd',
'--geometry':
'DB:Extended',
'--era': tmp_eras}, stepDict[step][k]])
2686 return '2021' in key
and 'FS' not in key
2691 'GenSimHLBeamSpot14',
2703 'HARVESTNanoFakeHLT',
2710 upgradeWFs[
'DDDDB'].allowReuse =
False 2713 def setup_(self, step, stepName, stepDict, k, properties):
2714 stepDict[stepName][k] =
merge([{
'--procModifiers':
'allSonicTriton'}, stepDict[step][k]])
2716 return ((fragment==
'TTbar_13' or fragment==
'TTbar_14TeV')
and '2021' in key) \
2717 or (fragment==
'TTbar_14TeV' and '2026' in key)
2722 'GenSimHLBeamSpot14',
2734 'HARVESTNanoFakeHLT',
2740 'GenSimHLBeamSpot14',
2752 'HARVESTNanoFakeHLT',
2755 suffix =
'_SonicTriton',
2760 offsets = [specialWF.offset
for specialType,specialWF
in upgradeWFs.items()]
2762 dups = set(x
for x
in offsets
if x
in seen
or seen.add(x))
2764 raise ValueError(
"Duplicate special workflow offsets not allowed: "+
','.
join([
str(x)
for x
in dups]))
2766 upgradeProperties = {}
2768 upgradeProperties[2017] = {
2770 'Geom' :
'DB:Extended',
2771 'GT' :
'auto:phase1_2017_realistic',
2772 'HLTmenu':
'@relval2017',
2773 'Era' :
'Run2_2017',
2774 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT',
'ALCA',
'Nano'],
2777 'Geom' :
'DB:Extended',
2778 'GT' :
'auto:phase1_2017_design',
2779 'HLTmenu':
'@relval2017',
2780 'Era' :
'Run2_2017',
2781 'BeamSpot':
'DBdesign',
2782 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT'],
2785 'Geom' :
'DB:Extended',
2786 'GT' :
'auto:phase1_2018_realistic',
2787 'HLTmenu':
'@relval2018',
2788 'Era' :
'Run2_2018',
2789 'BeamSpot':
'DBrealistic',
2790 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT',
'ALCA',
'Nano'],
2793 'Geom' :
'DB:Extended',
2794 'GT' :
'auto:phase1_2018_design',
2795 'HLTmenu':
'@relval2018',
2796 'Era' :
'Run2_2018',
2797 'BeamSpot':
'DBdesign',
2798 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT'],
2801 'Geom' :
'DB:Extended',
2802 'GT' :
'auto:phase1_2022_realistic',
2803 'HLTmenu':
'@relval2022',
2805 'BeamSpot':
'DBrealistic',
2806 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNanoFakeHLT',
'HARVESTNanoFakeHLT',
'ALCA'],
2809 'Geom' :
'DB:Extended',
2810 'GT' :
'auto:phase1_2022_design',
2811 'HLTmenu':
'@relval2022',
2813 'BeamSpot':
'DBdesign',
2814 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNanoFakeHLT',
'HARVESTNanoFakeHLT'],
2817 'Geom' :
'DB:Extended',
2818 'GT' :
'auto:phase1_2023_realistic',
2819 'HLTmenu':
'@relval2023',
2820 'Era' :
'Run3_2023',
2821 'BeamSpot':
'DBrealistic',
2822 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNanoFakeHLT',
'HARVESTNanoFakeHLT',
'ALCA'],
2825 'Geom' :
'DB:Extended',
2826 'GT' :
'auto:phase1_2024_realistic',
2827 'HLTmenu':
'@relval2024',
2829 'BeamSpot':
'DBrealistic',
2830 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2833 'Geom' :
'DB:Extended',
2834 'GT' :
'auto:phase1_2022_realistic',
2835 'HLTmenu':
'@relval2022',
2836 'Era' :
'Run3_FastSim',
2837 'BeamSpot':
'DBrealistic',
2838 'ScenToRun' : [
'Gen',
'FastSimRun3',
'HARVESTFastRun3'],
2841 'Geom' :
'DB:Extended',
2842 'GT' :
'auto:phase1_2022_realistic_postEE',
2843 'HLTmenu':
'@relval2022',
2845 'BeamSpot':
'DBrealistic',
2846 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNanoFakeHLT',
'HARVESTNanoFakeHLT',
'ALCA'],
2849 'Geom' :
'DB:Extended',
2850 'GT' :
'auto:phase1_2023_realistic',
2851 'HLTmenu':
'@relval2023',
2852 'Era' :
'Run3_2023_FastSim',
2853 'BeamSpot':
'DBrealistic',
2854 'ScenToRun' : [
'Gen',
'FastSimRun3',
'HARVESTFastRun3'],
2857 'Geom' :
'DB:Extended',
2858 'GT':
'auto:phase1_2022_realistic_hi',
2859 'HLTmenu':
'@fake2',
2860 'Era':
'Run3_pp_on_PbPb',
2861 'BeamSpot':
'DBrealistic',
2862 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2865 'Geom' :
'DB:Extended',
2866 'GT':
'auto:phase1_2022_realistic_hi',
2867 'HLTmenu':
'@fake2',
2868 'Era':
'Run3_pp_on_PbPb_approxSiStripClusters',
2869 'BeamSpot':
'DBrealistic',
2870 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2873 'Geom' :
'DB:Extended',
2874 'GT':
'auto:phase1_2023_realistic_hi',
2875 'HLTmenu':
'@fake2',
2876 'Era':
'Run3_pp_on_PbPb',
2877 'BeamSpot':
'DBrealistic',
2878 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2881 'Geom' :
'DB:Extended',
2882 'GT':
'auto:phase1_2023_realistic_hi',
2883 'HLTmenu':
'@fake2',
2884 'Era':
'Run3_pp_on_PbPb_approxSiStripClusters',
2885 'BeamSpot':
'DBrealistic',
2886 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2891 for key
in list(upgradeProperties[2017].
keys()):
2892 upgradeProperties[2017][key+
'PU'] = deepcopy(upgradeProperties[2017][key])
2895 scenToRun = upgradeProperties[2017][key+
'PU'][
'ScenToRun']
2896 for idx,val
in enumerate(scenToRun):
2898 scenToRun[idx] +=
'PU'*(val.startswith(
'Digi')
or val.startswith(
'Reco')
or val.startswith(
'HARVEST'))
2900 upgradeProperties[2017][key+
'PU'][
'ScenToRun'] = [foo
for foo
in scenToRun
if foo !=
'ALCA']
2902 upgradeProperties[2017][key+
'PU'][
'ScenToRun'] = [
'Gen',
'FastSimRun3PU',
'HARVESTFastRun3PU']
2904 upgradeProperties[2026] = {
2906 'Geom' :
'Extended2026D86',
2907 'HLTmenu':
'@fake2',
2908 'GT' :
'auto:phase2_realistic_T21',
2909 'Era' :
'Phase2C17I13M9',
2910 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2913 'Geom' :
'Extended2026D88',
2914 'HLTmenu':
'@relval2026',
2915 'GT' :
'auto:phase2_realistic_T21',
2916 'Era' :
'Phase2C17I13M9',
2917 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2920 'Geom' :
'Extended2026D91',
2921 'HLTmenu':
'@fake2',
2922 'GT' :
'auto:phase2_realistic_T30',
2923 'Era' :
'Phase2C17I13M9',
2924 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2927 'Geom' :
'Extended2026D92',
2928 'HLTmenu':
'@fake2',
2929 'GT' :
'auto:phase2_realistic_T21',
2930 'Era' :
'Phase2C17I13M9',
2931 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2934 'Geom' :
'Extended2026D93',
2935 'HLTmenu':
'@fake2',
2936 'GT' :
'auto:phase2_realistic_T21',
2937 'Era' :
'Phase2C17I13M9',
2938 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2941 'Geom' :
'Extended2026D94',
2942 'HLTmenu':
'@fake2',
2943 'GT' :
'auto:phase2_realistic_T21',
2944 'Era' :
'Phase2C20I13M9',
2945 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2948 'Geom' :
'Extended2026D95',
2949 'HLTmenu':
'@relval2026',
2950 'GT' :
'auto:phase2_realistic_T21',
2951 'Era' :
'Phase2C17I13M9',
2952 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2955 'Geom' :
'Extended2026D96',
2956 'HLTmenu':
'@fake2',
2957 'GT' :
'auto:phase2_realistic_T21',
2958 'Era' :
'Phase2C17I13M9',
2959 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2962 'Geom' :
'Extended2026D97',
2963 'HLTmenu':
'@fake2',
2964 'GT' :
'auto:phase2_realistic_T25',
2965 'Era' :
'Phase2C17I13M9',
2966 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2969 'Geom' :
'Extended2026D98',
2970 'HLTmenu':
'@relval2026',
2971 'GT' :
'auto:phase2_realistic_T25',
2972 'Era' :
'Phase2C17I13M9',
2973 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2976 'Geom' :
'Extended2026D99',
2977 'HLTmenu':
'@relval2026',
2978 'GT' :
'auto:phase2_realistic_T25',
2979 'Era' :
'Phase2C17I13M9',
2980 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2983 'Geom' :
'Extended2026D100',
2984 'HLTmenu':
'@relval2026',
2985 'GT' :
'auto:phase2_realistic_T25',
2986 'Era' :
'Phase2C17I13M9',
2987 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2990 'Geom' :
'Extended2026D101',
2991 'HLTmenu':
'@relval2026',
2992 'GT' :
'auto:phase2_realistic_T25',
2993 'Era' :
'Phase2C17I13M9',
2994 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2997 'Geom' :
'Extended2026D102',
2998 'HLTmenu':
'@relval2026',
2999 'GT' :
'auto:phase2_realistic_T33',
3000 'Era' :
'Phase2C17I13M9',
3001 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3004 'Geom' :
'Extended2026D103',
3005 'HLTmenu':
'@relval2026',
3006 'GT' :
'auto:phase2_realistic_T25',
3007 'Era' :
'Phase2C17I13M9',
3008 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3011 'Geom' :
'Extended2026D104',
3012 'HLTmenu':
'@relval2026',
3013 'GT' :
'auto:phase2_realistic_T33',
3014 'Era' :
'Phase2C22I13M9',
3015 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3018 'Geom' :
'Extended2026D105',
3019 'HLTmenu':
'@relval2026',
3020 'GT' :
'auto:phase2_realistic_T33',
3021 'Era' :
'Phase2C17I13M9',
3022 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3025 'Geom' :
'Extended2026D106',
3026 'HLTmenu':
'@relval2026',
3027 'GT' :
'auto:phase2_realistic_T33',
3028 'Era' :
'Phase2C22I13M9',
3029 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3032 'Geom' :
'Extended2026D107',
3033 'HLTmenu':
'@relval2026',
3034 'GT' :
'auto:phase2_realistic_T25',
3035 'Era' :
'Phase2C17I13M9',
3036 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3039 'Geom' :
'Extended2026D108',
3040 'HLTmenu':
'@relval2026',
3041 'GT' :
'auto:phase2_realistic_T33',
3042 'Era' :
'Phase2C17I13M9',
3043 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3046 'Geom' :
'Extended2026D109',
3047 'HLTmenu':
'@relval2026',
3048 'GT' :
'auto:phase2_realistic_T33',
3049 'Era' :
'Phase2C22I13M9',
3050 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3053 'Geom' :
'Extended2026D110',
3054 'HLTmenu':
'@relval2026',
3055 'GT' :
'auto:phase2_realistic_T33',
3056 'Era' :
'Phase2C17I13M9',
3057 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3062 for key
in list(upgradeProperties[2026].
keys()):
3063 upgradeProperties[2026][key+
'PU'] = deepcopy(upgradeProperties[2026][key])
3064 upgradeProperties[2026][key+
'PU'][
'ScenToRun'] = [
'GenSimHLBeamSpot',
'DigiTriggerPU',
'RecoGlobalPU',
'HARVESTGlobalPU']
3067 defaultDataSets = {}
3068 for year
in upgradeKeys:
3069 for key
in upgradeKeys[year]:
3070 if 'PU' in key:
continue 3071 defaultDataSets[key] =
'' 3079 upgradeFragments = OrderedDict([
3081 (
'SingleElectronPt10_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronPt10')),
3082 (
'SingleElectronPt35_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronPt35')),
3083 (
'SingleElectronPt1000_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SingleElectronPt1000')),
3090 (
'FourMuExtendedPt_1_200_pythia8_cfi',
UpgradeFragment(
Kby(10,100),
'FourMuExtendedPt1_200')),
3091 (
'TenMuExtendedE_0_200_pythia8_cfi',
UpgradeFragment(
Kby(10,100),
'TenMuExtendedE_0_200')),
3092 (
'DoubleElectronPt10Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElPt10Extended')),
3093 (
'DoubleElectronPt35Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElPt35Extended')),
3094 (
'DoubleElectronPt1000Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SingleElPt1000Extended')),
3095 (
'DoubleGammaPt10Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleGammaPt10Extended')),
3096 (
'DoubleGammaPt35Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SingleGammaPt35Extended')),
3097 (
'DoubleMuPt1Extended_pythia8_cfi',
UpgradeFragment(
Kby(25,100),
'SingleMuPt1Extended')),
3098 (
'DoubleMuPt10Extended_pythia8_cfi',
UpgradeFragment(
Kby(25,100),
'SingleMuPt10Extended')),
3099 (
'DoubleMuPt100Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleMuPt100Extended')),
3100 (
'DoubleMuPt1000Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleMuPt1000Extended')),
3103 (
'MinBias_13TeV_pythia8_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(90,100),
'MinBias_13')),
3106 (
'QCD_Pt_600_800_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_600_800_13')),
3107 (
'Wjet_Pt_80_120_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'Wjet_Pt_80_120_14TeV')),
3108 (
'Wjet_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Wjet_Pt_3000_3500_14TeV')),
3110 (
'QCD_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_3000_3500_14TeV')),
3111 (
'QCD_Pt_80_120_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'QCD_Pt_80_120_14TeV')),
3112 (
'H200ChargedTaus_Tauola_14TeV_cfi',
UpgradeFragment(
Kby(9,100),
'Higgs200ChargedTaus_14TeV')),
3116 (
'ZTT_Tauola_All_hadronic_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,100),
'ZTT_14TeV')),
3117 (
'H130GGgluonfusion_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'H130GGgluonfusion_14TeV')),
3118 (
'PhotonJet_Pt_10_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'PhotonJets_Pt_10_14TeV')),
3119 (
'QQH1352T_Tauola_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'QQH1352T_Tauola_14TeV')),
3123 (
'QCDForPF_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(50,100),
'QCD_FlatPt_15_3000HS_14')),
3125 (
'DYToTauTau_M-50_14TeV_pythia8_tauola_cff',
UpgradeFragment(
Kby(9,100),
'DYtoTauTau_M_50_14TeV')),
3127 (
'QCD_Pt_80_120_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'QCD_Pt_80_120_13')),
3128 (
'H125GGgluonfusion_13TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'H125GGgluonfusion_13')),
3129 (
'QCD_Pt20toInf_MuEnrichedPt15_14TeV_TuneCP5_cff',
UpgradeFragment(
Kby(19565, 217391),
'QCD_Pt20toInfMuEnrichPt15_14')),
3131 (
'QCD_Pt15To7000_Flat_14TeV_TuneCP5_cff',
UpgradeFragment(
Kby(9,50),
'QCD_Pt15To7000_Flat_14')),
3132 (
'H125GGgluonfusion_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'H125GGgluonfusion_14')),
3133 (
'QCD_Pt_600_800_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_600_800_14')),
3136 (
'H200ChargedTaus_Tauola_13TeV_cfi',
UpgradeFragment(
Kby(9,50),
'Higgs200ChargedTaus_13')),
3137 (
'ADDMonoJet_13TeV_d3MD3_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'ADDMonoJet_d3MD3_13')),
3139 (
'QCD_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_3000_3500_13')),
3146 (
'PhotonJet_Pt_10_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'PhotonJets_Pt_10_13')),
3148 (
'Wjet_Pt_80_120_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Wjet_Pt_80_120_13')),
3149 (
'Wjet_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Wjet_Pt_3000_3500_13')),
3150 (
'SMS-T1tttt_mGl-1500_mLSP-100_13TeV-pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SMS-T1tttt_mGl-1500_mLSP-100_13')),
3151 (
'QCDForPF_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(50,100),
'QCD_FlatPt_15_3000HS_13')),
3152 (
'PYTHIA8_PhiToMuMu_TuneCUETP8M1_13TeV_cff',
UpgradeFragment(
Kby(9,50),
'PhiToMuMu_13')),
3153 (
'RSKKGluon_m3000GeV_13TeV_TuneCUETP8M1_cff',
UpgradeFragment(
Kby(9,50),
'RSKKGluon_m3000GeV_13')),
3157 (
'Upsilon1SToMuMu_forSTEAM_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Upsilon1SToMuMu_13')),
3158 (
'EtaBToJpsiJpsi_forSTEAM_TuneCUEP8M1_13TeV_cfi',
UpgradeFragment(
Kby(9,50),
'EtaBToJpsiJpsi_13')),
3159 (
'JpsiMuMu_Pt-8_forSTEAM_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(3100,100000),
'JpsiMuMu_Pt-8')),
3160 (
'BuMixing_BMuonFilter_forSTEAM_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(900,10000),
'BuMixing_13')),
3161 (
'HSCPstop_M_200_TuneCUETP8M1_13TeV_pythia8_cff',
UpgradeFragment(
Kby(9,50),
'HSCPstop_M_200_13')),
3162 (
'RSGravitonToGammaGamma_kMpl01_M_3000_TuneCUETP8M1_13TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'RSGravitonToGaGa_13')),
3163 (
'WprimeToENu_M-2000_TuneCUETP8M1_13TeV-pythia8_cff',
UpgradeFragment(
Kby(9,50),
'WpToENu_M-2000_13')),
3164 (
'DisplacedSUSY_stopToBottom_M_800_500mm_TuneCP5_13TeV_pythia8_cff',
UpgradeFragment(
Kby(9,50),
'DisplacedSUSY_stopToB_M_800_500mm_13')),
3166 (
'FlatRandomPtAndDxyGunProducer_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuonsDxy_0_500')),
3168 (
'SinglePiPt25Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SinglePiPt25Eta1p7_2p7')),
3169 (
'SingleMuPt15Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SingleMuPt15Eta1p7_2p7')),
3170 (
'SingleGammaPt25Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SingleGammaPt25Eta1p7_2p7')),
3171 (
'SingleElectronPt15Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronPt15Eta1p7_2p7')),
3173 (
'CloseByParticle_Photon_ERZRanges_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByParticleGun')),
3174 (
'CE_E_Front_300um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_E_Front_300um')),
3175 (
'CE_E_Front_200um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_E_Front_200um')),
3176 (
'CE_E_Front_120um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_E_Front_120um')),
3180 (
'CE_H_Coarse_Scint_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_H_Coarse_Scint')),
3181 (
'CE_H_Coarse_300um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_H_Coarse_300um')),
3182 (
'SingleElectronFlatPt2To100_cfi',
UpgradeFragment(
Kby(9,100),
'SingleEFlatPt2To100')),
3185 (
'SingleGammaFlatPt8To150_cfi',
UpgradeFragment(
Kby(9,100),
'SingleGammaFlatPt8To150')),
3188 (
'FlatRandomPtAndDxyGunProducer_MuPt2To10_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt2To10')),
3189 (
'FlatRandomPtAndDxyGunProducer_MuPt10To30_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt10To30')),
3190 (
'FlatRandomPtAndDxyGunProducer_MuPt30To100_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt30To100')),
3191 (
'B0ToKstarMuMu_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(304,3030),
'B0ToKstarMuMu_14TeV')),
3193 (
'BsToJpsiGamma_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(2500,25000),
'BsToJpsiGamma_14TeV')),
3194 (
'BsToJpsiPhi_mumuKK_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(910,9090),
'BsToJpsiPhi_mumuKK_14TeV')),
3196 (
'BsToPhiPhi_KKKK_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(556,5555),
'BsToPhiPhi_KKKK_14TeV')),
3197 (
'TauToMuMuMu_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(18939,189393),
'TauToMuMuMu_14TeV')),
3198 (
'BdToKstarEleEle_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(206,2061),
'BdToKstarEleEle_14TeV')),
3200 (
'BuMixing_BMuonFilter_forSTEAM_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(900,10000),
'BuMixing_14')),
3201 (
'Upsilon1SToMuMu_forSTEAM_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'Upsilon1SToMuMu_14')),
3202 (
'TenTau_E_15_500_Eta3p1_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'TenTau_15_500_Eta3p1')),
3203 (
'QCD_Pt_1800_2400_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_1800_2400_14')),
3204 (
'DisplacedSUSY_stopToBottom_M_800_500mm_TuneCP5_14TeV_pythia8_cff',
UpgradeFragment(
Kby(9,50),
'DisplacedSUSY_14TeV')),
3205 (
'GluGluTo2Jets_M_300_2000_14TeV_Exhume_cff',
UpgradeFragment(
Kby(9,100),
'GluGluTo2Jets_14TeV')),
3206 (
'TTbarToDilepton_mt172p5_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'TTbarToDilepton_14TeV')),
3207 (
'QQToHToTauTau_mh125_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'QQToHToTauTau_14TeV')),
3208 (
'ZpToEE_m6000_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'ZpToEE_m6000_14TeV')),
3209 (
'ZpToMM_m6000_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'ZpToMM_m6000_14TeV')),
3210 (
'SMS-T1tttt_mGl-1500_mLSP-100_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SMS-T1tttt_14TeV')),
3211 (
'VBFHZZ4Nu_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'VBFHZZ4Nu_14TeV')),
3212 (
'EtaBToJpsiJpsi_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'EtaBToJpsiJpsi_14TeV')),
3214 (
'WprimeToLNu_M2000_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(21,50),
'WprimeToLNu_M2000_14TeV')),
3216 (
'DoubleElectronFlatPt1p5To8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronFlatPt1p5To8')),
3217 (
'DoubleMuFlatPt1p5To8Dxy100GunProducer_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt1p5To8Dxy100')),
3218 (
'DoubleMuFlatPt2To100Dxy100GunProducer_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt2To100Dxy100')),
3219 (
'BuToJPsiPrimeKToJPsiPiPiK_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(223,2222),
'BuToJPsiPrimeKToJPsiPiPiK_14TeV')),
3220 (
'Psi2SToJPsiPiPi_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(45,500),
'Psi2SToJPsiPiPi_14TeV')),
3221 (
'XiMinus_13p6TeV_SoftQCDInel_TuneCP5_cfi',
UpgradeFragment(
Kby(8000,90000),
'XiMinus_13p6TeV')),
3222 (
'Chib1PToUpsilon1SGamma_MuFilter_TuneCP5_14TeV-pythia8_evtgen_cfi',
UpgradeFragment(
Kby(3600,36000),
'Chib1PToUpsilon1SGamma_14TeV')),
3223 (
'ChicToJpsiGamma_MuFilter_TuneCP5_14TeV_pythia8_evtgen_cfi',
UpgradeFragment(
Kby(2000,20000),
'ChicToJpsiGamma_14TeV')),
3224 (
'B0ToJpsiK0s_JMM_Filter_DGamma0_TuneCP5_13p6TeV-pythia8-evtgen_cfi',
UpgradeFragment(
Kby(38000,38000),
'B0ToJpsiK0s_DGamma0_13p6TeV')),
3225 (
'DStarToD0Pi_D0ToKsPiPi_inclusive_SoftQCD_TuneCP5_13p6TeV-pythia8-evtgen',
UpgradeFragment(
Kby(38000,38000),
'DStarToD0Pi_D0ToKsPiPi_13p6TeV')),
3226 (
'LbToJpsiLambda_JMM_Filter_DGamma0_TuneCP5_13p6TeV-pythia8-evtgen_cfi',
UpgradeFragment(
Mby(66,660000),
'LbToJpsiLambda_DGamma0_13p6TeV')),
3227 (
'LbToJpsiXiK0sPi_JMM_Filter_DGamma0_TuneCP5_13p6TeV-pythia8-evtgen_cfi',
UpgradeFragment(
Mby(50,500000),
'LbToJpsiXiK0sPr_DGamma0_13p6TeV')),
3228 (
'OmegaMinus_13p6TeV_SoftQCDInel_TuneCP5_cfi',
UpgradeFragment(
Mby(100,1000000),
'OmegaMinus_13p6TeV')),
3229 (
'Hydjet_Quenched_MinBias_5020GeV_cfi',
UpgradeFragment(U2000by1,
'HydjetQMinBias_5020GeV')),
3230 (
'Hydjet_Quenched_MinBias_5362GeV_cfi',
UpgradeFragment(U2000by1,
'HydjetQMinBias_5362GeV'))
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setupPU_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def setupPU_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
Wf to add Heavy Flavor DQM to whichever DQM is already there.
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
bool any(const std::vector< T > &v, const T &what)
def setupPU(self, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def condition_(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setupPU_(self, step, stepName, stepDict, k, properties)
def replace(string, replacements)
def condition(self, fragment, stepList, key, hasHarvest)
def preventReuse(self, stepName, stepDict, k)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def workflow_(self, workflows, num, fragment, stepList, key)
def condition(self, fragment, stepList, key, hasHarvest)
def workflow_(self, workflows, num, fragment, stepList, key)
def setup_(self, step, stepName, stepDict, k, properties)
def __init__(self, reco={}, harvest={}, kwargs)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def condition_(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup__(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def setupPU_(self, step, stepName, stepDict, k, properties)
def __init__(self, digi={}, reco={}, harvest={}, kwargs)
def __init__(self, howMuch, dataset)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def workflow(self, workflows, num, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def __init__(self, suffix, offset, ecalTPPh2, ecalMod, steps=['GenSim', GenSimHLBeamSpot, GenSimHLBeamSpot14, GenSimHLBeamSpotHGCALCloseBy, Digi, DigiTrigger, RecoGlobal, HARVESTGlobal, ALCAPhase2, PU=['GenSim', GenSimHLBeamSpot, GenSimHLBeamSpot14, GenSimHLBeamSpotHGCALCloseBy, Digi, DigiTrigger, RecoGlobal, HARVESTGlobal, ALCAPhase2)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def setup__(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setupPU_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def __init__(self, digi={}, reco={}, mini={}, harvest={}, kwargs)
def setup_(self, step, stepName, stepDict, k, properties)
def setup__(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def split(sequence, size)
def condition_(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup__(self, step, stepName, stepDict, k, properties)
def condition_(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
static std::string join(char **cmd)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def setup(self, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def condition_(self, fragment, stepList, key, hasHarvest)
def setup__(self, step, stepName, stepDict, k, properties)
def setup__(self, step, stepName, stepDict, k, properties)
def getStepName(self, step, extra="")
def setup_(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def condition_(self, fragment, stepList, key, hasHarvest)
def setup_(self, step, stepName, stepDict, k, properties)
def Kby(N, s)
Standard release validation samples ####.
def __init__(self, steps, PU, suffix, offset)
def __init__(self, steps, PU, suffix, offset)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def setup__(self, step, stepName, stepDict, k, properties)
def setup_(self, step, stepName, stepDict, k, properties)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def __init__(self, suffix, offset, fixedPU, steps=[], PU=['GenSimHLBeamSpot14', Digi, DigiTrigger, Reco, RecoFakeHLT, RecoGlobal, RecoNano, RecoNanoFakeHLT, HARVEST, HARVESTFakeHLT, HARVESTGlobal, HARVESTNano, HARVESTNanoFakeHLT, MiniAOD, ALCA, ALCAPhase2, Nano)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)
def setup__(self, step, stepName, stepDict, k, properties)
def getStepNamePU(self, step, extra="")
def condition_(self, fragment, stepList, key, hasHarvest)
def condition(self, fragment, stepList, key, hasHarvest)