Skip to content

Commit

Permalink
Merge pull request #39917 from mmusich/protectPatatrackPhaseFromAlCa
Browse files Browse the repository at this point in the history
add protection for AlCa step in several specialized phase-2 workflows
  • Loading branch information
cmsbuild committed Oct 29, 2022
2 parents 11f1def + d6b34b1 commit 69ee59f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ def condition_(self, fragment, stepList, key, hasHarvest):
class UpgradeWorkflow_pixelTrackingOnly(UpgradeWorkflowTracking):
def setup__(self, step, stepName, stepDict, k, properties):
if 'Reco' in step: stepDict[stepName][k] = merge([self.step3, stepDict[step][k]])
# skip ALCA step as products might not be available
elif 'ALCA' in step: stepDict[stepName][k] = None
elif 'HARVEST' in step: stepDict[stepName][k] = merge([{'-s': 'HARVESTING:@trackingOnlyValidation+@pixelTrackingOnlyDQM'}, stepDict[step][k]])
def condition_(self, fragment, stepList, key, hasHarvest):
return ('2017' in key or '2018' in key or '2021' in key or '2026' in key) and ('FS' not in key)
Expand All @@ -348,6 +350,8 @@ def condition_(self, fragment, stepList, key, hasHarvest):
'HARVESTNano',
'RecoFakeHLT',
'HARVESTFakeHLT',
'ALCA',
'ALCAPhase2'
],
suffix = '_pixelTrackingOnly',
offset = 0.5,
Expand Down Expand Up @@ -630,6 +634,7 @@ def __init__(self, digi = {}, reco = {}, harvest = {}, **kwargs):
'HARVESTNano',
'Nano',
'ALCA',
'ALCAPhase2'
],
PU = [],
**kwargs)
Expand Down Expand Up @@ -1294,6 +1299,7 @@ def condition(self, fragment, stepList, key, hasHarvest):
'HARVESTNano',
'MiniAOD',
'ALCA',
'ALCAPhase2',
'Nano',
],
PU = [
Expand All @@ -1308,6 +1314,7 @@ def condition(self, fragment, stepList, key, hasHarvest):
'HARVESTNano',
'MiniAOD',
'ALCA',
'ALCAPhase2',
'Nano',
],
suffix = '_ProdLike',
Expand Down

0 comments on commit 69ee59f

Please sign in to comment.