Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1829,6 +1829,11 @@ def setup_(self, step, stepName, stepDict, k, properties):
stepDict[stepName][k] = None
elif 'Nano'==step:
stepDict[stepName][k] = merge([{'--filein':'file:step4.root','-s':'NANO','--datatier':'NANOAODSIM','--eventcontent':'NANOEDMAODSIM'}, stepDict[step][k]])
def setupPU_(self, step, stepName, stepDict, k, properties):
# No need for PU replay for ProdLike
if "Digi" not in step and stepDict[stepName][k] is not None and '--pileup' in stepDict[stepName][k]:
stepDict[stepName][k].pop('--pileup', None)
stepDict[stepName][k].pop('--pileup_input', None)
def condition(self, fragment, stepList, key, hasHarvest):
return fragment=="TTbar_14TeV" and ('2026' in key or '2021' in key or '2023' in key or '2024' in key)
upgradeWFs['ProdLike'] = UpgradeWorkflow_ProdLike(
Expand Down Expand Up @@ -1900,7 +1905,7 @@ def __init__(self, suffix, offset, fixedPU,
self.__fixedPU = fixedPU
def setupPU_(self, step, stepName, stepDict, k, properties):
# change PU skipping ALCA and HARVEST
if stepDict[stepName][k] is not None and '--pileup' in stepDict[stepName][k]:
if stepDict[stepName][k] is not None and '--pileup' in stepDict[stepName][k] and "Digi" in step:
stepDict[stepName][k]['--pileup'] = 'AVE_' + str(self.__fixedPU) + '_BX_25ns'
def condition(self, fragment, stepList, key, hasHarvest):
# lower PUs for Run3
Expand Down