Skip to content

Commit 1ca6072

Browse files
committed
restrict dd4hep special workflow to Phase 2; restore for all fragments
1 parent ad685bb commit 1ca6072

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2841,17 +2841,12 @@ def condition(self, fragment, stepList, key, hasHarvest):
28412841

28422842
class UpgradeWorkflow_DD4hep(UpgradeWorkflow):
28432843
def setup_(self, step, stepName, stepDict, k, properties):
2844-
if 'Run3' in stepDict[step][k]['--era'] and 'Fast' not in stepDict[step][k]['--era']:
2845-
if '2023' in stepDict[step][k]['--conditions']:
2846-
stepDict[stepName][k] = merge([{'--geometry': 'DD4hepExtended2023'}, stepDict[step][k]])
2847-
else:
2848-
stepDict[stepName][k] = merge([{'--geometry': 'DD4hepExtended2021'}, stepDict[step][k]])
2849-
elif 'Phase2' in stepDict[step][k]['--era']:
2844+
if 'Phase2' in stepDict[step][k]['--era']:
28502845
dd4hepGeom="DD4hep"
28512846
dd4hepGeom+=stepDict[step][k]['--geometry']
28522847
stepDict[stepName][k] = merge([{'--geometry' : dd4hepGeom, '--procModifiers': 'dd4hep'}, stepDict[step][k]])
28532848
def condition(self, fragment, stepList, key, hasHarvest):
2854-
return fragment=="TTbar_14TeV" and ('2021' in key or '2023' in key or '2026' in key) and ('FS' not in key)
2849+
return ('2026' in key) and ('FS' not in key)
28552850
upgradeWFs['DD4hep'] = UpgradeWorkflow_DD4hep(
28562851
steps = [
28572852
'GenSim',

0 commit comments

Comments
 (0)