Skip to content

Commit 741e106

Browse files
committed
remove excessive workflows
1 parent 18fa2e6 commit 741e106

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2266,7 +2266,7 @@ def setup_(self, step, stepName, stepDict, k, properties):
22662266
stepDict[stepName][k] = None
22672267

22682268
def condition(self, fragment, stepList, key, hasHarvest):
2269-
return ('2021' in key or '2023' in key or '2026' in key)
2269+
return fragment=="TTbar_14TeV" and ('2021' in key or '2023' in key or '2026' in key)
22702270

22712271
upgradeWFs['ECALComponent'] = UpgradeWorkflow_ECalComponent(
22722272
suffix = '_ecalComponent',
@@ -2752,7 +2752,7 @@ def setup_(self, step, stepName, stepDict, k, properties):
27522752
else:
27532753
stepDict[stepName][k] = merge([stepDict[step][k]])
27542754
def condition(self, fragment, stepList, key, hasHarvest):
2755-
return ('FS' in key)
2755+
return fragment=="TTbar_14TeV" and ('FS' in key)
27562756
upgradeWFs['Run3FStrackingOnly'] = UpgradeWorkflow_Run3FStrackingOnly(
27572757
steps = [
27582758
'Gen',
@@ -2804,7 +2804,7 @@ def setup_(self, step, stepName, stepDict, k, properties):
28042804
dd4hepGeom+=stepDict[step][k]['--geometry']
28052805
stepDict[stepName][k] = merge([{'--geometry' : dd4hepGeom, '--procModifiers': 'dd4hep'}, stepDict[step][k]])
28062806
def condition(self, fragment, stepList, key, hasHarvest):
2807-
return ('2021' in key or '2023' in key or '2026' in key) and ('FS' not in key)
2807+
return fragment=="TTbar_14TeV" and ('2021' in key or '2023' in key or '2026' in key) and ('FS' not in key)
28082808
upgradeWFs['DD4hep'] = UpgradeWorkflow_DD4hep(
28092809
steps = [
28102810
'GenSim',
@@ -2837,7 +2837,7 @@ def setup_(self, step, stepName, stepDict, k, properties):
28372837
if 'Run3' in stepDict[step][k]['--era'] and 'Fast' not in stepDict[step][k]['--era']:
28382838
stepDict[stepName][k] = merge([{'--conditions': 'auto:phase1_2022_realistic', '--geometry': 'DB:Extended'}, stepDict[step][k]])
28392839
def condition(self, fragment, stepList, key, hasHarvest):
2840-
return '2021' in key and 'FS' not in key
2840+
return fragment=="TTbar_14TeV" and '2021' in key and 'FS' not in key
28412841
upgradeWFs['DD4hepDB'] = UpgradeWorkflow_DD4hepDB(
28422842
steps = [
28432843
'GenSim',
@@ -2873,7 +2873,7 @@ def setup_(self, step, stepName, stepDict, k, properties):
28732873
tmp_eras = ','.join(tmp_eras)
28742874
stepDict[stepName][k] = merge([{'--conditions': 'auto:phase1_2022_realistic_ddd', '--geometry': 'DB:Extended', '--era': tmp_eras}, stepDict[step][k]])
28752875
def condition(self, fragment, stepList, key, hasHarvest):
2876-
return '2021' in key and 'FS' not in key
2876+
return fragment=="TTbar_14TeV" and '2021' in key and 'FS' not in key
28772877
upgradeWFs['DDDDB'] = UpgradeWorkflow_DDDDB(
28782878
steps = [
28792879
'GenSim',

0 commit comments

Comments
 (0)