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',
1062 '--customise' :
'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling',
1065 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
1066 '--procModifiers':
'alpaka',
1067 '--customise' :
'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling',
1070 '-s':
'HARVESTING:@ecalOnlyValidation+@ecal' 1072 suffix =
'Patatrack_ECALOnlyAlpaka',
1085 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
1088 '-s':
'HARVESTING:@ecalOnlyValidation+@ecal' 1090 suffix =
'Patatrack_ECALOnlyCPU',
1101 '--procModifiers':
'gpu' 1104 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
1105 '--procModifiers':
'gpu' 1108 '-s':
'HARVESTING:@ecalOnlyValidation+@ecal' 1110 suffix =
'Patatrack_ECALOnlyGPU',
1121 '--accelerators':
'gpu-nvidia',
1122 '--procModifiers':
'gpu' 1125 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly',
1126 '--accelerators':
'gpu-nvidia',
1127 '--procModifiers':
'gpuValidation' 1130 '-s':
'HARVESTING:@ecalOnlyValidation+@ecal' 1132 suffix =
'Patatrack_ECALOnlyGPU_Validation',
1142 '--procModifiers':
'gpu' 1145 '-s':
'RAW2DIGI:RawToDigi_ecalOnly,RECO:reconstruction_ecalOnly',
1146 '--procModifiers':
'gpu',
1147 '--customise' :
'RecoLocalCalo/Configuration/customizeEcalOnlyForProfiling.customizeEcalOnlyForProfilingGPUOnly' 1150 suffix =
'Patatrack_ECALOnlyGPU_Profiling',
1163 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation,DQM:@hcalOnly+@hcal2Only',
1166 '-s':
'HARVESTING:@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1168 suffix =
'Patatrack_HCALOnlyCPU',
1179 '--procModifiers':
'gpu' 1182 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation,DQM:@hcalOnly+@hcal2Only',
1183 '--procModifiers':
'gpu' 1186 '-s':
'HARVESTING:@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1188 suffix =
'Patatrack_HCALOnlyGPU',
1199 '--accelerators':
'gpu-nvidia',
1200 '--procModifiers':
'gpu' 1203 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation,DQM:@hcalOnly+@hcal2Only',
1204 '--accelerators':
'gpu-nvidia',
1205 '--procModifiers':
'gpuValidation' 1208 '-s':
'HARVESTING:@hcalOnlyValidation+@hcal' 1210 suffix =
'Patatrack_HCALOnlyGPU_Validation',
1220 '--procModifiers':
'gpu' 1223 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly',
1224 '--procModifiers':
'gpu',
1225 '--customise' :
'RecoLocalCalo/Configuration/customizeHcalOnlyForProfiling.customizeHcalOnlyForProfilingGPUOnly' 1228 suffix =
'Patatrack_HCALOnlyGPU_Profiling',
1237 '--procModifiers':
'alpaka',
1238 '--customise' :
'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling',
1241 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation,DQM:@hcalOnly+@hcal2Only',
1242 '--procModifiers':
'alpaka',
1243 '--customise' :
'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling',
1246 '-s':
'HARVESTING:@hcalOnlyValidation' 1248 suffix =
'Patatrack_HCALOnlyAlpaka_Validation',
1257 '--procModifiers':
'alpaka',
1258 '--customise' :
'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling',
1261 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnlyLegacy+reconstruction_hcalOnly,VALIDATION:@hcalOnlyValidation+pfClusterHBHEOnlyAlpakaComparisonSequence,DQM:@hcalOnly+@hcal2Only+hcalOnlyOfflineSourceSequenceAlpaka',
1262 '--procModifiers':
'alpaka',
1263 '--customise' :
'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling',
1266 '-s':
'HARVESTING:@hcalOnlyValidation' 1268 suffix =
'Patatrack_HCALOnlyGPUandAlpaka_Validation',
1277 '--procModifiers':
'alpaka',
1280 '-s':
'RAW2DIGI:RawToDigi_hcalOnly,RECO:reconstruction_hcalOnly',
1281 '--procModifiers':
'alpaka' 1284 suffix =
'Patatrack_HCALOnlyAlpaka_Profiling',
1294 '--procModifiers':
'alpaka',
1295 '--customise' :
'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling',
1299 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1300 '--procModifiers':
'alpaka,pixelNtupletFit',
1301 '--customise' :
'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling',
1306 suffix =
'Patatrack_FullRecoAlpaka',
1319 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1320 '--procModifiers':
'pixelNtupletFit' 1323 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1325 suffix =
'Patatrack_AllCPU',
1336 '--procModifiers':
'gpu' 1339 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1340 '--procModifiers':
'pixelNtupletFit,gpu' 1343 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1345 suffix =
'Patatrack_AllGPU',
1356 '--accelerators':
'gpu-nvidia',
1357 '--procModifiers':
'gpu' 1360 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1361 '--accelerators':
'gpu-nvidia',
1362 '--procModifiers':
'pixelNtupletFit,gpuValidation' 1365 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only',
1366 '--procModifiers':
'gpuValidation' 1368 suffix =
'Patatrack_AllGPU_Validation',
1386 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1387 '--procModifiers':
'pixelNtupletFit' 1390 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1392 suffix =
'Patatrack_AllTripletsCPU',
1403 '--procModifiers':
'gpu' 1406 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1407 '--procModifiers':
'pixelNtupletFit,gpu' 1410 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only' 1412 suffix =
'Patatrack_AllTripletsGPU',
1423 '--accelerators':
'gpu-nvidia',
1424 '--procModifiers':
'gpu' 1427 '-s':
'RAW2DIGI:RawToDigi_pixelOnly+RawToDigi_ecalOnly+RawToDigi_hcalOnly,RECO:reconstruction_pixelTrackingOnly+reconstruction_ecalOnly+reconstruction_hcalOnly,VALIDATION:@pixelTrackingOnlyValidation+@ecalOnlyValidation+@hcalOnlyValidation,DQM:@pixelTrackingOnlyDQM+@ecalOnly+@hcalOnly+@hcal2Only',
1428 '--accelerators':
'gpu-nvidia',
1429 '--procModifiers':
'pixelNtupletFit,gpuValidation' 1432 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM+@ecalOnlyValidation+@ecal+@hcalOnlyValidation+@hcalOnly+@hcal2Only',
1433 '--procModifiers':
'gpuValidation' 1435 suffix =
'Patatrack_AllTripletsGPU_Validation',
1454 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1455 '--procModifiers':
'pixelNtupletFit' 1460 suffix =
'Patatrack_FullRecoCPU',
1471 '--procModifiers':
'gpu' 1475 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1476 '--procModifiers':
'pixelNtupletFit,gpu' 1481 suffix =
'Patatrack_FullRecoGPU',
1492 '--accelerators':
'gpu-nvidia',
1493 '--procModifiers':
'gpu' 1497 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1498 '--accelerators':
'gpu-nvidia',
1499 '--procModifiers':
'pixelNtupletFit,gpuValidation' 1504 suffix =
'Patatrack_FullRecoGPU_Validation',
1518 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1519 '--procModifiers':
'pixelNtupletFit',
1520 '--customise' :
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1525 suffix =
'Patatrack_FullRecoTripletsCPU',
1532 '--datatier':
'GEN-SIM-RAW',
1533 '--eventcontent':
'RAWSIM',
1537 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM',
1538 '--procModifiers':
'pixelNtupletFit',
1539 '--customise' :
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets',
1540 '--datatier':
'AODSIM',
1541 '--eventcontent':
'AODSIM',
1544 suffix =
'Patatrack_FullRecoTripletsCPUProdLike',
1555 '--procModifiers':
'gpu' 1559 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1560 '--procModifiers':
'pixelNtupletFit,gpu',
1561 '--customise':
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1566 suffix =
'Patatrack_FullRecoTripletsGPU',
1573 '--procModifiers':
'gpu',
1574 '--datatier':
'GEN-SIM-RAW',
1575 '--eventcontent':
'RAWSIM',
1579 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM',
1580 '--procModifiers':
'pixelNtupletFit,gpu',
1581 '--customise':
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets',
1582 '--datatier':
'AODSIM',
1583 '--eventcontent':
'AODSIM',
1586 suffix =
'Patatrack_FullRecoTripletsGPUProdLike',
1597 '--accelerators':
'gpu-nvidia',
1598 '--procModifiers':
'gpu' 1602 '-s':
'RAW2DIGI:RawToDigi+RawToDigi_pixelOnly,L1Reco,RECO:reconstruction+reconstruction_pixelTrackingOnly,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM+@pixelTrackingOnlyDQM',
1603 '--accelerators':
'gpu-nvidia',
1604 '--procModifiers':
'pixelNtupletFit,gpuValidation',
1605 '--customise' :
'RecoTracker/Configuration/customizePixelTracksForTriplets.customizePixelTracksForTriplets' 1610 suffix =
'Patatrack_FullRecoTripletsGPU_Validation',
1616 '--procModifiers':
'alpaka',
1617 '--customise' :
'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling',
1620 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
1621 '--procModifiers':
'alpaka',
1622 '--customise' :
'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling',
1625 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 1627 suffix =
'Patatrack_PixelOnlyAlpaka',
1633 '--procModifiers':
'alpaka',
1634 '--customise' :
'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling',
1637 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly,VALIDATION:@pixelTrackingOnlyValidation,DQM:@pixelTrackingOnlyDQM',
1638 '--procModifiers':
'alpakaValidation',
1639 '--customise' :
'HeterogeneousCore/AlpakaServices/customiseAlpakaServiceMemoryFilling.customiseAlpakaServiceMemoryFilling',
1642 '-s':
'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM' 1644 suffix =
'Patatrack_PixelOnlyAlpaka_Validation',
1650 '--procModifiers':
'alpaka',
1653 '-s':
'RAW2DIGI:RawToDigi_pixelOnly,RECO:reconstruction_pixelTrackingOnly',
1654 '--procModifiers':
'alpaka',
1655 '--customise' :
'RecoTracker/Configuration/customizePixelOnlyForProfiling.customizePixelOnlyForProfilingGPUOnly' 1658 suffix =
'Patatrack_PixelOnlyAlpaka_Profiling',
1665 def setup_(self, step, stepName, stepDict, k, properties):
1666 if 'GenSimHLBeamSpot14' in step:
1667 stepDict[stepName][k] =
merge([{
'--eventcontent':
'RAWSIM',
'--datatier':
'GEN-SIM'},stepDict[step][k]])
1668 elif 'Digi' in step
and 'Trigger' not in step:
1669 stepDict[stepName][k] =
merge([{
'-s':
'DIGI,L1,DIGI2RAW,HLT:@relval2022',
'--datatier':
'GEN-SIM-RAW',
'--eventcontent':
'RAWSIM'}, stepDict[step][k]])
1670 elif 'DigiTrigger' in step:
1671 stepDict[stepName][k] =
merge([{
'-s':
'DIGI,L1TrackTrigger,L1,DIGI2RAW,HLT:@fake2',
'--datatier':
'GEN-SIM-RAW',
'--eventcontent':
'RAWSIM'}, stepDict[step][k]])
1672 elif 'Reco' in step:
1673 stepDict[stepName][k] =
merge([{
'-s':
'RAW2DIGI,L1Reco,RECO,RECOSIM',
'--datatier':
'AODSIM',
'--eventcontent':
'AODSIM'}, stepDict[step][k]])
1674 elif 'MiniAOD' in step:
1676 stepDict[stepName][k] = deepcopy(stepDict[step][k])
1677 elif 'ALCA' in step
or 'HARVEST' in step:
1679 stepDict[stepName][k] =
None 1681 stepDict[stepName][k] =
merge([{
'--filein':
'file:step4.root',
'-s':
'NANO',
'--datatier':
'NANOAODSIM',
'--eventcontent':
'NANOEDMAODSIM'}, stepDict[step][k]])
1683 return fragment==
"TTbar_14TeV" and (
'2026' in key
or '2021' in key
or '2023' in key)
1686 'GenSimHLBeamSpot14',
1698 'HARVESTNanoFakeHLT',
1705 'GenSimHLBeamSpot14',
1717 'HARVESTNanoFakeHLT',
1723 suffix =
'_ProdLike',
1728 def __init__(self, suffix, offset, fixedPU,
1731 'GenSimHLBeamSpot14',
1743 'HARVESTNanoFakeHLT',
1749 super(UpgradeWorkflow_ProdLikeRunningPU, self).
__init__(steps, PU, suffix, offset)
1751 def setupPU_(self, step, stepName, stepDict, k, properties):
1753 if stepDict[stepName][k]
is not None and '--pileup' in stepDict[stepName][k]:
1754 stepDict[stepName][k][
'--pileup'] =
'AVE_' +
str(self.
__fixedPU) +
'_BX_25ns' 1757 return (fragment==
"TTbar_14TeV")
and ((
'2026' in key)
or (
'2021' in key
and self.
__fixedPU<=100))
1764 suffix =
'_ProdLikePU10',
1770 suffix =
'_ProdLikePU20',
1776 suffix =
'_ProdLikePU30',
1782 suffix =
'_ProdLikePU40',
1788 suffix =
'_ProdLikePU50',
1794 suffix =
'_ProdLikePU55',
1800 suffix =
'_ProdLikePU60',
1806 suffix =
'_ProdLikePU65',
1812 suffix =
'_ProdLikePU70',
1818 suffix =
'_ProdLikePU80',
1824 suffix =
'_ProdLikePU90',
1830 suffix =
'_ProdLikePU100',
1836 suffix =
'_ProdLikePU120',
1842 suffix =
'_ProdLikePU140',
1848 suffix =
'_ProdLikePU160',
1854 suffix =
'_ProdLikePU180',
1860 def setup_(self, step, stepName, stepDict, k, properties):
1861 if 'HARVEST' in step:
1862 stepDict[stepName][k] =
merge([{
'--filein':
'file:step3_inDQM.root'}, stepDict[step][k]])
1864 stepDict[stepName][k] =
merge([stepDict[step][k]])
1866 return fragment==
"TTbar_14TeV" and '2026' in key
1869 'GenSimHLBeamSpot14',
1876 'GenSimHLBeamSpot14',
1882 suffix =
'_HLT75e33',
1887 def setup_(self, step, stepName, stepDict, k, properties):
1888 if 'DigiTrigger' in step:
1889 stepDict[stepName][k] =
merge([{
'-s':
'DIGI:pdigi_valid,L1TrackTrigger,L1,DIGI2RAW,HLT:@relval2026'}, stepDict[step][k]])
1891 return fragment==
"TTbar_14TeV" and '2026' in key
1899 suffix =
'_HLTwDIGI75e33',
1904 def setup_(self, step, stepName, stepDict, k, properties):
1906 stepDict[stepName][k] =
merge([{
'-s':
'DIGI:pdigi_valid,L1,L1TrackTrigger,L1P2GT,DIGI2RAW,HLT:@relval2026'}, stepDict[step][k]])
1908 return '2026' in key
1917 suffix =
'_L1Complete',
1922 def setup_(self, step, stepName, stepDict, k, properties):
1923 if 'GenSim' in step:
1924 custNew =
"SimG4Core/Application/NeutronBGforMuonsXS_cff.customise" 1926 custNew =
"SLHCUpgradeSimulations/Configuration/customise_mixing.customise_Mix_LongLived_Neutrons" 1927 stepDict[stepName][k] = deepcopy(stepDict[step][k])
1928 if '--customise' in stepDict[stepName][k].
keys():
1929 stepDict[stepName][k][
'--customise'] +=
","+custNew
1931 stepDict[stepName][k][
'--customise'] = custNew
1938 'GenSimHLBeamSpot14',
1946 suffix =
'_Neutron',
1950 upgradeWFs[
'Neutron'].neutronKeys = [x
for x
in upgradeKeys[2026]
if 'PU' not in x]
1951 upgradeWFs[
'Neutron'].neutronFrags = [
'ZMM_14',
'MinBias_14TeV']
1954 def setup_(self, step, stepName, stepDict, k, properties):
1955 stepDict[stepName][k] =
merge([{
'--procModifiers':
'run2_HECollapse_2018'}, stepDict[step][k]])
1957 return fragment==
"TTbar_13" and '2018' in key
1975 suffix =
'_heCollapse',
1981 def __init__(self, digi = {}, reco = {}, harvest = {}, **kwargs):
1983 super(UpgradeWorkflow_ecalDevel, self).
__init__(
2001 def setup_(self, step, stepName, stepDict, k, properties):
2003 mods = {
'--era': stepDict[step][k][
'--era']+
',phase2_ecal_devel'}
2005 mods[
'-s'] =
'DIGI:pdigi_valid,DIGI2RAW' 2007 elif 'Reco' in step:
2008 mods[
'-s'] =
'RAW2DIGI,RECO:reconstruction_ecalOnly,VALIDATION:@ecalOnlyValidation,DQM:@ecalOnly' 2009 mods[
'--datatier'] =
'GEN-SIM-RECO,DQMIO' 2010 mods[
'--eventcontent'] =
'FEVTDEBUGHLT,DQM' 2012 elif 'HARVEST' in step:
2013 mods[
'-s'] =
'HARVESTING:@ecalOnlyValidation+@ecal' 2015 stepDict[stepName][k] =
merge([mods, stepDict[step][k]])
2018 stepDict[stepName][k] =
None 2021 return fragment==
"TTbar_14TeV" and '2026' in key
2025 suffix =
'_ecalDevel',
2031 reco = {
'--procModifiers':
'gpu'},
2032 suffix =
'_ecalDevelGPU',
2038 def __init__(self, suffix, offset, ecalTPPh2, ecalMod,
2042 'GenSimHLBeamSpot14',
2043 'GenSimHLBeamSpotHGCALCloseBy',
2053 'GenSimHLBeamSpot14',
2054 'GenSimHLBeamSpotHGCALCloseBy',
2061 super(UpgradeWorkflow_ECalComponent, self).
__init__(steps, PU, suffix, offset)
2065 def setup_(self, step, stepName, stepDict, k, properties):
2066 stepDict[stepName][k] = deepcopy(stepDict[step][k])
2069 stepDict[stepName][k] =
merge([{
'--procModifiers':self.
__ecalMod},stepDict[step][k]])
2072 stepDict[stepName][k] =
merge([{
'--procModifiers':self.
__ecalMod},stepDict[step][k]])
2074 mods = {
'--era': stepDict[step][k][
'--era']+
',phase2_ecal_devel,phase2_ecalTP_devel'}
2075 mods[
'-s'] =
'DIGI:pdigi_valid,DIGI2RAW,HLT:@fake2' 2076 stepDict[stepName][k] =
merge([mods, stepDict[step][k]])
2077 if 'RecoGlobal' in step:
2078 stepDict[stepName][k] =
merge([{
'-s':
'RAW2DIGI,RECO,RECOSIM,PAT',
2079 '--datatier':
'GEN-SIM-RECO',
2080 '--eventcontent':
'FEVTDEBUGHLT',
2081 }, stepDict[step][k]])
2082 if 'HARVESTGlobal' in step:
2083 stepDict[stepName][k] =
None 2084 if 'ALCAPhase2' in step:
2085 stepDict[stepName][k] =
None 2088 return (
'2021' in key
or '2023' in key
or '2026' in key)
2091 suffix =
'_ecalComponent',
2094 ecalMod =
'ecal_component',
2098 suffix =
'_ecalComponentFSW',
2101 ecalMod =
'ecal_component_finely_sampled_waveforms',
2105 suffix =
'_ecalTPPh2',
2107 ecalTPPh2 =
'phase2_ecal_devel,phase2_ecalTP_devel',
2112 suffix =
'_ecalTPPh2Component',
2114 ecalTPPh2 =
'phase2_ecal_devel,phase2_ecalTP_devel',
2115 ecalMod =
'ecal_component',
2119 suffix =
'_ecalTPPh2ComponentFSW',
2121 ecalTPPh2 =
'phase2_ecal_devel,phase2_ecalTP_devel',
2122 ecalMod =
'ecal_component_finely_sampled_waveforms',
2126 def setup_(self, step, stepName, stepDict, k, properties):
2127 myGT=stepDict[step][k][
'--conditions']
2129 stepDict[stepName][k] =
merge([{
'-n':
'1',
'--magField':
'0T',
'--conditions':myGT}, stepDict[step][k]])
2130 def setupPU_(self, step, stepName, stepDict, k, properties):
2132 stepDict[stepName][k] =
merge([{
'-n':
'1'}, stepDict[step][k]])
2134 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)
2146 'HARVESTNanoFakeHLT',
2158 'HARVESTNanoFakeHLT',
2165 def setup_(self, step, stepName, stepDict, k, properties):
2166 if 'Reco' in step
and 'Run2_2018' in stepDict[step][k][
'--era']:
2167 stepDict[stepName][k] =
merge([{
'--era':
'Run2_2018,bParking'}, stepDict[step][k]])
2169 return fragment==
"TTbar_13" and '2018' in key
2176 suffix =
'_ParkingBPH',
2182 def setup_(self, step, stepName, stepDict, k, properties):
2184 thisStep = stepDict[step][k][
"-s"]
2186 if "DQM:" in thisStep:
2187 stepDict[stepName][k] =
merge([{
'-s': thisStep.replace(
"DQM:",
"DQM:@heavyFlavor+")}, stepDict[step][k]])
2188 elif "DQM" in thisStep:
2189 stepDict[stepName][k] =
merge([{
'-s': thisStep.replace(
"DQM",
"DQM:@heavyFlavor")}, stepDict[step][k]])
2191 stepDict[stepName][k] =
merge([{
'-s': thisStep +
",DQM:@heavyFlavor"}, stepDict[step][k]])
2194 return any(frag
in fragment
for frag
in self.
__frags)
2204 suffix =
'_HeavyFlavor',
2210 def setup_(self, step, stepName, stepDict, k, properties):
2212 stepDict[stepName][k] =
merge([{
'--customise':
'PhysicsTools/NanoAOD/custom_jme_cff.PrepJMECustomNanoAOD'}, stepDict[step][k]])
2214 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)
2222 suffix =
'_JMENano',
2229 def setup_(self, step, stepName, stepDict, k, properties):
2230 if 'Digi' in step
or 'Reco' in step:
2231 stepDict[stepName][k] =
merge([{
'--customise':
'SLHCUpgradeSimulations/Configuration/aging.customise_aging_'+self.
lumi}, stepDict[step][k]])
2233 return '2026' in key
2252 suffix =
'Aging1000',
2255 upgradeWFs[
'Aging1000'].lumi =
'1000' 2256 upgradeWFs[
'Aging3000'] = deepcopy(upgradeWFs[
'Aging1000'])
2257 upgradeWFs[
'Aging3000'].suffix =
'Aging3000' 2258 upgradeWFs[
'Aging3000'].offset = 0.103
2259 upgradeWFs[
'Aging3000'].lumi =
'3000' 2266 def setup_(self, step, stepName, stepDict, k, properties):
2268 stepDict[stepName][k] =
merge([{
'--customise':
'SimTracker/SiPhase2Digitizer/customizeForOTInefficiency.customizeSiPhase2OTInefficiency'+self.
percent+
'Percent'}, stepDict[step][k]])
2270 return fragment==
"TTbar_14TeV" and '2026' in key
2281 suffix =
'_OTInefficiency',
2284 upgradeWFs[
'OTInefficiency'].percent =
'Zero' 2287 upgradeWFs[
'OTInefficiency1PC'] = deepcopy(upgradeWFs[
'OTInefficiency'])
2288 upgradeWFs[
'OTInefficiency1PC'].suffix =
'_OTInefficiency1PC' 2289 upgradeWFs[
'OTInefficiency1PC'].offset = 0.112
2290 upgradeWFs[
'OTInefficiency1PC'].percent =
'One' 2293 upgradeWFs[
'OTInefficiency5PC'] = deepcopy(upgradeWFs[
'OTInefficiency'])
2294 upgradeWFs[
'OTInefficiency5PC'].suffix =
'_OTInefficiency5PC' 2295 upgradeWFs[
'OTInefficiency5PC'].offset = 0.113
2296 upgradeWFs[
'OTInefficiency5PC'].percent =
'Five' 2299 upgradeWFs[
'OTInefficiency10PC'] = deepcopy(upgradeWFs[
'OTInefficiency'])
2300 upgradeWFs[
'OTInefficiency10PC'].suffix =
'_OTInefficiency10PC' 2301 upgradeWFs[
'OTInefficiency10PC'].offset = 0.114
2302 upgradeWFs[
'OTInefficiency10PC'].percent =
'Ten' 2308 def setup_(self, step, stepName, stepDict, k, properties):
2310 stepDict[stepName][k] =
merge([{
'--customise':
'SimTracker/SiPhase2Digitizer/customizeForPhase2TrackerSignalShape.customizeSiPhase2ITSignalShape'}, stepDict[step][k]])
2312 return '2026' in key
2323 suffix =
'_ITSignalShape',
2333 digiPremixLocalPileup = {
2334 "--filein":
"file:step1.root",
2335 "--pileup_input":
"file:step2.root" 2340 def setup_(self, step, stepName, stepDict, k, properties):
2342 stepDict[stepName][k] =
merge([stepDict[step][k]])
2343 def setupPU_(self, step, stepName, stepDict, k, properties):
2345 if "GenSim" in stepName:
2346 stepNamePmx = stepName.replace(
'GenSim',
'Premix')
2347 if not stepNamePmx
in stepDict: stepDict[stepNamePmx] = {}
2348 stepDict[stepNamePmx][k] =
merge([
2350 '-s':
'GEN,SIM,DIGI:pdigi_valid',
2351 '--datatier':
'PREMIX',
2352 '--eventcontent':
'PREMIX',
2353 '--procModifiers':
'premix_stage1' 2355 stepDict[stepName][k]
2357 if "ProdLike" in self.
suffix:
2358 stepDict[stepNamePmx][k] =
merge([{
'-s':
'GEN,SIM,DIGI'},stepDict[stepNamePmx][k]])
2360 elif "Digi" in step
or "Reco" in step:
2363 if d
is None:
return 2366 for s
in d[
"-s"].
split(
","):
2367 if s ==
"DIGI" or "DIGI:" in s:
2368 tmpsteps.extend([s,
"DATAMIX"])
2372 "--datamix" :
"PreMix",
2373 "--procModifiers":
"premix_stage2"},
2376 if "_PMXS1S2" in self.
suffix:
2377 d =
merge([digiPremixLocalPileup, d])
2378 elif "Reco" in step:
2379 if "--procModifiers" in d:
2380 d[
"--procModifiers"] +=
",premix_stage2" 2382 d[
"--procModifiers"] =
"premix_stage2" 2383 stepDict[stepName][k] = d
2389 filein = d[
"--filein"]
2390 m = re.search(
"step(?P<ind>\d+)_", filein)
2392 d[
"--filein"] = filein.replace(m.group(),
"step%d_"%(
int(m.group(
"ind"))+1))
2393 stepDict[stepName][k] = d
2399 if not any(y
in key
for y
in [
'2021',
'2023',
'2024',
'2026']):
2401 if self.
suffix.endswith(
"S1"):
2402 return "NuGun" in fragment
2404 def workflow_(self, workflows, num, fragment, stepList, key):
2405 fragmentTmp = fragment
2406 if self.
suffix.endswith(
"S1"):
2407 fragmentTmp =
'PREMIXUP' + key[2:].
replace(
"PU",
"").
replace(
"Design",
"") +
'_PU25' 2408 super(UpgradeWorkflowPremix,self).
workflow_(workflows, num, fragmentTmp, stepList, key)
2416 'GenSimHLBeamSpot14',
2444 'GenSimHLBeamSpot14',
2455 suffix =
'_PMXS1S2',
2460 def setupPU_(self, step, stepName, stepDict, k, properties):
2462 if '--pileup' in stepDict[stepName][k]:
2463 stepDict[stepName][k][
'--pileup'] =
'AVE_50_BX_25ns_m3p3' 2464 super(UpgradeWorkflowAdjustPU,self).
setupPU_(step, stepName, stepDict, k, properties)
2467 return super(UpgradeWorkflowAdjustPU,self).
condition(fragment, stepList, key, hasHarvest)
and '2026' in key
2473 'GenSimHLBeamSpot14',
2485 suffix =
'_PMXS1S2PR',
2490 def setup_(self, step, stepName, stepDict, k, properties):
2492 UpgradeWorkflowPremix.setup_(self, step, stepName, stepDict, k, properties)
2493 UpgradeWorkflow_ProdLike.setup_(self, step, stepName, stepDict, k, properties)
2498 for s
in d[
"-s"].
split(
","):
2499 if "DIGI:pdigi_valid" in s:
2500 tmpsteps.append(
"DIGI")
2504 "--eventcontent":
"PREMIXRAW"},
2506 stepDict[stepName][k] = d
2508 stepDict[stepName][k] =
merge([{
'--filein':
'file:step5.root',
'-s':
'NANO',
'--datatier':
'NANOAODSIM',
'--eventcontent':
'NANOEDMAODSIM'}, stepDict[step][k]])
2511 return UpgradeWorkflowPremix.condition(self, fragment, stepList, key, hasHarvest)
and UpgradeWorkflow_ProdLike.condition(self, fragment, stepList, key, hasHarvest)
2529 'HARVESTNanoFakeHLT',
2533 suffix =
'_PMXS2ProdLike',
2542 'GenSimHLBeamSpot14',
2556 'HARVESTNanoFakeHLT',
2560 suffix =
'_PMXS1S2ProdLike',
2565 def setup_(self, step, stepName, stepDict, k, properties):
2566 if 'HARVESTFastRun3' in step:
2567 stepDict[stepName][k] =
merge([{
'-s':
'HARVESTING:@trackingOnlyValidation+@trackingOnlyDQM',
2569 '--era':
'Run3_FastSim',
2570 '--filein':
'file:step1_inDQM.root'}, stepDict[step][k]])
2572 stepDict[stepName][k] =
merge([stepDict[step][k]])
2574 return (
'2021FS' in key
or '2023FS' in key)
2585 suffix =
'_Run3FSTrackingOnly',
2590 def setup_(self, step, stepName, stepDict, k, properties):
2592 stepDict[stepName][k] =
merge([{
'-s':
'GEN,SIM,RECOBEFMIX',
2594 '--era':
'Run3_FastSim',
2595 '--eventcontent':
'FASTPU',
2596 '--datatier':
'GEN-SIM-RECO',
2597 '--relval':
'27000,3000'}, stepDict[step][k]])
2599 stepDict[stepName][k] =
None 2601 return (
'2021FS' in key
or '2023FS' in key)
and fragment==
"MinBias_14TeV" 2609 suffix =
'_Run3FSMBMixing',
2615 def setup_(self, step, stepName, stepDict, k, properties):
2616 if 'Run3' in stepDict[step][k][
'--era']
and 'Fast' not in stepDict[step][k][
'--era']:
2617 if '2023' in stepDict[step][k][
'--conditions']:
2618 stepDict[stepName][k] =
merge([{
'--geometry':
'DD4hepExtended2023'}, stepDict[step][k]])
2620 stepDict[stepName][k] =
merge([{
'--geometry':
'DD4hepExtended2021'}, stepDict[step][k]])
2621 elif 'Phase2' in stepDict[step][k][
'--era']:
2623 dd4hepGeom+=stepDict[step][k][
'--geometry']
2624 stepDict[stepName][k] =
merge([{
'--geometry' : dd4hepGeom,
'--procModifiers':
'dd4hep'}, stepDict[step][k]])
2626 return (
'2021' in key
or '2023' in key
or '2026' in key)
and (
'FS' not in key)
2631 'GenSimHLBeamSpot14',
2643 'HARVESTNanoFakeHLT',
2650 upgradeWFs[
'DD4hep'].allowReuse =
False 2655 def setup_(self, step, stepName, stepDict, k, properties):
2656 if 'Run3' in stepDict[step][k][
'--era']
and 'Fast' not in stepDict[step][k][
'--era']:
2657 stepDict[stepName][k] =
merge([{
'--conditions':
'auto:phase1_2022_realistic',
'--geometry':
'DB:Extended'}, stepDict[step][k]])
2659 return '2021' in key
and 'FS' not in key
2664 'GenSimHLBeamSpot14',
2676 'HARVESTNanoFakeHLT',
2680 suffix =
'_DD4hepDB',
2683 upgradeWFs[
'DD4hepDB'].allowReuse =
False 2686 def setup_(self, step, stepName, stepDict, k, properties):
2687 the_era = stepDict[step][k][
'--era']
2688 if 'Run3' in the_era
and '2023' not in the_era
and '2024' not in the_era
and 'Fast' not in the_era
and "Pb" not in the_era:
2690 tmp_eras = the_era.split(
',')
2691 tmp_eras[tmp_eras.index(
"Run3")] =
'Run3_DDD' 2692 tmp_eras =
','.
join(tmp_eras)
2693 stepDict[stepName][k] =
merge([{
'--conditions':
'auto:phase1_2022_realistic_ddd',
'--geometry':
'DB:Extended',
'--era': tmp_eras}, stepDict[step][k]])
2695 return '2021' in key
and 'FS' not in key
2700 'GenSimHLBeamSpot14',
2712 'HARVESTNanoFakeHLT',
2719 upgradeWFs[
'DDDDB'].allowReuse =
False 2722 def setup_(self, step, stepName, stepDict, k, properties):
2723 stepDict[stepName][k] =
merge([{
'--procModifiers':
'allSonicTriton'}, stepDict[step][k]])
2725 return ((fragment==
'TTbar_13' or fragment==
'TTbar_14TeV')
and '2021' in key) \
2726 or (fragment==
'TTbar_14TeV' and '2026' in key)
2731 'GenSimHLBeamSpot14',
2743 'HARVESTNanoFakeHLT',
2749 'GenSimHLBeamSpot14',
2761 'HARVESTNanoFakeHLT',
2764 suffix =
'_SonicTriton',
2769 offsets = [specialWF.offset
for specialType,specialWF
in upgradeWFs.items()]
2771 dups = set(x
for x
in offsets
if x
in seen
or seen.add(x))
2773 raise ValueError(
"Duplicate special workflow offsets not allowed: "+
','.
join([
str(x)
for x
in dups]))
2775 upgradeProperties = {}
2777 upgradeProperties[2017] = {
2779 'Geom' :
'DB:Extended',
2780 'GT' :
'auto:phase1_2017_realistic',
2781 'HLTmenu':
'@relval2017',
2782 'Era' :
'Run2_2017',
2783 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT',
'ALCA',
'Nano'],
2786 'Geom' :
'DB:Extended',
2787 'GT' :
'auto:phase1_2017_design',
2788 'HLTmenu':
'@relval2017',
2789 'Era' :
'Run2_2017',
2790 'BeamSpot':
'DBdesign',
2791 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT'],
2794 'Geom' :
'DB:Extended',
2795 'GT' :
'auto:phase1_2018_realistic',
2796 'HLTmenu':
'@relval2018',
2797 'Era' :
'Run2_2018',
2798 'BeamSpot':
'DBrealistic',
2799 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT',
'ALCA',
'Nano'],
2802 'Geom' :
'DB:Extended',
2803 'GT' :
'auto:phase1_2018_design',
2804 'HLTmenu':
'@relval2018',
2805 'Era' :
'Run2_2018',
2806 'BeamSpot':
'DBdesign',
2807 'ScenToRun' : [
'GenSim',
'Digi',
'RecoFakeHLT',
'HARVESTFakeHLT'],
2810 'Geom' :
'DB:Extended',
2811 'GT' :
'auto:phase1_2022_realistic',
2812 'HLTmenu':
'@relval2022',
2814 'BeamSpot':
'DBrealistic',
2815 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNanoFakeHLT',
'HARVESTNanoFakeHLT',
'ALCA'],
2818 'Geom' :
'DB:Extended',
2819 'GT' :
'auto:phase1_2022_design',
2820 'HLTmenu':
'@relval2022',
2822 'BeamSpot':
'DBdesign',
2823 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNanoFakeHLT',
'HARVESTNanoFakeHLT'],
2826 'Geom' :
'DB:Extended',
2827 'GT' :
'auto:phase1_2023_realistic',
2828 'HLTmenu':
'@relval2023',
2829 'Era' :
'Run3_2023',
2830 'BeamSpot':
'DBrealistic',
2831 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNanoFakeHLT',
'HARVESTNanoFakeHLT',
'ALCA'],
2834 'Geom' :
'DB:Extended',
2835 'GT' :
'auto:phase1_2024_realistic',
2836 'HLTmenu':
'@relval2024',
2837 'Era' :
'Run3_2024',
2838 'BeamSpot':
'DBrealistic',
2839 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2842 'Geom' :
'DB:Extended',
2843 'GT' :
'auto:phase1_2022_realistic',
2844 'HLTmenu':
'@relval2022',
2845 'Era' :
'Run3_FastSim',
2846 'BeamSpot':
'DBrealistic',
2847 'ScenToRun' : [
'Gen',
'FastSimRun3',
'HARVESTFastRun3'],
2850 'Geom' :
'DB:Extended',
2851 'GT' :
'auto:phase1_2022_realistic_postEE',
2852 'HLTmenu':
'@relval2022',
2854 'BeamSpot':
'DBrealistic',
2855 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNanoFakeHLT',
'HARVESTNanoFakeHLT',
'ALCA'],
2858 'Geom' :
'DB:Extended',
2859 'GT' :
'auto:phase1_2023_realistic',
2860 'HLTmenu':
'@relval2023',
2861 'Era' :
'Run3_2023_FastSim',
2862 'BeamSpot':
'DBrealistic',
2863 'ScenToRun' : [
'Gen',
'FastSimRun3',
'HARVESTFastRun3'],
2866 'Geom' :
'DB:Extended',
2867 'GT':
'auto:phase1_2022_realistic_hi',
2868 'HLTmenu':
'@fake2',
2869 'Era':
'Run3_pp_on_PbPb',
2870 'BeamSpot':
'DBrealistic',
2871 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2874 'Geom' :
'DB:Extended',
2875 'GT':
'auto:phase1_2022_realistic_hi',
2876 'HLTmenu':
'@fake2',
2877 'Era':
'Run3_pp_on_PbPb_approxSiStripClusters',
2878 'BeamSpot':
'DBrealistic',
2879 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2882 'Geom' :
'DB:Extended',
2883 'GT':
'auto:phase1_2023_realistic_hi',
2884 'HLTmenu':
'@fake2',
2885 'Era':
'Run3_pp_on_PbPb',
2886 'BeamSpot':
'DBrealistic',
2887 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2890 'Geom' :
'DB:Extended',
2891 'GT':
'auto:phase1_2023_realistic_hi',
2892 'HLTmenu':
'@fake2',
2893 'Era':
'Run3_pp_on_PbPb_approxSiStripClusters',
2894 'BeamSpot':
'DBrealistic',
2895 'ScenToRun' : [
'GenSim',
'Digi',
'RecoNano',
'HARVESTNano',
'ALCA'],
2900 for key
in list(upgradeProperties[2017].
keys()):
2901 upgradeProperties[2017][key+
'PU'] = deepcopy(upgradeProperties[2017][key])
2904 scenToRun = upgradeProperties[2017][key+
'PU'][
'ScenToRun']
2905 for idx,val
in enumerate(scenToRun):
2907 scenToRun[idx] +=
'PU'*(val.startswith(
'Digi')
or val.startswith(
'Reco')
or val.startswith(
'HARVEST'))
2909 upgradeProperties[2017][key+
'PU'][
'ScenToRun'] = [foo
for foo
in scenToRun
if foo !=
'ALCA']
2911 upgradeProperties[2017][key+
'PU'][
'ScenToRun'] = [
'Gen',
'FastSimRun3PU',
'HARVESTFastRun3PU']
2913 upgradeProperties[2026] = {
2915 'Geom' :
'Extended2026D86',
2916 'HLTmenu':
'@fake2',
2917 'GT' :
'auto:phase2_realistic_T21',
2918 'Era' :
'Phase2C17I13M9',
2919 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2922 'Geom' :
'Extended2026D88',
2923 'HLTmenu':
'@relval2026',
2924 'GT' :
'auto:phase2_realistic_T21',
2925 'Era' :
'Phase2C17I13M9',
2926 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2929 'Geom' :
'Extended2026D91',
2930 'HLTmenu':
'@fake2',
2931 'GT' :
'auto:phase2_realistic_T30',
2932 'Era' :
'Phase2C17I13M9',
2933 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2936 'Geom' :
'Extended2026D92',
2937 'HLTmenu':
'@fake2',
2938 'GT' :
'auto:phase2_realistic_T21',
2939 'Era' :
'Phase2C17I13M9',
2940 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2943 'Geom' :
'Extended2026D93',
2944 'HLTmenu':
'@fake2',
2945 'GT' :
'auto:phase2_realistic_T21',
2946 'Era' :
'Phase2C17I13M9',
2947 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2950 'Geom' :
'Extended2026D94',
2951 'HLTmenu':
'@fake2',
2952 'GT' :
'auto:phase2_realistic_T21',
2953 'Era' :
'Phase2C20I13M9',
2954 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2957 'Geom' :
'Extended2026D95',
2958 'HLTmenu':
'@relval2026',
2959 'GT' :
'auto:phase2_realistic_T21',
2960 'Era' :
'Phase2C17I13M9',
2961 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2964 'Geom' :
'Extended2026D96',
2965 'HLTmenu':
'@fake2',
2966 'GT' :
'auto:phase2_realistic_T21',
2967 'Era' :
'Phase2C17I13M9',
2968 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2971 'Geom' :
'Extended2026D97',
2972 'HLTmenu':
'@fake2',
2973 'GT' :
'auto:phase2_realistic_T25',
2974 'Era' :
'Phase2C17I13M9',
2975 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2978 'Geom' :
'Extended2026D98',
2979 'HLTmenu':
'@relval2026',
2980 'GT' :
'auto:phase2_realistic_T25',
2981 'Era' :
'Phase2C17I13M9',
2982 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2985 'Geom' :
'Extended2026D99',
2986 'HLTmenu':
'@relval2026',
2987 'GT' :
'auto:phase2_realistic_T25',
2988 'Era' :
'Phase2C17I13M9',
2989 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2992 'Geom' :
'Extended2026D100',
2993 'HLTmenu':
'@relval2026',
2994 'GT' :
'auto:phase2_realistic_T25',
2995 'Era' :
'Phase2C17I13M9',
2996 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
2999 'Geom' :
'Extended2026D101',
3000 'HLTmenu':
'@relval2026',
3001 'GT' :
'auto:phase2_realistic_T25',
3002 'Era' :
'Phase2C17I13M9',
3003 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3006 'Geom' :
'Extended2026D102',
3007 'HLTmenu':
'@relval2026',
3008 'GT' :
'auto:phase2_realistic_T33',
3009 'Era' :
'Phase2C17I13M9',
3010 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3013 'Geom' :
'Extended2026D103',
3014 'HLTmenu':
'@relval2026',
3015 'GT' :
'auto:phase2_realistic_T25',
3016 'Era' :
'Phase2C17I13M9',
3017 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3020 'Geom' :
'Extended2026D104',
3021 'HLTmenu':
'@relval2026',
3022 'GT' :
'auto:phase2_realistic_T33',
3023 'Era' :
'Phase2C22I13M9',
3024 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3027 'Geom' :
'Extended2026D105',
3028 'HLTmenu':
'@relval2026',
3029 'GT' :
'auto:phase2_realistic_T33',
3030 'Era' :
'Phase2C17I13M9',
3031 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3034 'Geom' :
'Extended2026D106',
3035 'HLTmenu':
'@relval2026',
3036 'GT' :
'auto:phase2_realistic_T33',
3037 'Era' :
'Phase2C22I13M9',
3038 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3041 'Geom' :
'Extended2026D107',
3042 'HLTmenu':
'@relval2026',
3043 'GT' :
'auto:phase2_realistic_T25',
3044 'Era' :
'Phase2C17I13M9',
3045 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3048 'Geom' :
'Extended2026D108',
3049 'HLTmenu':
'@relval2026',
3050 'GT' :
'auto:phase2_realistic_T33',
3051 'Era' :
'Phase2C17I13M9',
3052 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3055 'Geom' :
'Extended2026D109',
3056 'HLTmenu':
'@relval2026',
3057 'GT' :
'auto:phase2_realistic_T33',
3058 'Era' :
'Phase2C22I13M9',
3059 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3062 'Geom' :
'Extended2026D110',
3063 'HLTmenu':
'@relval2026',
3064 'GT' :
'auto:phase2_realistic_T33',
3065 'Era' :
'Phase2C17I13M9',
3066 'ScenToRun' : [
'GenSimHLBeamSpot',
'DigiTrigger',
'RecoGlobal',
'HARVESTGlobal',
'ALCAPhase2'],
3071 for key
in list(upgradeProperties[2026].
keys()):
3072 upgradeProperties[2026][key+
'PU'] = deepcopy(upgradeProperties[2026][key])
3073 upgradeProperties[2026][key+
'PU'][
'ScenToRun'] = [
'GenSimHLBeamSpot',
'DigiTriggerPU',
'RecoGlobalPU',
'HARVESTGlobalPU']
3076 defaultDataSets = {}
3077 for year
in upgradeKeys:
3078 for key
in upgradeKeys[year]:
3079 if 'PU' in key:
continue 3080 defaultDataSets[key] =
'' 3088 upgradeFragments = OrderedDict([
3090 (
'SingleElectronPt10_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronPt10')),
3091 (
'SingleElectronPt35_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronPt35')),
3092 (
'SingleElectronPt1000_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SingleElectronPt1000')),
3099 (
'FourMuExtendedPt_1_200_pythia8_cfi',
UpgradeFragment(
Kby(10,100),
'FourMuExtendedPt1_200')),
3100 (
'TenMuExtendedE_0_200_pythia8_cfi',
UpgradeFragment(
Kby(10,100),
'TenMuExtendedE_0_200')),
3101 (
'DoubleElectronPt10Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElPt10Extended')),
3102 (
'DoubleElectronPt35Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElPt35Extended')),
3103 (
'DoubleElectronPt1000Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SingleElPt1000Extended')),
3104 (
'DoubleGammaPt10Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleGammaPt10Extended')),
3105 (
'DoubleGammaPt35Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SingleGammaPt35Extended')),
3106 (
'DoubleMuPt1Extended_pythia8_cfi',
UpgradeFragment(
Kby(25,100),
'SingleMuPt1Extended')),
3107 (
'DoubleMuPt10Extended_pythia8_cfi',
UpgradeFragment(
Kby(25,100),
'SingleMuPt10Extended')),
3108 (
'DoubleMuPt100Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleMuPt100Extended')),
3109 (
'DoubleMuPt1000Extended_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleMuPt1000Extended')),
3112 (
'MinBias_13TeV_pythia8_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(90,100),
'MinBias_13')),
3115 (
'QCD_Pt_600_800_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_600_800_13')),
3116 (
'Wjet_Pt_80_120_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'Wjet_Pt_80_120_14TeV')),
3117 (
'Wjet_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Wjet_Pt_3000_3500_14TeV')),
3119 (
'QCD_Pt_3000_3500_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_3000_3500_14TeV')),
3120 (
'QCD_Pt_80_120_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'QCD_Pt_80_120_14TeV')),
3121 (
'H200ChargedTaus_Tauola_14TeV_cfi',
UpgradeFragment(
Kby(9,100),
'Higgs200ChargedTaus_14TeV')),
3125 (
'ZTT_Tauola_All_hadronic_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,100),
'ZTT_14TeV')),
3126 (
'H130GGgluonfusion_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'H130GGgluonfusion_14TeV')),
3127 (
'PhotonJet_Pt_10_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'PhotonJets_Pt_10_14TeV')),
3128 (
'QQH1352T_Tauola_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'QQH1352T_Tauola_14TeV')),
3132 (
'QCDForPF_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(50,100),
'QCD_FlatPt_15_3000HS_14')),
3134 (
'DYToTauTau_M-50_14TeV_pythia8_tauola_cff',
UpgradeFragment(
Kby(9,100),
'DYtoTauTau_M_50_14TeV')),
3136 (
'QCD_Pt_80_120_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,100),
'QCD_Pt_80_120_13')),
3137 (
'H125GGgluonfusion_13TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'H125GGgluonfusion_13')),
3138 (
'QCD_Pt20toInf_MuEnrichedPt15_14TeV_TuneCP5_cff',
UpgradeFragment(
Kby(19565, 217391),
'QCD_Pt20toInfMuEnrichPt15_14')),
3140 (
'QCD_Pt15To7000_Flat_14TeV_TuneCP5_cff',
UpgradeFragment(
Kby(9,50),
'QCD_Pt15To7000_Flat_14')),
3141 (
'H125GGgluonfusion_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'H125GGgluonfusion_14')),
3142 (
'QCD_Pt_600_800_14TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_600_800_14')),
3145 (
'H200ChargedTaus_Tauola_13TeV_cfi',
UpgradeFragment(
Kby(9,50),
'Higgs200ChargedTaus_13')),
3146 (
'ADDMonoJet_13TeV_d3MD3_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'ADDMonoJet_d3MD3_13')),
3148 (
'QCD_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_3000_3500_13')),
3155 (
'PhotonJet_Pt_10_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'PhotonJets_Pt_10_13')),
3157 (
'Wjet_Pt_80_120_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Wjet_Pt_80_120_13')),
3158 (
'Wjet_Pt_3000_3500_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Wjet_Pt_3000_3500_13')),
3159 (
'SMS-T1tttt_mGl-1500_mLSP-100_13TeV-pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SMS-T1tttt_mGl-1500_mLSP-100_13')),
3160 (
'QCDForPF_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(50,100),
'QCD_FlatPt_15_3000HS_13')),
3161 (
'PYTHIA8_PhiToMuMu_TuneCUETP8M1_13TeV_cff',
UpgradeFragment(
Kby(9,50),
'PhiToMuMu_13')),
3162 (
'RSKKGluon_m3000GeV_13TeV_TuneCUETP8M1_cff',
UpgradeFragment(
Kby(9,50),
'RSKKGluon_m3000GeV_13')),
3166 (
'Upsilon1SToMuMu_forSTEAM_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(9,50),
'Upsilon1SToMuMu_13')),
3167 (
'EtaBToJpsiJpsi_forSTEAM_TuneCUEP8M1_13TeV_cfi',
UpgradeFragment(
Kby(9,50),
'EtaBToJpsiJpsi_13')),
3168 (
'JpsiMuMu_Pt-8_forSTEAM_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(3100,100000),
'JpsiMuMu_Pt-8')),
3169 (
'BuMixing_BMuonFilter_forSTEAM_13TeV_TuneCUETP8M1_cfi',
UpgradeFragment(
Kby(900,10000),
'BuMixing_13')),
3170 (
'HSCPstop_M_200_TuneCUETP8M1_13TeV_pythia8_cff',
UpgradeFragment(
Kby(9,50),
'HSCPstop_M_200_13')),
3171 (
'RSGravitonToGammaGamma_kMpl01_M_3000_TuneCUETP8M1_13TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'RSGravitonToGaGa_13')),
3172 (
'WprimeToENu_M-2000_TuneCUETP8M1_13TeV-pythia8_cff',
UpgradeFragment(
Kby(9,50),
'WpToENu_M-2000_13')),
3173 (
'DisplacedSUSY_stopToBottom_M_800_500mm_TuneCP5_13TeV_pythia8_cff',
UpgradeFragment(
Kby(9,50),
'DisplacedSUSY_stopToB_M_800_500mm_13')),
3175 (
'FlatRandomPtAndDxyGunProducer_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuonsDxy_0_500')),
3177 (
'SinglePiPt25Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SinglePiPt25Eta1p7_2p7')),
3178 (
'SingleMuPt15Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SingleMuPt15Eta1p7_2p7')),
3179 (
'SingleGammaPt25Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SingleGammaPt25Eta1p7_2p7')),
3180 (
'SingleElectronPt15Eta1p7_2p7_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronPt15Eta1p7_2p7')),
3182 (
'CloseByParticle_Photon_ERZRanges_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByParticleGun')),
3183 (
'CE_E_Front_300um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_E_Front_300um')),
3184 (
'CE_E_Front_200um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_E_Front_200um')),
3185 (
'CE_E_Front_120um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_E_Front_120um')),
3189 (
'CE_H_Coarse_Scint_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_H_Coarse_Scint')),
3190 (
'CE_H_Coarse_300um_cfi',
UpgradeFragment(
Kby(9,100),
'CloseByPGun_CE_H_Coarse_300um')),
3191 (
'SingleElectronFlatPt2To100_cfi',
UpgradeFragment(
Kby(9,100),
'SingleEFlatPt2To100')),
3194 (
'SingleGammaFlatPt8To150_cfi',
UpgradeFragment(
Kby(9,100),
'SingleGammaFlatPt8To150')),
3197 (
'FlatRandomPtAndDxyGunProducer_MuPt2To10_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt2To10')),
3198 (
'FlatRandomPtAndDxyGunProducer_MuPt10To30_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt10To30')),
3199 (
'FlatRandomPtAndDxyGunProducer_MuPt30To100_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt30To100')),
3200 (
'B0ToKstarMuMu_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(304,3030),
'B0ToKstarMuMu_14TeV')),
3202 (
'BsToJpsiGamma_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(2500,25000),
'BsToJpsiGamma_14TeV')),
3203 (
'BsToJpsiPhi_mumuKK_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(910,9090),
'BsToJpsiPhi_mumuKK_14TeV')),
3205 (
'BsToPhiPhi_KKKK_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(556,5555),
'BsToPhiPhi_KKKK_14TeV')),
3206 (
'TauToMuMuMu_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(18939,189393),
'TauToMuMuMu_14TeV')),
3207 (
'BdToKstarEleEle_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(206,2061),
'BdToKstarEleEle_14TeV')),
3209 (
'BuMixing_BMuonFilter_forSTEAM_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(900,10000),
'BuMixing_14')),
3210 (
'Upsilon1SToMuMu_forSTEAM_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'Upsilon1SToMuMu_14')),
3211 (
'TenTau_E_15_500_Eta3p1_pythia8_cfi',
UpgradeFragment(
Kby(9,100),
'TenTau_15_500_Eta3p1')),
3212 (
'QCD_Pt_1800_2400_14TeV_TuneCP5_cfi',
UpgradeFragment(
Kby(9,50),
'QCD_Pt_1800_2400_14')),
3213 (
'DisplacedSUSY_stopToBottom_M_800_500mm_TuneCP5_14TeV_pythia8_cff',
UpgradeFragment(
Kby(9,50),
'DisplacedSUSY_14TeV')),
3214 (
'GluGluTo2Jets_M_300_2000_14TeV_Exhume_cff',
UpgradeFragment(
Kby(9,100),
'GluGluTo2Jets_14TeV')),
3215 (
'TTbarToDilepton_mt172p5_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'TTbarToDilepton_14TeV')),
3216 (
'QQToHToTauTau_mh125_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'QQToHToTauTau_14TeV')),
3217 (
'ZpToEE_m6000_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'ZpToEE_m6000_14TeV')),
3218 (
'ZpToMM_m6000_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'ZpToMM_m6000_14TeV')),
3219 (
'SMS-T1tttt_mGl-1500_mLSP-100_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'SMS-T1tttt_14TeV')),
3220 (
'VBFHZZ4Nu_TuneCP5_14TeV_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'VBFHZZ4Nu_14TeV')),
3221 (
'EtaBToJpsiJpsi_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(9,50),
'EtaBToJpsiJpsi_14TeV')),
3223 (
'WprimeToLNu_M2000_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(21,50),
'WprimeToLNu_M2000_14TeV')),
3225 (
'DoubleElectronFlatPt1p5To8_cfi',
UpgradeFragment(
Kby(9,100),
'SingleElectronFlatPt1p5To8')),
3226 (
'DoubleMuFlatPt1p5To8Dxy100GunProducer_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt1p5To8Dxy100')),
3227 (
'DoubleMuFlatPt2To100Dxy100GunProducer_cfi',
UpgradeFragment(
Kby(9,100),
'DisplacedMuPt2To100Dxy100')),
3228 (
'BuToJPsiPrimeKToJPsiPiPiK_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(223,2222),
'BuToJPsiPrimeKToJPsiPiPiK_14TeV')),
3229 (
'Psi2SToJPsiPiPi_14TeV_TuneCP5_pythia8_cfi',
UpgradeFragment(
Kby(45,500),
'Psi2SToJPsiPiPi_14TeV')),
3230 (
'XiMinus_13p6TeV_SoftQCDInel_TuneCP5_cfi',
UpgradeFragment(
Kby(8000,90000),
'XiMinus_13p6TeV')),
3231 (
'Chib1PToUpsilon1SGamma_MuFilter_TuneCP5_14TeV-pythia8_evtgen_cfi',
UpgradeFragment(
Kby(3600,36000),
'Chib1PToUpsilon1SGamma_14TeV')),
3232 (
'ChicToJpsiGamma_MuFilter_TuneCP5_14TeV_pythia8_evtgen_cfi',
UpgradeFragment(
Kby(2000,20000),
'ChicToJpsiGamma_14TeV')),
3233 (
'B0ToJpsiK0s_JMM_Filter_DGamma0_TuneCP5_13p6TeV-pythia8-evtgen_cfi',
UpgradeFragment(
Kby(38000,38000),
'B0ToJpsiK0s_DGamma0_13p6TeV')),
3234 (
'DStarToD0Pi_D0ToKsPiPi_inclusive_SoftQCD_TuneCP5_13p6TeV-pythia8-evtgen',
UpgradeFragment(
Kby(38000,38000),
'DStarToD0Pi_D0ToKsPiPi_13p6TeV')),
3235 (
'LbToJpsiLambda_JMM_Filter_DGamma0_TuneCP5_13p6TeV-pythia8-evtgen_cfi',
UpgradeFragment(
Mby(66,660000),
'LbToJpsiLambda_DGamma0_13p6TeV')),
3236 (
'LbToJpsiXiK0sPi_JMM_Filter_DGamma0_TuneCP5_13p6TeV-pythia8-evtgen_cfi',
UpgradeFragment(
Mby(50,500000),
'LbToJpsiXiK0sPr_DGamma0_13p6TeV')),
3237 (
'OmegaMinus_13p6TeV_SoftQCDInel_TuneCP5_cfi',
UpgradeFragment(
Mby(100,1000000),
'OmegaMinus_13p6TeV')),
3238 (
'Hydjet_Quenched_MinBias_5020GeV_cfi',
UpgradeFragment(U2000by1,
'HydjetQMinBias_5020GeV')),
3239 (
'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)