Skip to content

Commit

Permalink
Merge pull request #44525 from srimanob/141_UpdateProdLikeWF
Browse files Browse the repository at this point in the history
Update 2024 prod-like workflow and fix DIGI-HLT prodlike step
  • Loading branch information
cmsbuild authored Mar 25, 2024
2 parents 66de43d + 47b5c21 commit 6ca6cc1
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1654,12 +1654,13 @@ def setup_(self, step, stepName, stepDict, k, properties):

class UpgradeWorkflow_ProdLike(UpgradeWorkflow):
def setup_(self, step, stepName, stepDict, k, properties):
thisStep = stepDict[step][k]["-s"]
if 'GenSimHLBeamSpot14' in step:
stepDict[stepName][k] = merge([{'--eventcontent': 'RAWSIM', '--datatier': 'GEN-SIM'},stepDict[step][k]])
elif 'Digi' in step and 'Trigger' not in step:
stepDict[stepName][k] = merge([{'-s': 'DIGI,L1,DIGI2RAW,HLT:@relval2022', '--datatier':'GEN-SIM-RAW', '--eventcontent':'RAWSIM'}, stepDict[step][k]])
stepDict[stepName][k] = merge([{'-s': thisStep.replace("DIGI:pdigi_valid","DIGI"),'--datatier':'GEN-SIM-RAW', '--eventcontent':'RAWSIM'}, stepDict[step][k]])
elif 'DigiTrigger' in step: # for Phase-2
stepDict[stepName][k] = merge([{'-s': 'DIGI,L1TrackTrigger,L1,DIGI2RAW,HLT:@fake2', '--datatier':'GEN-SIM-RAW', '--eventcontent':'RAWSIM'}, stepDict[step][k]])
stepDict[stepName][k] = merge([{'-s': thisStep.replace("DIGI:pdigi_valid","DIGI"), '--datatier':'GEN-SIM-RAW', '--eventcontent':'RAWSIM'}, stepDict[step][k]])
elif 'Reco' in step:
stepDict[stepName][k] = merge([{'-s': 'RAW2DIGI,L1Reco,RECO,RECOSIM', '--datatier':'AODSIM', '--eventcontent':'AODSIM'}, stepDict[step][k]])
elif 'MiniAOD' in step:
Expand All @@ -1671,7 +1672,7 @@ def setup_(self, step, stepName, stepDict, k, properties):
elif 'Nano'==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 or '2023' in key)
return fragment=="TTbar_14TeV" and ('2026' in key or '2021' in key or '2023' in key or '2024' in key)
upgradeWFs['ProdLike'] = UpgradeWorkflow_ProdLike(
steps = [
'GenSimHLBeamSpot14',
Expand Down

0 comments on commit 6ca6cc1

Please sign in to comment.