1 from copy
import copy, deepcopy
2 from collections
import OrderedDict
3 from .MatrixUtil
import merge, Kby, Mby
67 numWFConflict = [[20400,20800],
75 for year
in upgradeKeys:
76 for i
in range(0,len(upgradeKeys[year])):
77 numWFtmp = numWFStart[year]
if i==0
else (numWFAll[year][i-1] + numWFSkip)
78 for conflict
in numWFConflict:
79 if numWFtmp>=conflict[0]
and numWFtmp<conflict[1]:
80 numWFtmp = conflict[1]
82 numWFAll[year].
append(numWFtmp)
89 preventReuseKeyword =
'NOREUSE' 98 if not step
in self.
steps:
105 raise ValueError(
"Special workflow offset must be between 0.0 and 1.0")
107 stepName = step + self.
suffix + extra
110 stepNamePU = step +
'PU' + self.
suffix + extra
113 for step
in self.
steps:
119 def setup(self, stepDict, k, properties):
120 for step
in self.
steps:
127 def setup_(self, step, stepName, stepDict, k, properties):
129 def setupPU_(self, step, stepName, stepDict, k, properties):
131 def workflow(self, workflows, num, fragment, stepList, key, hasHarvest):
132 if self.condition(fragment, stepList, key, hasHarvest):
133 self.workflow_(workflows, num, fragment, stepList, key)
134 def workflow_(self, workflows, num, fragment, stepList, key):
135 fragmentTmp = [fragment, key]
137 workflows[num+self.
offset] = [ fragmentTmp, stepList ]
138 def condition(self, fragment, stepList, key, hasHarvest):
141 if "Sim" in stepName:
142 stepDict[stepName][k] =
None 143 if "Gen" in stepName:
144 stepDict[stepName][k] =
None 145 upgradeWFs = OrderedDict()
148 def setup_(self, step, stepName, stepDict, k, properties):
149 cust=properties.get(
'Custom',
None)
150 era=properties.get(
'Era',
None)
151 modifier=properties.get(
'ProcessModifier',
None)
152 if cust
is not None: stepDict[stepName][k][
'--customise']=cust
154 stepDict[stepName][k][
'--era']=era
155 if modifier
is not None: stepDict[stepName][k][
'--procModifier']=modifier
156 def condition(self, fragment, stepList, key, hasHarvest):
163 'GenSimHLBeamSpot14',
164 'GenSimHLBeamSpotHGCALCloseBy',
177 'HARVESTNanoFakeHLT',
201 'HARVESTNanoFakeHLT',
215 def setup_(self, step, stepName, stepDict, k, properties):
216 if stepDict[step][k] !=
None:
218 stepDict[stepName][k] =
None 219 if 'RecoNano' in step:
220 stepDict[stepName][k] =
merge([{
'--filein':
'file:step3.root',
'--secondfilein':
'file:step2.root'}, stepDict[step][k]])
222 stepDict[stepName][k] =
merge([{
'-s': re.sub(
',HLT.*',
'', stepDict[step][k][
'-s'])}, stepDict[step][k]])
223 def condition(self, fragment, stepList, key, hasHarvest):
224 if (
'TTbar_14TeV' in fragment
and '2021' == key):
225 stepList.insert(stepList.index(
'Digi_DigiNoHLT_2021')+1,
'HLTRun3_2021')
226 return (
'TTbar_14TeV' in fragment
and '2021' == key)
235 suffix =
'_DigiNoHLT',
244 steps = steps + [
"ALCA",
"Nano"]
245 super().
__init__(steps, PU, suffix, offset)
246 def condition(self, fragment, stepList, key, hasHarvest):
247 result = (fragment==
"TTbar_13" or fragment==
"TTbar_14TeV")
and not 'PU' in key
and hasHarvest
and self.
condition_(fragment, stepList, key, hasHarvest)
251 def setup_(self, step, stepName, stepDict, k, properties):
253 if 'ALCA' in step
or 'Nano'==step:
254 stepDict[stepName][k] =
None 255 self.
setup__(step, stepName, stepDict, k, properties)
257 def setup__(self, step, stepName, stepDict, k, properties):
260 class UpgradeWorkflow_trackingOnly(UpgradeWorkflowTracking):
261 def setup__(self, step, stepName, stepDict, k, properties):
262 if 'Reco' in step: stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
263 elif 'HARVEST' in step: stepDict[stepName][k] =
merge([{
'-s':
'HARVESTING:@trackingOnlyValidation+@trackingOnlyDQM'}, stepDict[step][k]])
265 def condition(self, fragment, stepList, key, hasHarvest):
266 result = (fragment==
"TTbar_13" or fragment==
"TTbar_14TeV")
and hasHarvest
and self.
condition_(fragment, stepList, key, hasHarvest)
282 'HARVESTNanoFakeHLT',
294 'HARVESTNanoFakeHLT',
298 suffix =
'_trackingOnly',
301 upgradeWFs[
'trackingOnly'].step3 = {
302 '-s':
'RAW2DIGI,RECO:reconstruction_trackingOnly,VALIDATION:@trackingOnlyValidation,DQM:@trackingOnlyDQM',
303 '--datatier':
'GEN-SIM-RECO,DQMIO',
304 '--eventcontent':
'RECOSIM,DQM',
307 step3_trackingOnly = upgradeWFs[
'trackingOnly'].step3
310 def setup__(self, step, stepName, stepDict, k, properties):
311 if 'Reco' in step
and stepDict[step][k][
'--era']==
'Run2_2017':
312 stepDict[stepName][k] =
merge([{
'--era':
'Run2_2017_trackingRun2'}, stepDict[step][k]])
321 suffix =
'_trackingRun2',
326 def setup__(self, step, stepName, stepDict, k, properties):
327 if 'Reco' in step
and stepDict[step][k][
'--era']==
'Run2_2017':
328 stepDict[stepName][k] =
merge([{
'--era':
'Run2_2017_trackingRun2'}, self.
step3, stepDict[step][k]])
329 elif 'HARVEST' in step: stepDict[stepName][k] =
merge([{
'-s':
'HARVESTING:@trackingOnlyValidation+@trackingOnlyDQM'}, stepDict[step][k]])
340 suffix =
'_trackingOnlyRun2',
343 upgradeWFs[
'trackingOnlyRun2'].step3 = upgradeWFs[
'trackingOnly'].step3
346 def setup__(self, step, stepName, stepDict, k, properties):
347 if 'Reco' in step
and stepDict[step][k][
'--era']==
'Run2_2017':
348 stepDict[stepName][k] =
merge([{
'--era':
'Run2_2017_trackingLowPU'}, stepDict[step][k]])
357 suffix =
'_trackingLowPU',
362 def setup__(self, step, stepName, stepDict, k, properties):
363 if 'Reco' in step: stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
365 elif 'ALCA' in step: stepDict[stepName][k] =
None 366 elif 'HARVEST' in step: stepDict[stepName][k] =
merge([{
'-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM'}, stepDict[step][k]])
368 return (
'2017' in key
or '2018' in key
or '2021' in key
or '2026' in key)
and (
'FS' not in key)
380 'HARVESTNanoFakeHLT',
385 suffix =
'_pixelTrackingOnly',
388 upgradeWFs[
'pixelTrackingOnly'].step3 = {
389 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
390 '--datatier':
'GEN-SIM-RECO,DQMIO',
391 '--eventcontent':
'RECOSIM,DQM',
395 def setup__(self, step, stepName, stepDict, k, properties):
396 if 'Digi' in step: stepDict[stepName][k] =
merge([self.
step2, stepDict[step][k]])
397 if 'Reco' in step: stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
399 return (
'2017' in key
or '2021' in key
or '2023' in key)
and (
'FS' not in key)
411 suffix =
'_trackingMkFit',
414 upgradeWFs[
'trackingMkFit'].step2 = {
415 '--customise':
'RecoTracker/MkFit/customizeHLTIter0ToMkFit.customizeHLTIter0ToMkFit' 417 upgradeWFs[
'trackingMkFit'].step3 = {
418 '--procModifiers':
'trackingMkFitDevel' 423 def setup_(self, step, stepName, stepDict, k, properties):
425 if 'ALCA' in step
or 'Nano'==step:
426 stepDict[stepName][k] =
None 427 elif 'Reco' in step
or 'HARVEST' in step: stepDict[stepName][k] =
merge([{
'--procModifiers':
'seedingDeepCore'}, stepDict[step][k]])
428 def condition(self, fragment, stepList, key, hasHarvest):
429 result = (fragment==
"QCD_Pt_1800_2400_14" or fragment==
"TTbar_14TeV" )
and (
'2021' in key
or '2024' in key)
and hasHarvest
442 'HARVESTNanoFakeHLT',
454 'HARVESTNanoFakeHLT',
456 suffix =
'_seedingDeepCore',
462 def setup_(self, step, stepName, stepDict, k, properties):
463 stepDict[stepName][k] =
merge([{
'--procModifiers':
'vectorHits'}, stepDict[step][k]])
464 def condition(self, fragment, stepList, key, hasHarvest):
465 return (fragment==
"TTbar_14TeV" or fragment==
"SingleMuPt10Extended")
and '2026' in key
475 suffix =
'_vectorHits',
481 def __init__(self, reco = {}, harvest = {}, **kwargs):
483 super(UpgradeWorkflow_weightedVertex, self).
__init__(
494 'HARVESTNanoFakeHLT',
506 'HARVESTNanoFakeHLT',
512 def setup_(self, step, stepName, stepDict, k, properties):
515 mod = {
'--procModifiers':
'weightedVertexing,vertexInBlocks',
'--datatier':
'GEN-SIM-RECO,DQMIO',
516 '--eventcontent':
'RECOSIM,DQM'}
517 stepDict[stepName][k] =
merge([mod,self.
step3, stepDict[step][k]])
518 if 'HARVEST' in step:
519 stepDict[stepName][k] =
merge([self.
step4,stepDict[step][k]])
521 def condition(self, fragment, stepList, key, hasHarvest):
524 (
'2021' in key
and fragment ==
"TTbar_14TeV" and 'FS' not in key),
525 (
'2024' in key
and fragment ==
"TTbar_14TeV"),
526 (
'2026' in key
and fragment ==
"TTbar_14TeV")
528 result =
any(selected)
and hasHarvest
534 suffix =
'_weightedVertex',
538 upgradeWFs[
'weightedVertex'].step3 = {}
539 upgradeWFs[
'weightedVertex'].step4 = {}
542 suffix =
'_weightedVertexTrackingOnly',
546 upgradeWFs[
'weightedVertexTrackingOnly'].step3 = {
547 '-s':
'RAW2DIGI,RECO:reconstruction_trackingOnly,VALIDATION:@trackingOnlyValidation,DQM:@trackingOnlyDQM',
548 '--datatier':
'GEN-SIM-RECO,DQMIO',
549 '--eventcontent':
'RECOSIM,DQM',
552 upgradeWFs[
'weightedVertexTrackingOnly'].step4 = {
553 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 558 def setup_(self, step, stepName, stepDict, k, properties):
559 if 'RecoGlobal' in step:
560 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
561 if 'HARVESTGlobal' in step:
562 stepDict[stepName][k] =
merge([self.
step4, stepDict[step][k]])
563 def condition(self, fragment, stepList, key, hasHarvest):
564 return (fragment==
"TTbar_14TeV" or 'CloseByPGun_CE' in fragment)
and '2026' in key
574 suffix =
'_ticl_clue3D',
577 upgradeWFs[
'ticl_clue3D'].step3 = {
'--procModifiers':
'clue3D'}
578 upgradeWFs[
'ticl_clue3D'].step4 = {
'--procModifiers':
'clue3D'}
581 def setup_(self, step, stepName, stepDict, k, properties):
582 if 'RecoGlobal' in step:
583 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
584 if 'HARVESTGlobal' in step:
585 stepDict[stepName][k] =
merge([self.
step4, stepDict[step][k]])
586 def condition(self, fragment, stepList, key, hasHarvest):
587 return (fragment==
"TTbar_14TeV" or 'CloseByPGun_CE' in fragment)
and '2026' in key
597 suffix =
'_ticl_FastJet',
600 upgradeWFs[
'ticl_FastJet'].step3 = {
'--procModifiers':
'fastJetTICL'}
601 upgradeWFs[
'ticl_FastJet'].step4 = {
'--procModifiers':
'fastJetTICL'}
604 def setup_(self, step, stepName, stepDict, k, properties):
605 if 'RecoGlobal' in step:
606 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
607 if 'HARVESTGlobal' in step:
608 stepDict[stepName][k] =
merge([self.
step4, stepDict[step][k]])
609 def condition(self, fragment, stepList, key, hasHarvest):
610 return (fragment==
"TTbar_14TeV" or 'CloseByP' in fragment
or 'Eta1p7_2p7' in fragment)
and '2026' in key
623 upgradeWFs[
'ticl_v3'].step3 = {
'--procModifiers':
'ticl_v3'}
624 upgradeWFs[
'ticl_v3'].step4 = {
'--procModifiers':
'ticl_v3'}
629 def setup_(self, step, stepName, stepDict, k, properties):
630 stepDict[stepName][k] =
merge([{
'--procModifiers':
'trackdnn'}, stepDict[step][k]])
632 def condition(self, fragment, stepList, key, hasHarvest):
633 return fragment==
"TTbar_14TeV" and '2021' in key
647 suffix =
'_trackdnn',
654 def setup_(self, step, stepName, stepDict, k, properties):
656 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
657 def condition(self, fragment, stepList, key, hasHarvest):
658 return (fragment==
"TTbar_14TeV" or fragment==
"QCD_FlatPt_15_3000HS_14")
and '2021PU' in key
676 upgradeWFs[
'mlpf'].step3 = {
677 '--datatier':
'GEN-SIM-RECO,RECOSIM,MINIAODSIM,NANOAODSIM,DQMIO',
678 '--eventcontent':
'FEVTDEBUGHLT,RECOSIM,MINIAODSIM,NANOEDMAODSIM,DQM',
679 '--procModifiers':
'mlpf' 685 def setup_(self, step, stepName, stepDict, k, properties):
687 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
688 def condition(self, fragment, stepList, key, hasHarvest):
689 return (fragment==
"ZEE_14" or fragment==
"TTbar_14TeV" or fragment==
"WprimeTolNu_M3000_13TeV_pythia8" 690 or fragment==
"DisplacedSUSY_stopToBottom_M_300_1000mm_13" or fragment==
"RunEGamma2018D" )
705 suffix =
'_ecalDeepSC',
708 upgradeWFs[
'ecalDeepSC'].step3 = {
709 '--datatier':
'RECOSIM,MINIAODSIM,NANOAODSIM,DQMIO',
710 '--eventcontent':
'RECOSIM,MINIAODSIM,NANOEDMAODSIM,DQM',
711 '--procModifiers':
'ecal_deepsc' 717 def setup_(self, step, stepName, stepDict, k, properties):
719 stepDict[stepName][k] =
merge([self.
step3, stepDict[step][k]])
720 def condition(self, fragment, stepList, key, hasHarvest):
721 return '2018' in key
and "SingleGamma" in fragment
732 suffix =
'_photonDRN',
735 upgradeWFs[
'photonDRN'].step3 = {
736 '--procModifiers':
'enableSonicTriton,photonDRN' 749 def __init__(self, digi = {}, reco = {}, harvest = {}, **kwargs):
751 super(PatatrackWorkflow, self).
__init__(
764 'HARVESTNanoFakeHLT',
774 '--datatier':
'GEN-SIM-RECO,DQMIO',
775 '--eventcontent':
'RECOSIM,DQM' 779 def condition(self, fragment, stepList, key, hasHarvest):
782 (
'2018' in key
and fragment ==
"TTbar_13"),
783 (
'2021' in key
and fragment ==
"TTbar_14TeV" and 'FS' not in key),
784 (
'2023' in key
and fragment ==
"TTbar_14TeV" and 'FS' not in key),
785 (
'2018' in key
and fragment ==
"ZMM_13"),
786 (
'2021' in key
and fragment ==
"ZMM_14" and 'FS' not in key),
787 (
'2023' in key
and fragment ==
"ZMM_14" and 'FS' not in key),
788 (
'2026D88' in key
and fragment ==
"TTbar_14TeV" and "PixelOnly" in self.
suffix)
790 result =
any(selected)
and hasHarvest
794 def setup_(self, step, stepName, stepDict, k, properties):
796 if 'ALCA' in step
or 'Nano'==step:
797 stepDict[stepName][k] =
None 800 stepDict[stepName][k] =
None 802 stepDict[stepName][k] =
merge([self.
__digi, stepDict[step][k]])
805 stepDict[stepName][k] =
None 807 stepDict[stepName][k] =
merge([self.
__reco, stepDict[step][k]])
808 elif 'HARVEST' in step:
810 stepDict[stepName][k] =
None 812 stepDict[stepName][k] =
merge([self.
__harvest, stepDict[step][k]])
823 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
824 '--procModifiers':
'pixelNtupletFit' 827 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 829 suffix =
'Patatrack_PixelOnlyCPU',
840 '--procModifiers':
'gpu' 843 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
844 '--procModifiers':
'pixelNtupletFit,gpu' 847 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 849 suffix =
'Patatrack_PixelOnlyGPU',
860 '--accelerators':
'gpu-nvidia',
861 '--procModifiers':
'gpu' 864 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
865 '--accelerators':
'gpu-nvidia',
866 '--procModifiers':
'pixelNtupletFit,gpuValidation' 869 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM',
870 '--procModifiers':
'gpuValidation' 872 suffix =
'Patatrack_PixelOnlyGPU_Validation',
882 '--procModifiers':
'gpu' 885 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly',
886 '--procModifiers':
'pixelNtupletFit,gpu',
887 '--customise' :
'RecoTracker/Configuration/customizePixelOnlyForProfiling.customizePixelOnlyForProfilingGPUOnly' 890 suffix =
'Patatrack_PixelOnlyGPU_Profiling',
903 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
904 '--procModifiers':
'pixelNtupletFit',
905 '--customise' :
'RecoPixelVertexing/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 908 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 910 suffix =
'Patatrack_PixelOnlyTripletsCPU',
921 '--procModifiers':
'gpu' 924 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
925 '--procModifiers':
'pixelNtupletFit,gpu',
926 '--customise':
'RecoPixelVertexing/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 929 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 931 suffix =
'Patatrack_PixelOnlyTripletsGPU',
942 '--accelerators':
'gpu-nvidia',
943 '--procModifiers':
'gpu' 946 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
947 '--accelerators':
'gpu-nvidia',
948 '--procModifiers':
'pixelNtupletFit,gpuValidation',
949 '--customise':
'RecoPixelVertexing/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 952 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM',
953 '--procModifiers':
'gpuValidation',
955 suffix =
'Patatrack_PixelOnlyTripletsGPU_Validation',
965 '--procModifiers':
'gpu' 968 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly',
969 '--procModifiers':
'pixelNtupletFit,gpu',
970 '--customise':
'RecoPixelVertexing/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets,RecoTracker/Configuration/customizePixelOnlyForProfiling.customizePixelOnlyForProfilingGPUOnly' 973 suffix =
'Patatrack_PixelOnlyTripletsGPU_Profiling',
986 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
989 '-s':
'HARVESTING:@ecalOnlyValidation+@ecal' 991 suffix =
'Patatrack_ECALOnlyCPU',
1002 '--procModifiers':
'gpu' 1005 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
1006 '--procModifiers':
'gpu' 1009 '-s':
'HARVESTING:@ecalOnlyValidation+@ecal' 1011 suffix =
'Patatrack_ECALOnlyGPU',
1022 '--accelerators':
'gpu-nvidia',
1023 '--procModifiers':
'gpu' 1026 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
1027 '--accelerators':
'gpu-nvidia',
1028 '--procModifiers':
'gpuValidation' 1031 '-s':
'HARVESTING:@ecalOnlyValidation+@ecal' 1033 suffix =
'Patatrack_ECALOnlyGPU_Validation',
1043 '--procModifiers':
'gpu' 1046 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly',
1047 '--procModifiers':
'gpu',
1048 '--customise' :
'RecoLocalCalo/Configuration/customizeEcalOnlyForProfiling.customizeEcalOnlyForProfilingGPUOnly' 1051 suffix =
'Patatrack_ECALOnlyGPU_Profiling',
1064 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation,DQM:@hcalOnly+@hcal2Only',
1067 '-s':
'HARVESTING:@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1069 suffix =
'Patatrack_HCALOnlyCPU',
1080 '--procModifiers':
'gpu' 1083 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation,DQM:@hcalOnly+@hcal2Only',
1084 '--procModifiers':
'gpu' 1087 '-s':
'HARVESTING:@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1089 suffix =
'Patatrack_HCALOnlyGPU',
1100 '--accelerators':
'gpu-nvidia',
1101 '--procModifiers':
'gpu' 1104 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation,DQM:@hcalOnly+@hcal2Only',
1105 '--accelerators':
'gpu-nvidia',
1106 '--procModifiers':
'gpuValidation' 1109 '-s':
'HARVESTING:@hcalOnlyValidation+@hcal' 1111 suffix =
'Patatrack_HCALOnlyGPU_Validation',
1121 '--procModifiers':
'gpu' 1124 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly',
1125 '--procModifiers':
'gpu',
1126 '--customise' :
'RecoLocalCalo/Configuration/customizeHcalOnlyForProfiling.customizeHcalOnlyForProfilingGPUOnly' 1129 suffix =
'Patatrack_HCALOnlyGPU_Profiling',
1142 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1143 '--procModifiers':
'pixelNtupletFit' 1146 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1148 suffix =
'Patatrack_AllCPU',
1159 '--procModifiers':
'gpu' 1162 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1163 '--procModifiers':
'pixelNtupletFit,gpu' 1166 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1168 suffix =
'Patatrack_AllGPU',
1179 '--accelerators':
'gpu-nvidia',
1180 '--procModifiers':
'gpu' 1183 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1184 '--accelerators':
'gpu-nvidia',
1185 '--procModifiers':
'pixelNtupletFit,gpuValidation' 1188 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only',
1189 '--procModifiers':
'gpuValidation' 1191 suffix =
'Patatrack_AllGPU_Validation',
1209 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1210 '--procModifiers':
'pixelNtupletFit' 1213 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1215 suffix =
'Patatrack_AllTripletsCPU',
1226 '--procModifiers':
'gpu' 1229 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1230 '--procModifiers':
'pixelNtupletFit,gpu' 1233 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1235 suffix =
'Patatrack_AllTripletsGPU',
1246 '--accelerators':
'gpu-nvidia',
1247 '--procModifiers':
'gpu' 1250 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1251 '--accelerators':
'gpu-nvidia',
1252 '--procModifiers':
'pixelNtupletFit,gpuValidation' 1255 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only',
1256 '--procModifiers':
'gpuValidation' 1258 suffix =
'Patatrack_AllTripletsGPU_Validation',
1277 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1278 '--procModifiers':
'pixelNtupletFit' 1283 suffix =
'Patatrack_FullRecoCPU',
1294 '--procModifiers':
'gpu' 1298 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1299 '--procModifiers':
'pixelNtupletFit,gpu' 1304 suffix =
'Patatrack_FullRecoGPU',
1315 '--accelerators':
'gpu-nvidia',
1316 '--procModifiers':
'gpu' 1320 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1321 '--accelerators':
'gpu-nvidia',
1322 '--procModifiers':
'pixelNtupletFit,gpuValidation' 1327 suffix =
'Patatrack_FullRecoGPU_Validation',
1341 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1342 '--procModifiers':
'pixelNtupletFit',
1343 '--customise' :
'RecoPixelVertexing/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1348 suffix =
'Patatrack_FullRecoTripletsCPU',
1359 '--procModifiers':
'gpu' 1363 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1364 '--procModifiers':
'pixelNtupletFit,gpu',
1365 '--customise':
'RecoPixelVertexing/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1370 suffix =
'Patatrack_FullRecoTripletsGPU',
1381 '--accelerators':
'gpu-nvidia',
1382 '--procModifiers':
'gpu' 1386 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1387 '--accelerators':
'gpu-nvidia',
1388 '--procModifiers':
'pixelNtupletFit,gpuValidation',
1389 '--customise' :
'RecoPixelVertexing/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1394 suffix =
'Patatrack_FullRecoTripletsGPU_Validation',
1402 def setup_(self, step, stepName, stepDict, k, properties):
1403 if 'GenSimHLBeamSpot14' in step:
1404 stepDict[stepName][k] =
merge([{
'--eventcontent':
'RAWSIM',
'--datatier':
'GEN-SIM'},stepDict[step][k]])
1405 elif 'Digi' in step
and 'Trigger' not in step:
1406 stepDict[stepName][k] =
merge([{
'-s':
'DIGI,L1,DIGI2RAW,HLT:@relval2022',
'--datatier':
'GEN-SIM-RAW',
'--eventcontent':
'RAWSIM'}, stepDict[step][k]])
1407 elif 'DigiTrigger' in step:
1408 stepDict[stepName][k] =
merge([{
'-s':
'DIGI,L1TrackTrigger,L1,DIGI2RAW,HLT:@fake2',
'--datatier':
'GEN-SIM-RAW',
'--eventcontent':
'RAWSIM'}, stepDict[step][k]])
1409 elif 'Reco' in step:
1410 stepDict[stepName][k] =
merge([{
'-s':
'RAW2DIGI,L1Reco,RECO,RECOSIM',
'--datatier':
'AODSIM',
'--eventcontent':
'AODSIM'}, stepDict[step][k]])
1411 elif 'MiniAOD' in step:
1413 stepDict[stepName][k] = deepcopy(stepDict[step][k])
1414 elif 'ALCA' in step
or 'HARVEST' in step:
1416 stepDict[stepName][k] =
None 1418 stepDict[stepName][k] =
merge([{
'--filein':
'file:step4.root',
'-s':
'NANO',
'--datatier':
'NANOAODSIM',
'--eventcontent':
'NANOEDMAODSIM'}, stepDict[step][k]])
1420 return fragment==
"TTbar_14TeV" and (
'2026' in key
or '2021' in key)
1423 'GenSimHLBeamSpot14',
1435 'HARVESTNanoFakeHLT',
1442 'GenSimHLBeamSpot14',
1454 'HARVESTNanoFakeHLT',
1460 suffix =
'_ProdLike',
1465 def __init__(self, suffix, offset, fixedPU,
1468 'GenSimHLBeamSpot14',
1480 'HARVESTNanoFakeHLT',
1486 super(UpgradeWorkflow_ProdLikeRunningPU, self).
__init__(steps, PU, suffix, offset)
1488 def setupPU_(self, step, stepName, stepDict, k, properties):
1490 if stepDict[stepName][k]
is not None and '--pileup' in stepDict[stepName][k]:
1491 stepDict[stepName][k][
'--pileup'] =
'AVE_' +
str(self.
__fixedPU) +
'_BX_25ns' 1494 return (fragment==
"TTbar_14TeV")
and ((
'2026' in key)
or (
'2021' in key
and self.
__fixedPU<=100))
1501 suffix =
'_ProdLikePU10',
1507 suffix =
'_ProdLikePU20',
1513 suffix =
'_ProdLikePU30',
1519 suffix =
'_ProdLikePU40',
1525 suffix =
'_ProdLikePU50',
1531 suffix =
'_ProdLikePU60',
1537 suffix =
'_ProdLikePU70',
1543 suffix =
'_ProdLikePU80',
1549 suffix =
'_ProdLikePU90',
1555 suffix =
'_ProdLikePU100',
1561 suffix =
'_ProdLikePU120',
1567 suffix =
'_ProdLikePU140',
1573 suffix =
'_ProdLikePU160',
1579 suffix =
'_ProdLikePU180',
1585 def setup_(self, step, stepName, stepDict, k, properties):
1586 if 'HARVEST' in step:
1587 stepDict[stepName][k] =
merge([{
'--filein':
'file:step3_inDQM.root'}, stepDict[step][k]])
1589 stepDict[stepName][k] =
merge([stepDict[step][k]])
1591 return fragment==
"TTbar_14TeV" and '2026' in key
1594 'GenSimHLBeamSpot14',
1601 'GenSimHLBeamSpot14',
1607 suffix =
'_HLT75e33',
1612 def setup_(self, step, stepName, stepDict, k, properties):
1613 if 'DigiTrigger' in step:
1614 stepDict[stepName][k] =
merge([{
'-s':
'DIGI:pdigi_valid,L1TrackTrigger,L1,DIGI2RAW,HLT:@relval2026'}, stepDict[step][k]])
1616 return fragment==
"TTbar_14TeV" and '2026' in key
1624 suffix =
'_HLTwDIGI75e33',
1629 def setup_(self, step, stepName, stepDict, k, properties):
1630 if 'GenSim' in step:
1631 custNew =
"SimG4Core/Application/NeutronBGforMuonsXS_cff.customise" 1633 custNew =
"SLHCUpgradeSimulations/Configuration/customise_mixing.customise_Mix_LongLived_Neutrons" 1634 stepDict[stepName][k] = deepcopy(stepDict[step][k])
1635 if '--customise' in stepDict[stepName][k].
keys():
1636 stepDict[stepName][k][
'--customise'] +=
","+custNew
1638 stepDict[stepName][k][
'--customise'] = custNew
1645 'GenSimHLBeamSpot14',
1653 suffix =
'_Neutron',
1657 upgradeWFs[
'Neutron'].neutronKeys = [x
for x
in upgradeKeys[2026]
if 'PU' not in x]
1658 upgradeWFs[
'Neutron'].neutronFrags = [
'ZMM_14',
'MinBias_14TeV']
1661 def setup_(self, step, stepName, stepDict, k, properties):
1662 stepDict[stepName][k] =
merge([{
'--procModifiers':
'run2_HECollapse_2018'}, stepDict[step][k]])
1664 return fragment==
"TTbar_13" and '2018' in key
1682 suffix =
'_heCollapse',
1688 def __init__(self, digi = {}, reco = {}, harvest = {}, **kwargs):
1690 super(UpgradeWorkflow_ecalDevel, self).
__init__(
1708 def setup_(self, step, stepName, stepDict, k, properties):
1710 mods = {
'--era': stepDict[step][k][
'--era']+
',phase2_ecal_devel'}
1712 mods[
'-s'] =
'DIGI:pdigi_valid,DIGI2RAW' 1714 elif 'Reco' in step:
1715 mods[
'-s'] =
'RAW2DIGI,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly' 1716 mods[
'--datatier'] =
'GEN-SIM-RECO,DQMIO' 1717 mods[
'--eventcontent'] =
'FEVTDEBUGHLT,DQM' 1719 elif 'HARVEST' in step:
1720 mods[
'-s'] =
'HARVESTING:@ecalOnlyValidation+@ecal' 1722 stepDict[stepName][k] =
merge([mods, stepDict[step][k]])
1725 stepDict[stepName][k] =
None 1728 return fragment==
"TTbar_14TeV" and '2026' in key
1732 suffix =
'_ecalDevel',
1738 reco = {
'--procModifiers':
'gpu'},
1739 suffix =
'_ecalDevelGPU',
1744 def setup_(self, step, stepName, stepDict, k, properties):
1745 myGT=stepDict[step][k][
'--conditions']
1747 stepDict[stepName][k] =
merge([{
'-n':
'1',
'--magField':
'0T',
'--conditions':myGT}, stepDict[step][k]])
1748 def setupPU_(self, step, stepName, stepDict, k, properties):
1750 stepDict[stepName][k] =
merge([{
'-n':
'1'}, stepDict[step][k]])
1752 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)
1764 'HARVESTNanoFakeHLT',
1776 'HARVESTNanoFakeHLT',
1783 def setup_(self, step, stepName, stepDict, k, properties):
1784 if 'Reco' in step
and 'Run2_2018' in stepDict[step][k][
'--era']:
1785 stepDict[stepName][k] =
merge([{
'--era':
'Run2_2018,bParking'}, stepDict[step][k]])
1787 return fragment==
"TTbar_13" and '2018' in key
1794 suffix =
'_ParkingBPH',
1799 def setup_(self, step, stepName, stepDict, k, properties):
1801 stepDict[stepName][k] =
merge([{
'--customise':
'PhysicsTools/NanoAOD/custom_jme_cff.PrepJMECustomNanoAOD_MC'}, stepDict[step][k]])
1803 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)
1811 suffix =
'_JMENano',
1818 def setup_(self, step, stepName, stepDict, k, properties):
1819 if 'Digi' in step
or 'Reco' in step:
1820 stepDict[stepName][k] =
merge([{
'--customise':
'SLHCUpgradeSimulations/Configuration/aging.customise_aging_'+self.
lumi}, stepDict[step][k]])
1822 return '2026' in key
1841 suffix =
'Aging1000',
1844 upgradeWFs[
'Aging1000'].lumi =
'1000' 1845 upgradeWFs[
'Aging3000'] = deepcopy(upgradeWFs[
'Aging1000'])
1846 upgradeWFs[
'Aging3000'].suffix =
'Aging3000' 1847 upgradeWFs[
'Aging3000'].offset = 0.103
1848 upgradeWFs[
'Aging3000'].lumi =
'3000' 1855 def setup_(self, step, stepName, stepDict, k, properties):
1857 stepDict[stepName][k] =
merge([{
'--customise':
'SimTracker/SiPhase2Digitizer/customizeForOTInefficiency.customizeSiPhase2OTInefficiency'+self.
percent+
'Percent'}, stepDict[step][k]])
1859 return fragment==
"TTbar_14TeV" and '2026' in key
1870 suffix =
'_OTInefficiency',
1873 upgradeWFs[
'OTInefficiency'].percent =
'Zero' 1876 upgradeWFs[
'OTInefficiency1PC'] = deepcopy(upgradeWFs[
'OTInefficiency'])
1877 upgradeWFs[
'OTInefficiency1PC'].suffix =
'_OTInefficiency1PC' 1878 upgradeWFs[
'OTInefficiency1PC'].offset = 0.112
1879 upgradeWFs[
'OTInefficiency1PC'].percent =
'One' 1882 upgradeWFs[
'OTInefficiency5PC'] = deepcopy(upgradeWFs[
'OTInefficiency'])
1883 upgradeWFs[
'OTInefficiency5PC'].suffix =
'_OTInefficiency5PC' 1884 upgradeWFs[
'OTInefficiency5PC'].offset = 0.113
1885 upgradeWFs[
'OTInefficiency5PC'].percent =
'Five' 1888 upgradeWFs[
'OTInefficiency10PC'] = deepcopy(upgradeWFs[
'OTInefficiency'])
1889 upgradeWFs[
'OTInefficiency10PC'].suffix =
'_OTInefficiency10PC' 1890 upgradeWFs[
'OTInefficiency10PC'].offset = 0.114
1891 upgradeWFs[
'OTInefficiency10PC'].percent =
'Ten' 1899 digiPremixLocalPileup = {
1900 "--filein":
"file:step1.root",
1901 "--pileup_input":
"file:step2.root" 1906 def setup_(self, step, stepName, stepDict, k, properties):
1908 stepDict[stepName][k] =
merge([stepDict[step][k]])
1909 def setupPU_(self, step, stepName, stepDict, k, properties):
1911 if "GenSim" in stepName:
1912 stepNamePmx = stepName.replace(
'GenSim',
'Premix')
1913 if not stepNamePmx
in stepDict: stepDict[stepNamePmx] = {}
1914 stepDict[stepNamePmx][k] =
merge([
1916 '-s':
'GEN,SIM,DIGI:pdigi_valid',
1917 '--datatier':
'PREMIX',
1918 '--eventcontent':
'PREMIX',
1919 '--procModifiers':
'premix_stage1' 1921 stepDict[stepName][k]
1923 if "ProdLike" in self.
suffix:
1924 stepDict[stepNamePmx][k] =
merge([{
'-s':
'GEN,SIM,DIGI'},stepDict[stepNamePmx][k]])
1926 elif "Digi" in step
or "Reco" in step:
1929 if d
is None:
return 1932 for s
in d[
"-s"].
split(
","):
1933 if s ==
"DIGI" or "DIGI:" in s:
1934 tmpsteps.extend([s,
"DATAMIX"])
1938 "--datamix" :
"PreMix",
1939 "--procModifiers":
"premix_stage2"},
1942 if "_PMXS1S2" in self.
suffix:
1943 d =
merge([digiPremixLocalPileup, d])
1944 elif "Reco" in step:
1945 if "--procModifiers" in d:
1946 d[
"--procModifiers"] +=
",premix_stage2" 1948 d[
"--procModifiers"] =
"premix_stage2" 1949 stepDict[stepName][k] = d
1955 filein = d[
"--filein"]
1956 m = re.search(
"step(?P<ind>\d+)_", filein)
1958 d[
"--filein"] = filein.replace(m.group(),
"step%d_"%(
int(m.group(
"ind"))+1))
1959 stepDict[stepName][k] = d
1965 if not any(y
in key
for y
in [
'2021',
'2023',
'2024',
'2026']):
1967 if self.
suffix.endswith(
"S1"):
1968 return "NuGun" in fragment
1970 def workflow_(self, workflows, num, fragment, stepList, key):
1971 fragmentTmp = fragment
1972 if self.
suffix.endswith(
"S1"):
1973 fragmentTmp =
'PREMIXUP' + key[2:].
replace(
"PU",
"").
replace(
"Design",
"") +
'_PU25' 1974 super(UpgradeWorkflowPremix,self).
workflow_(workflows, num, fragmentTmp, stepList, key)
1982 'GenSimHLBeamSpot14',
2010 'GenSimHLBeamSpot14',
2021 suffix =
'_PMXS1S2',
2026 def setupPU_(self, step, stepName, stepDict, k, properties):
2028 if '--pileup' in stepDict[stepName][k]:
2029 stepDict[stepName][k][
'--pileup'] =
'AVE_50_BX_25ns_m3p3' 2030 super(UpgradeWorkflowAdjustPU,self).
setupPU_(step, stepName, stepDict, k, properties)
2033 return super(UpgradeWorkflowAdjustPU,self).
condition(fragment, stepList, key, hasHarvest)
and '2026' in key
2039 'GenSimHLBeamSpot14',
2051 suffix =
'_PMXS1S2PR',
2056 def setup_(self, step, stepName, stepDict, k, properties):
2058 UpgradeWorkflowPremix.setup_(self, step, stepName, stepDict, k, properties)
2059 UpgradeWorkflow_ProdLike.setup_(self, step, stepName, stepDict, k, properties)
2064 for s
in d[
"-s"].
split(
","):
2065 if "DIGI:pdigi_valid" in s:
2066 tmpsteps.append(
"DIGI")
2070 "--eventcontent":
"PREMIXRAW"},
2072 stepDict[stepName][k] = d
2074 stepDict[stepName][k] =
merge([{
'--filein':
'file:step5.root',
'-s':
'NANO',
'--datatier':
'NANOAODSIM',
'--eventcontent':
'NANOEDMAODSIM'}, stepDict[step][k]])
2077 return UpgradeWorkflowPremix.condition(self, fragment, stepList, key, hasHarvest)
and UpgradeWorkflow_ProdLike.condition(self, fragment, stepList, key, hasHarvest)
2095 'HARVESTNanoFakeHLT',
2099 suffix =
'_PMXS2ProdLike',
2108 'GenSimHLBeamSpot14',
2122 'HARVESTNanoFakeHLT',
2126 suffix =
'_PMXS1S2ProdLike',
2131 def setup_(self, step, stepName, stepDict, k, properties):
2132 if 'HARVESTFastRun3' in step:
2133 stepDict[stepName][k] =
merge([{
'-s':
'HARVESTING:@trackingOnlyValidation+@trackingOnlyDQM',
2135 '--era':
'Run3_FastSim',
2136 '--filein':
'file:step1_inDQM.root'}, stepDict[step][k]])
2138 stepDict[stepName][k] =
merge([stepDict[step][k]])
2140 return (
'2021FS' in key
or '2023FS' in key)
2151 suffix =
'_Run3FSTrackingOnly',
2156 def setup_(self, step, stepName, stepDict, k, properties):
2158 stepDict[stepName][k] =
merge([{
'-s':
'GEN,SIM,RECOBEFMIX',
2160 '--era':
'Run3_FastSim',
2161 '--eventcontent':
'FASTPU',
2162 '--datatier':
'GEN-SIM-RECO',
2163 '--relval':
'27000,3000'}, stepDict[step][k]])
2165 stepDict[stepName][k] =
None 2167 return (
'2021FS' in key
or '2023FS' in key)
and fragment==
"MinBias_14TeV" 2175 suffix =
'_Run3FSMBMixing',
2180 def setup_(self, step, stepName, stepDict, k, properties):
2181 if 'Run3' in stepDict[step][k][
'--era']
and 'Fast' not in stepDict[step][k][
'--era']:
2182 if '2023' in stepDict[step][k][
'--conditions']:
2183 stepDict[stepName][k] =
merge([{
'--geometry':
'DD4hepExtended2023'}, stepDict[step][k]])
2185 stepDict[stepName][k] =
merge([{
'--geometry':
'DD4hepExtended2021'}, stepDict[step][k]])
2186 elif 'Phase2' in stepDict[step][k][
'--era']:
2188 dd4hepGeom+=stepDict[step][k][
'--geometry']
2189 stepDict[stepName][k] =
merge([{
'--geometry' : dd4hepGeom,
'--procModifiers':
'dd4hep'}, stepDict[step][k]])
2191 return (
'2021' in key
or '2023' in key
or '2026' in key)
and (
'FS' not in key)
2196 'GenSimHLBeamSpot14',
2208 'HARVESTNanoFakeHLT',
2215 upgradeWFs[
'DD4hep'].allowReuse =
False 2220 def setup_(self, step, stepName, stepDict, k, properties):
2221 if 'Run3' in stepDict[step][k][
'--era']
and 'Fast' not in stepDict[step][k][
'--era']:
2222 stepDict[stepName][k] =
merge([{
'--conditions':
'auto:phase1_2022_realistic',
'--geometry':
'DB:Extended'}, stepDict[step][k]])
2224 return '2021' in key
and 'FS' not in key
2229 'GenSimHLBeamSpot14',
2241 'HARVESTNanoFakeHLT',
2245 suffix =
'_DD4hepDB',
2248 upgradeWFs[
'DD4hepDB'].allowReuse =
False 2251 def setup_(self, step, stepName, stepDict, k, properties):
2252 if 'Run3' in stepDict[step][k][
'--era']
and '2023' not in stepDict[step][k][
'--era']
and 'Fast' not in stepDict[step][k][
'--era']:
2254 tmp_eras = stepDict[step][k][
'--era'].
split(
',')
2255 tmp_eras[tmp_eras.index(
"Run3")] =
'Run3_DDD' 2256 tmp_eras =
','.
join(tmp_eras)
2257 stepDict[stepName][k] =
merge([{
'--conditions':
'auto:phase1_2022_realistic_ddd',
'--geometry':
'DB:Extended',
'--era': tmp_eras}, stepDict[step][k]])
2259 return '2021' in key
and 'FS' not in key
2264 'GenSimHLBeamSpot14',
2276 'HARVESTNanoFakeHLT',
2283 upgradeWFs[
'DDDDB'].allowReuse =
False 2286 def setup_(self, step, stepName, stepDict, k, properties):
2287 stepDict[stepName][k] =
merge([{
'--procModifiers':
'allSonicTriton'}, stepDict[step][k]])
2289 return (fragment==
'TTbar_13' and '2021' in key) \
2290 or (fragment==
'TTbar_14TeV' and '2026' in key)
2295 'GenSimHLBeamSpot14',
2307 'HARVESTNanoFakeHLT',
2313 'GenSimHLBeamSpot14',
2325 'HARVESTNanoFakeHLT',
2328 suffix =
'_SonicTriton',
2333 offsets = [specialWF.offset
for specialType,specialWF
in upgradeWFs.items()]
2335 dups = set(x
for x
in offsets
if x
in seen
or seen.add(x))
2337 raise ValueError(
"Duplicate special workflow offsets not allowed: "+
','.
join([
str(x)
for x
in dups]))
2339 upgradeProperties = {}
2341 upgradeProperties[2017] = {
2343 'Geom' :
'DB:Extended',
2344 'GT' :
'auto:phase1_2017_realistic',
2345 'HLTmenu':
'@relval2017',
2346 'Era' :
'Run2_2017',
2347 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT',
'ALCA',
'Nano'],
2350 'Geom' :
'DB:Extended',
2351 'GT' :
'auto:phase1_2017_design',
2352 'HLTmenu':
'@relval2017',
2353 'Era' :
'Run2_2017',
2354 'BeamSpot':
'GaussSigmaZ4cm',
2355 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT'],
2358 'Geom' :
'DB:Extended',
2359 'GT' :
'auto:phase1_2018_realistic',
2360 'HLTmenu':
'@relval2018',
2361 'Era' :
'Run2_2018',
2362 'BeamSpot':
'Realistic25ns13TeVEarly2018Collision',
2363 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT',
'ALCA',
'Nano'],
2366 'Geom' :
'DB:Extended',
2367 'GT' :
'auto:phase1_2018_design',
2368 'HLTmenu':
'@relval2018',
2369 'Era' :
'Run2_2018',
2370 'BeamSpot':
'GaussSigmaZ4cm',
2371 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT'],
2374 'Geom' :
'DB:Extended',
2375 'GT' :
'auto:phase1_2022_realistic',
2376 'HLTmenu':
'@relval2022',
2378 'BeamSpot':
'Realistic25ns13p6TeVEarly2022Collision',
2379 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNanoFakeHLT',
'HARVESTNanoFakeHLT',
'ALCA'],
2382 'Geom' :
'DB:Extended',
2383 'GT' :
'auto:phase1_2022_design',
2384 'HLTmenu':
'@relval2022',
2386 'BeamSpot':
'GaussSigmaZ4cm',
2387 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNanoFakeHLT',
'HARVESTNanoFakeHLT'],
2390 'Geom' :
'DB:Extended',
2391 'GT' :
'auto:phase1_2023_realistic',
2392 'HLTmenu':
'@relval2023',
2393 'Era' :
'Run3_2023',
2394 'BeamSpot':
'Realistic25ns13p6TeVEarly2022Collision',
2395 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2398 'Geom' :
'DB:Extended',
2399 'GT' :
'auto:phase1_2024_realistic',
2400 'HLTmenu':
'@relval2023',
2402 'BeamSpot':
'Realistic25ns13p6TeVEarly2022Collision',
2403 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2406 'Geom' :
'DB:Extended',
2407 'GT' :
'auto:phase1_2022_realistic',
2408 'HLTmenu':
'@relval2022',
2409 'Era' :
'Run3_FastSim',
2410 'BeamSpot':
'Realistic25ns13p6TeVEarly2022Collision',
2411 'ScenToRun' : [
'Gen',
'FastSimRun3',
'HARVESTFastRun3'],
2414 'Geom' :
'DB:Extended',
2415 'GT' :
'auto:phase1_2022_realistic_postEE',
2416 'HLTmenu':
'@relval2022',
2418 'BeamSpot':
'Realistic25ns13p6TeVEarly2022Collision',
2419 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNanoFakeHLT',
'HARVESTNanoFakeHLT',
'ALCA'],
2422 'Geom' :
'DB:Extended',
2423 'GT' :
'auto:phase1_2023_realistic',
2424 'HLTmenu':
'@relval2023',
2425 'Era' :
'Run3_FastSim',
2426 'BeamSpot':
'Realistic25ns13p6TeVEarly2022Collision',
2427 'ScenToRun' : [
'Gen',
'FastSimRun3',
'HARVESTFastRun3'],
2432 for key
in list(upgradeProperties[2017].
keys()):
2433 upgradeProperties[2017][key+
'PU'] = deepcopy(upgradeProperties[2017][key])
2436 scenToRun = upgradeProperties[2017][key+
'PU'][
'ScenToRun']
2437 for idx,val
in enumerate(scenToRun):
2439 scenToRun[idx] +=
'PU'*(val.startswith(
'Digi')
or val.startswith(
'Reco')
or val.startswith(
'HARVEST'))
2441 upgradeProperties[2017][key+
'PU'][
'ScenToRun'] = [foo
for foo
in scenToRun
if foo !=
'ALCA']
2443 upgradeProperties[2017][key+
'PU'][
'ScenToRun'] = [
'Gen',
'FastSimRun3PU',
'HARVESTFastRun3PU']
2445 upgradeProperties[2026] = {
2447 'Geom' :
'Extended2026D86',
2448 'HLTmenu':
'@fake2',
2449 'GT' :
'auto:phase2_realistic_T21',
2450 'Era' :
'Phase2C17I13M9',
2451 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2454 'Geom' :
'Extended2026D88',
2455 'HLTmenu':
'@relval2026',
2456 'GT' :
'auto:phase2_realistic_T21',
2457 'Era' :
'Phase2C17I13M9',
2458 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2461 'Geom' :
'Extended2026D91',
2462 'HLTmenu':
'@fake2',
2463 'GT' :
'auto:phase2_realistic_T30',
2464 'Era' :
'Phase2C17I13M9',
2465 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2468 'Geom' :
'Extended2026D92',
2469 'HLTmenu':
'@fake2',
2470 'GT' :
'auto:phase2_realistic_T21',
2471 'Era' :
'Phase2C17I13M9',
2472 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2475 'Geom' :
'Extended2026D93',
2476 'HLTmenu':
'@fake2',
2477 'GT' :
'auto:phase2_realistic_T21',
2478 'Era' :
'Phase2C17I13M9',
2479 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2482 'Geom' :
'Extended2026D94',
2483 'HLTmenu':
'@fake2',
2484 'GT' :
'auto:phase2_realistic_T21',
2485 'Era' :
'Phase2C20I13M9',
2486 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2489 'Geom' :
'Extended2026D95',
2490 'HLTmenu':
'@relval2026',
2491 'GT' :
'auto:phase2_realistic_T21',
2492 'Era' :
'Phase2C17I13M9',
2493 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2496 'Geom' :
'Extended2026D96',
2497 'HLTmenu':
'@fake2',
2498 'GT' :
'auto:phase2_realistic_T21',
2499 'Era' :
'Phase2C17I13M9',
2500 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2503 'Geom' :
'Extended2026D97',
2504 'HLTmenu':
'@fake2',
2505 'GT' :
'auto:phase2_realistic_T25',
2506 'Era' :
'Phase2C17I13M9',
2507 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2510 'Geom' :
'Extended2026D98',
2511 'HLTmenu':
'@fake2',
2512 'GT' :
'auto:phase2_realistic_T25',
2513 'Era' :
'Phase2C17I13M9',
2514 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2517 'Geom' :
'Extended2026D99',
2518 'HLTmenu':
'@fake2',
2519 'GT' :
'auto:phase2_realistic_T25',
2520 'Era' :
'Phase2C17I13M9',
2521 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2526 for key
in list(upgradeProperties[2026].
keys()):
2527 upgradeProperties[2026][key+
'PU'] = deepcopy(upgradeProperties[2026][key])
2528 upgradeProperties[2026][key+
'PU'][
'ScenToRun'] = [
'GenSimHLBeamSpot',
'DigiTriggerPU',
'RecoGlobalPU',
'HARVESTGlobalPU']
2531 defaultDataSets = {}
2532 for year
in upgradeKeys:
2533 for key
in upgradeKeys[year]:
2534 if 'PU' in key:
continue 2535 defaultDataSets[key] =
'' 2543 upgradeFragments = OrderedDict([
2545 (
'SingleElectronPt10_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronPt10')),
2546 (
'SingleElectronPt35_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronPt35')),
2547 (
'SingleElectronPt1000_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SingleElectronPt1000')),
2554 (
'FourMuExtendedPt_1_200_pythia8_cfi',
UpgradeFragment(
Kby(10,100),
'FourMuExtendedPt1_200')),
2555 (
'TenMuExtendedE_0_200_pythia8_cfi',
UpgradeFragment(
Kby(10,100),
'TenMuExtendedE_0_200')),
2556 (
'DoubleElectronPt10Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElPt10Extended')),
2557 (
'DoubleElectronPt35Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElPt35Extended')),
2558 (
'DoubleElectronPt1000Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SingleElPt1000Extended')),
2559 (
'DoubleGammaPt10Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleGammaPt10Extended')),
2560 (
'DoubleGammaPt35Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SingleGammaPt35Extended')),
2561 (
'DoubleMuPt1Extended_pythia8_cfi',
UpgradeFragment(
Kby(25,100),
'SingleMuPt1Extended')),
2562 (
'DoubleMuPt10Extended_pythia8_cfi',
UpgradeFragment(
Kby(25,100),
'SingleMuPt10Extended')),
2563 (
'DoubleMuPt100Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleMuPt100Extended')),
2564 (
'DoubleMuPt1000Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleMuPt1000Extended')),
2567 (
'MinBias_13TeV_pythia8_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(90,100),
'MinBias_13')),
2570 (
'QCD_Pt_600_800_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_600_800_13')),
2571 (
'Wjet_Pt_80_120_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'Wjet_Pt_80_120_14TeV')),
2572 (
'Wjet_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Wjet_Pt_3000_3500_14TeV')),
2574 (
'QCD_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_3000_3500_14TeV')),
2575 (
'QCD_Pt_80_120_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'QCD_Pt_80_120_14TeV')),
2576 (
'H200ChargedTaus_Tauola_14TeV_cfi',
UpgradeFragment(
Kby(9,100),
'Higgs200ChargedTaus_14TeV')),
2580 (
'ZTT_Tauola_All_hadronic_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,100),
'ZTT_14TeV')),
2581 (
'H130GGgluonfusion_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'H130GGgluonfusion_14TeV')),
2582 (
'PhotonJet_Pt_10_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'PhotonJets_Pt_10_14TeV')),
2583 (
'QQH1352T_Tauola_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'QQH1352T_Tauola_14TeV')),
2587 (
'QCDForPF_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(50,100),
'QCD_FlatPt_15_3000HS_14')),
2589 (
'DYToTauTau_M-50_14TeV_pythia8_tauola_cff',
UpgradeFragment(
Kby(9,100),
'DYtoTauTau_M_50_14TeV')),
2591 (
'QCD_Pt_80_120_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'QCD_Pt_80_120_13')),
2592 (
'H125GGgluonfusion_13TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'H125GGgluonfusion_13')),
2593 (
'QCD_Pt20toInf_MuEnrichedPt15_14TeV_TuneCP5_cff',
UpgradeFragment(
Kby(19565, 217391),
'QCD_Pt20toInfMuEnrichPt15_14')),
2595 (
'QCD_Pt15To7000_Flat_14TeV_TuneCP5_cff',
UpgradeFragment(
Kby(9,50),
'QCD_Pt15To7000_Flat_14')),
2596 (
'H125GGgluonfusion_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'H125GGgluonfusion_14')),
2597 (
'QCD_Pt_600_800_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_600_800_14')),
2600 (
'H200ChargedTaus_Tauola_13TeV_cfi',
UpgradeFragment(
Kby(9,50),
'Higgs200ChargedTaus_13')),
2601 (
'ADDMonoJet_13TeV_d3MD3_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'ADDMonoJet_d3MD3_13')),
2603 (
'QCD_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_3000_3500_13')),
2610 (
'PhotonJet_Pt_10_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'PhotonJets_Pt_10_13')),
2612 (
'Wjet_Pt_80_120_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Wjet_Pt_80_120_13')),
2613 (
'Wjet_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Wjet_Pt_3000_3500_13')),
2614 (
'SMS-T1tttt_mGl-1500_mLSP-100_13TeV-pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SMS-T1tttt_mGl-1500_mLSP-100_13')),
2615 (
'QCDForPF_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(50,100),
'QCD_FlatPt_15_3000HS_13')),
2616 (
'PYTHIA8_PhiToMuMu_TuneCUETP8M1_13TeV_cff',
UpgradeFragment(
Kby(9,50),
'PhiToMuMu_13')),
2617 (
'RSKKGluon_m3000GeV_13TeV_TuneCUETP8M1_cff',
UpgradeFragment(
Kby(9,50),
'RSKKGluon_m3000GeV_13')),
2621 (
'Upsilon1SToMuMu_forSTEAM_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Upsilon1SToMuMu_13')),
2622 (
'EtaBToJpsiJpsi_forSTEAM_TuneCUEP8M1_13TeV_cfi',
UpgradeFragment(
Kby(9,50),
'EtaBToJpsiJpsi_13')),
2623 (
'JpsiMuMu_Pt-8_forSTEAM_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(3100,100000),
'JpsiMuMu_Pt-8')),
2624 (
'BuMixing_BMuonFilter_forSTEAM_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(900,10000),
'BuMixing_13')),
2625 (
'HSCPstop_M_200_TuneCUETP8M1_13TeV_pythia8_cff',
UpgradeFragment(
Kby(9,50),
'HSCPstop_M_200_13')),
2626 (
'RSGravitonToGammaGamma_kMpl01_M_3000_TuneCUETP8M1_13TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'RSGravitonToGaGa_13')),
2627 (
'WprimeToENu_M-2000_TuneCUETP8M1_13TeV-pythia8_cff',
UpgradeFragment(
Kby(9,50),
'WpToENu_M-2000_13')),
2628 (
'DisplacedSUSY_stopToBottom_M_800_500mm_TuneCP5_13TeV_pythia8_cff',
UpgradeFragment(
Kby(9,50),
'DisplacedSUSY_stopToB_M_800_500mm_13')),
2630 (
'FlatRandomPtAndDxyGunProducer_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuonsDxy_0_500')),
2632 (
'SinglePiPt25Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SinglePiPt25Eta1p7_2p7')),
2633 (
'SingleMuPt15Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SingleMuPt15Eta1p7_2p7')),
2634 (
'SingleGammaPt25Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SingleGammaPt25Eta1p7_2p7')),
2635 (
'SingleElectronPt15Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronPt15Eta1p7_2p7')),
2637 (
'CloseByParticle_Photon_ERZRanges_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByParticleGun')),
2638 (
'CE_E_Front_300um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_E_Front_300um')),
2639 (
'CE_E_Front_200um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_E_Front_200um')),
2640 (
'CE_E_Front_120um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_E_Front_120um')),
2644 (
'CE_H_Coarse_Scint_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_H_Coarse_Scint')),
2645 (
'CE_H_Coarse_300um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_H_Coarse_300um')),
2646 (
'SingleElectronFlatPt2To100_cfi',
UpgradeFragment(
Kby(9,100),
'SingleEFlatPt2To100')),
2649 (
'SingleGammaFlatPt8To150_cfi',
UpgradeFragment(
Kby(9,100),
'SingleGammaFlatPt8To150')),
2652 (
'FlatRandomPtAndDxyGunProducer_MuPt2To10_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt2To10')),
2653 (
'FlatRandomPtAndDxyGunProducer_MuPt10To30_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt10To30')),
2654 (
'FlatRandomPtAndDxyGunProducer_MuPt30To100_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt30To100')),
2655 (
'B0ToKstarMuMu_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(304,3030),
'B0ToKstarMuMu_14TeV')),
2657 (
'BsToJpsiGamma_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(2500,25000),
'BsToJpsiGamma_14TeV')),
2658 (
'BsToJpsiPhi_mumuKK_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(910,9090),
'BsToJpsiPhi_mumuKK_14TeV')),
2660 (
'BsToPhiPhi_KKKK_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(556,5555),
'BsToPhiPhi_KKKK_14TeV')),
2661 (
'TauToMuMuMu_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(18939,189393),
'TauToMuMuMu_14TeV')),
2662 (
'BdToKstarEleEle_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(206,2061),
'BdToKstarEleEle_14TeV')),
2664 (
'BuMixing_BMuonFilter_forSTEAM_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(900,10000),
'BuMixing_14')),
2665 (
'Upsilon1SToMuMu_forSTEAM_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'Upsilon1SToMuMu_14')),
2666 (
'TenTau_E_15_500_Eta3p1_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'TenTau_15_500_Eta3p1')),
2667 (
'QCD_Pt_1800_2400_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_1800_2400_14')),
2668 (
'DisplacedSUSY_stopToBottom_M_800_500mm_TuneCP5_14TeV_pythia8_cff',
UpgradeFragment(
Kby(9,50),
'DisplacedSUSY_14TeV')),
2669 (
'GluGluTo2Jets_M_300_2000_14TeV_Exhume_cff',
UpgradeFragment(
Kby(9,100),
'GluGluTo2Jets_14TeV')),
2670 (
'TTbarToDilepton_mt172p5_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'TTbarToDilepton_14TeV')),
2671 (
'QQToHToTauTau_mh125_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'QQToHToTauTau_14TeV')),
2672 (
'ZpToEE_m6000_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'ZpToEE_m6000_14TeV')),
2673 (
'ZpToMM_m6000_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'ZpToMM_m6000_14TeV')),
2674 (
'SMS-T1tttt_mGl-1500_mLSP-100_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SMS-T1tttt_14TeV')),
2675 (
'VBFHZZ4Nu_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'VBFHZZ4Nu_14TeV')),
2676 (
'EtaBToJpsiJpsi_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'EtaBToJpsiJpsi_14TeV')),
2678 (
'WprimeToLNu_M2000_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(21,50),
'WprimeToLNu_M2000_14TeV')),
2680 (
'DoubleElectronFlatPt1p5To8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronFlatPt1p5To8')),
2681 (
'DoubleMuFlatPt1p5To8Dxy100GunProducer_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt1p5To8Dxy100')),
2682 (
'DoubleMuFlatPt2To100Dxy100GunProducer_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt2To100Dxy100')),
2683 (
'BuToJPsiPrimeKToJPsiPiPiK_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(223,2222),
'BuToJPsiPrimeKToJPsiPiPiK_14TeV')),
2684 (
'Psi2SToJPsiPiPi_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(45,500),
'Psi2SToJPsiPiPi_14TeV')),
2685 (
'XiMinus_13p6TeV_SoftQCDInel_TuneCP5_cfi',
UpgradeFragment(
Kby(8000,90000),
'XiMinus_13p6TeV')),
2686 (
'Chib1PToUpsilon1SGamma_MuFilter_TuneCP5_14TeV-pythia8_evtgen_cfi',
UpgradeFragment(
Kby(3600,36000),
'Chib1PToUpsilon1SGamma_14TeV')),
2687 (
'ChicToJpsiGamma_MuFilter_TuneCP5_14TeV_pythia8_evtgen_cfi',
UpgradeFragment(
Kby(2000,20000),
'ChicToJpsiGamma_14TeV')),
2688 (
'B0ToJpsiK0s_JMM_Filter_DGamma0_TuneCP5_13p6TeV-pythia8-evtgen_cfi',
UpgradeFragment(
Kby(38000,38000),
'B0ToJpsiK0s_DGamma0_13p6TeV')),
2689 (
'DStarToD0Pi_D0ToKsPiPi_inclusive_SoftQCD_TuneCP5_13p6TeV-pythia8-evtgen',
UpgradeFragment(
Kby(38000,38000),
'DStarToD0Pi_D0ToKsPiPi_13p6TeV')),
2690 (
'LbToJpsiLambda_JMM_Filter_DGamma0_TuneCP5_13p6TeV-pythia8-evtgen_cfi',
UpgradeFragment(
Mby(66,660000),
'LbToJpsiLambda_DGamma0_13p6TeV')),
2691 (
'LbToJpsiXiK0sPi_JMM_Filter_DGamma0_TuneCP5_13p6TeV-pythia8-evtgen_cfi',
UpgradeFragment(
Mby(50,500000),
'LbToJpsiXiK0sPr_DGamma0_13p6TeV')),
2692 (
'OmegaMinus_13p6TeV_SoftQCDInel_TuneCP5_cfi',
UpgradeFragment(
Mby(100,1000000),
'OmegaMinus_13p6TeV')),
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 condition(self, fragment, stepList, key, hasHarvest)
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)
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 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 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 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)
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 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 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 getStepNamePU(self, step, extra="")
def __init__(self, digi={}, reco={}, harvest={}, kwargs)