Skip to content

Commit

Permalink
restrict number of events for 0T PU workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kpedro88 committed Dec 15, 2021
1 parent e151b2a commit 2fdb915
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,9 @@ def setup_(self, step, stepName, stepDict, k, properties):
myGT=stepDict[step][k]['--conditions']
myGT+="_0T"
stepDict[stepName][k] = merge([{'-n':'1','--magField':'0T','--conditions':myGT}, stepDict[step][k]])
def setupPU_(self, step, stepName, stepDict, k, properties):
# override '-n' setting from PUDataSets in relval_steps.py
stepDict[stepName][k] = merge([{'-n':'1'}, stepDict[step][k]])
def condition(self, fragment, stepList, key, hasHarvest):
return (fragment=="TTbar_13" or fragment=="TTbar_14TeV") and ('2017' in key or '2018' in key or '2021' in key)
upgradeWFs['0T'] = UpgradeWorkflow_0T(
Expand Down

0 comments on commit 2fdb915

Please sign in to comment.