-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Fix prodlike workflows #36050
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Fix prodlike workflows #36050
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
06672d1
Merge pull request #11 from cms-sw/master
kskovpen 6263c5a
Merge pull request #12 from cms-sw/master
kskovpen da36f62
fix prodlike pu wfs
kskovpen 13d052a
update
kskovpen 7019071
update
kskovpen 2dfd1a9
fix
kskovpen 3adf540
update
kskovpen 63ac30d
update
kskovpen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -152,7 +152,7 @@ def setup_(self, step, stepName, stepDict, k, properties): | |
| if cust is not None: stepDict[stepName][k]['--customise']=cust | ||
| if era is not None: | ||
| stepDict[stepName][k]['--era']=era | ||
| if 'RecNan' in stepName: stepDict[stepName][k]['--era'] += ',run3_nanoAOD_devel' | ||
| if 'RecoNano' in stepName: stepDict[stepName][k]['--era'] += ',run3_nanoAOD_devel' | ||
| if modifier is not None: stepDict[stepName][k]['--procModifier']=modifier | ||
| def condition(self, fragment, stepList, key, hasHarvest): | ||
| return True | ||
|
|
@@ -170,14 +170,13 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'RecoGlobal', | ||
| 'HARVEST', | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you missed the addition of |
||
| 'HARVESTFakeHLT', | ||
| 'HARVESTRecNan', | ||
| 'HARVESTNano', | ||
| 'FastSim', | ||
| 'HARVESTFast', | ||
| 'HARVESTGlobal', | ||
| 'ALCA', | ||
| 'Nano', | ||
| 'MiniAOD', | ||
| 'RecNan', | ||
| ], | ||
| PU = [ | ||
| 'DigiTrigger', | ||
|
|
@@ -188,11 +187,10 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'RecoFakeHLT', | ||
| 'HARVEST', | ||
| 'HARVESTFakeHLT', | ||
| 'HARVESTRecNan', | ||
| 'HARVESTNano', | ||
| 'HARVESTGlobal', | ||
| 'MiniAOD', | ||
| 'Nano', | ||
| 'RecNan', | ||
| ], | ||
| suffix = '', | ||
| offset = 0.0, | ||
|
|
@@ -221,6 +219,8 @@ def setup_(self, step, stepName, stepDict, k, properties): | |
| 'HARVEST', | ||
| 'RecoGlobal', | ||
| 'HARVESTGlobal', | ||
| 'RecoNano', | ||
| 'HARVESTNano', | ||
| ], | ||
| PU = [], | ||
| suffix = '_trackingOnly', | ||
|
|
@@ -294,6 +294,8 @@ def condition_(self, fragment, stepList, key, hasHarvest): | |
| 'HARVEST', | ||
| 'RecoGlobal', | ||
| 'HARVESTGlobal', | ||
| 'RecoNano', | ||
| 'HARVESTNano', | ||
| ], | ||
| PU = [], | ||
| suffix = '_pixelTrackingOnly', | ||
|
|
@@ -317,6 +319,7 @@ def condition_(self, fragment, stepList, key, hasHarvest): | |
| 'DigiTrigger', | ||
| 'Reco', | ||
| 'RecoGlobal', | ||
| 'RecoNano', | ||
| ], | ||
| PU = [], | ||
| suffix = '_trackingMkFit', | ||
|
|
@@ -347,6 +350,8 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'HARVEST', | ||
| 'RecoGlobal', | ||
| 'HARVESTGlobal', | ||
| 'RecoNano', | ||
| 'HARVESTNano', | ||
| ], | ||
| PU = [], | ||
| suffix = '_seedingDeepCore', | ||
|
|
@@ -382,9 +387,11 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| upgradeWFs['trackdnn'] = UpgradeWorkflow_trackdnn( | ||
| steps = [ | ||
| 'Reco', | ||
| 'RecoNano', | ||
| ], | ||
| PU = [ | ||
| 'Reco', | ||
| 'RecoNano', | ||
| ], | ||
| suffix = '_trackdnn', | ||
| offset = 0.91, | ||
|
|
@@ -402,16 +409,18 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| upgradeWFs['mlpf'] = UpgradeWorkflow_mlpf( | ||
| steps = [ | ||
| 'Reco', | ||
| 'RecoNano', | ||
| ], | ||
| PU = [ | ||
| 'Reco', | ||
| 'RecoNano', | ||
| ], | ||
| suffix = '_mlpf', | ||
| offset = 0.13, | ||
| ) | ||
| upgradeWFs['mlpf'].step3 = { | ||
| '--datatier': 'GEN-SIM-RECO,RECOSIM,MINIAODSIM,DQMIO', | ||
| '--eventcontent': 'FEVTDEBUGHLT,RECOSIM,MINIAODSIM,DQM', | ||
| '--datatier': 'GEN-SIM-RECO,RECOSIM,MINIAODSIM,NANOAODSIM,DQMIO', | ||
| '--eventcontent': 'FEVTDEBUGHLT,RECOSIM,MINIAODSIM,NANOAODSIM,DQM', | ||
| '--procModifiers': 'mlpf' | ||
| } | ||
|
|
||
|
|
@@ -433,6 +442,8 @@ def __init__(self, digi = {}, reco = {}, harvest = {}, **kwargs): | |
| 'HARVESTFakeHLT', | ||
| 'RecoGlobal', | ||
| 'HARVESTGlobal', | ||
| 'RecoNano', | ||
| 'HARVESTNano', | ||
| ], | ||
| PU = [], | ||
| **kwargs) | ||
|
|
@@ -736,10 +747,10 @@ def setup_(self, step, stepName, stepDict, k, properties): | |
| elif 'MiniAOD' in step: | ||
| # the separate miniAOD step is used here | ||
| stepDict[stepName][k] = deepcopy(stepDict[step][k]) | ||
| if 'ALCA' in step or 'HARVEST' in step: | ||
| elif 'ALCA' in step or 'HARVEST' in step: | ||
| # remove step | ||
| stepDict[stepName][k] = None | ||
| if 'Nano' in step: | ||
| elif 'Nano' in step: | ||
| stepDict[stepName][k] = merge([{'--filein':'file:step4.root','-s':'NANO','--datatier':'NANOAODSIM','--eventcontent':'NANOEDMAODSIM'}, stepDict[step][k]]) | ||
| def condition(self, fragment, stepList, key, hasHarvest): | ||
| return fragment=="TTbar_14TeV" and ('2026' in key or '2021' in key) | ||
|
|
@@ -750,8 +761,10 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'DigiTrigger', | ||
| 'Reco', | ||
| 'RecoGlobal', | ||
| 'RecoNano', | ||
| 'HARVEST', | ||
| 'HARVESTGlobal', | ||
| 'HARVESTNano', | ||
| 'MiniAOD', | ||
| 'ALCA', | ||
| 'Nano', | ||
|
|
@@ -762,8 +775,10 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'DigiTrigger', | ||
| 'Reco', | ||
| 'RecoGlobal', | ||
| 'RecoNano', | ||
| 'HARVEST', | ||
| 'HARVESTGlobal', | ||
| 'HARVESTNano', | ||
| 'MiniAOD', | ||
| 'ALCA', | ||
| 'Nano', | ||
|
|
@@ -815,12 +830,16 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'Digi', | ||
| 'Reco', | ||
| 'HARVEST', | ||
| 'RecoNano', | ||
| 'HARVESTNano', | ||
| 'ALCA', | ||
| ], | ||
| PU = [ | ||
| 'Digi', | ||
| 'Reco', | ||
| 'HARVEST', | ||
| 'RecoNano', | ||
| 'HARVESTNano', | ||
| ], | ||
| suffix = '_heCollapse', | ||
| offset = 0.6, | ||
|
|
@@ -863,12 +882,16 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'Digi', | ||
| 'Reco', | ||
| 'HARVEST', | ||
| 'RecoNano', | ||
| 'HARVESTNano', | ||
| 'ALCA', | ||
| ], | ||
| PU = [ | ||
| 'Digi', | ||
| 'Reco', | ||
| 'HARVEST', | ||
| 'RecoNano', | ||
| 'HARVESTNano', | ||
| ], | ||
| suffix = '_0T', | ||
| offset = 0.24, | ||
|
|
@@ -1040,6 +1063,7 @@ def workflow_(self, workflows, num, fragment, stepList, key): | |
| 'RecoLocal', | ||
| 'Reco', | ||
| 'RecoGlobal', | ||
| 'RecoNano', | ||
| 'Nano', | ||
| ], | ||
| suffix = '_PMXS2', | ||
|
|
@@ -1057,6 +1081,7 @@ def workflow_(self, workflows, num, fragment, stepList, key): | |
| 'RecoLocal', | ||
| 'Reco', | ||
| 'RecoGlobal', | ||
| 'RecoNano', | ||
| 'Nano', | ||
| ], | ||
| suffix = '_PMXS1S2', | ||
|
|
@@ -1123,9 +1148,11 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'RecoLocal', | ||
| 'Reco', | ||
| 'RecoGlobal', | ||
| 'RecoNano', | ||
| 'Nano', | ||
| 'HARVEST', | ||
| 'HARVESTGlobal', | ||
| 'HARVESTNano', | ||
| 'MiniAOD', | ||
| 'ALCA', | ||
| ], | ||
|
|
@@ -1144,9 +1171,11 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'RecoLocal', | ||
| 'Reco', | ||
| 'RecoGlobal', | ||
| 'RecoNano', | ||
| 'Nano', | ||
| 'HARVEST', | ||
| 'HARVESTGlobal', | ||
| 'HARVESTNano', | ||
| 'MiniAOD', | ||
| 'ALCA', | ||
| ], | ||
|
|
@@ -1173,8 +1202,10 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'DigiTrigger', | ||
| 'Reco', | ||
| 'RecoGlobal', | ||
| 'RecoNano', | ||
| 'HARVEST', | ||
| 'HARVESTGlobal', | ||
| 'HARVESTNano', | ||
| 'ALCA', | ||
| ], | ||
| PU = [], | ||
|
|
@@ -1200,8 +1231,10 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'DigiTrigger', | ||
| 'Reco', | ||
| 'RecoGlobal', | ||
| 'RecoNano', | ||
| 'HARVEST', | ||
| 'HARVESTGlobal', | ||
| 'HARVESTNano', | ||
| 'ALCA', | ||
| ], | ||
| PU = [], | ||
|
|
@@ -1225,8 +1258,10 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'DigiTrigger', | ||
| 'Reco', | ||
| 'RecoGlobal', | ||
| 'RecoNano', | ||
| 'HARVEST', | ||
| 'HARVESTGlobal', | ||
| 'HARVESTNano', | ||
| 'ALCA', | ||
| ], | ||
| PU = [], | ||
|
|
@@ -1250,8 +1285,10 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'DigiTrigger', | ||
| 'Reco', | ||
| 'RecoGlobal', | ||
| 'RecoNano', | ||
| 'HARVEST', | ||
| 'HARVESTGlobal', | ||
| 'HARVESTNano', | ||
| 'ALCA', | ||
| ], | ||
| PU = [ | ||
|
|
@@ -1262,8 +1299,10 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'DigiTrigger', | ||
| 'Reco', | ||
| 'RecoGlobal', | ||
| 'RecoNano', | ||
| 'HARVEST', | ||
| 'HARVESTGlobal', | ||
| 'HARVESTNano', | ||
| 'ALCA', | ||
| ], | ||
| suffix = '_SonicTriton', | ||
|
|
@@ -1317,40 +1356,40 @@ def condition(self, fragment, stepList, key, hasHarvest): | |
| 'HLTmenu': '@relval2021', | ||
| 'Era' : 'Run3', | ||
| 'BeamSpot': 'Run3RoundOptics25ns13TeVLowSigmaZ', | ||
| 'ScenToRun' : ['GenSim','Digi','Reco','HARVEST','ALCA'], | ||
| 'ScenToRun' : ['GenSim','Digi','RecoNano','HARVESTNano','ALCA'], | ||
| }, | ||
| '2021Design' : { | ||
| 'Geom' : 'DB:Extended', | ||
| 'GT' : 'auto:phase1_2021_design', | ||
| 'HLTmenu': '@relval2021', | ||
| 'Era' : 'Run3', | ||
| 'BeamSpot': 'GaussSigmaZ4cm', | ||
| 'ScenToRun' : ['GenSim','Digi','Reco','HARVEST'], | ||
| 'ScenToRun' : ['GenSim','Digi','RecoNano','HARVESTNano'], | ||
| }, | ||
| '2023' : { | ||
| 'Geom' : 'DB:Extended', | ||
| 'GT' : 'auto:phase1_2023_realistic', | ||
| 'HLTmenu': '@relval2021', | ||
| 'Era' : 'Run3', | ||
| 'BeamSpot': 'Run3RoundOptics25ns13TeVLowSigmaZ', | ||
| 'ScenToRun' : ['GenSim','Digi','Reco','HARVEST','ALCA'], | ||
| 'ScenToRun' : ['GenSim','Digi','RecoNano','HARVESTNano','ALCA'], | ||
| }, | ||
| '2024' : { | ||
| 'Geom' : 'DB:Extended', | ||
| 'GT' : 'auto:phase1_2024_realistic', | ||
| 'HLTmenu': '@relval2021', | ||
| 'Era' : 'Run3', | ||
| 'BeamSpot': 'Run3RoundOptics25ns13TeVLowSigmaZ', | ||
| 'ScenToRun' : ['GenSim','Digi','Reco','HARVEST','ALCA'], | ||
| 'ScenToRun' : ['GenSim','Digi','RecoNano','HARVESTNano','ALCA'], | ||
| }, | ||
| } | ||
|
|
||
| # standard PU sequences | ||
| for key in list(upgradeProperties[2017].keys()): | ||
| upgradeProperties[2017][key+'PU'] = deepcopy(upgradeProperties[2017][key]) | ||
| upgradeProperties[2017][key+'PU']['ScenToRun'] = ['GenSim','DigiPU'] + \ | ||
| (['RecoPU','HARVESTPU'] if '202' in key else ['RecoFakeHLTPU','HARVESTFakeHLTPU']) + \ | ||
| (['Nano'] if 'Design' not in key else []) | ||
| (['RecoNanoPU','HARVESTNanoPU'] if '202' in key else ['RecoFakeHLTPU','HARVESTFakeHLTPU']) + \ | ||
| (['Nano'] if 'Nano' in upgradeProperties[2017][key]['ScenToRun'] else []) | ||
|
|
||
| upgradeProperties[2026] = { | ||
| '2026D49' : { | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kskovpen you missed a change from my branch here: https://github.com/kpedro88/cmssw/blob/856746872c99eb3a6c180e284574c0e6fd7a088c/Configuration/PyReleaseValidation/python/relval_upgrade.py#L49 (the addition of
.replace('RecoNano','MiniAOD'))