Skip to content
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

Enable PU workflows for patatrack #40847

Merged
merged 2 commits into from
Feb 28, 2023
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 @@ -726,7 +726,21 @@ def __init__(self, digi = {}, reco = {}, harvest = {}, **kwargs):
'ALCA',
'ALCAPhase2'
],
PU = [],
PU = [
'Digi',
'DigiTrigger',
'Reco',
'HARVEST',
'RecoFakeHLT',
'HARVESTFakeHLT',
'RecoGlobal',
'HARVESTGlobal',
'RecoNano',
'HARVESTNano',
'Nano',
'ALCA',
'ALCAPhase2'
],
**kwargs)
self.__digi = digi
self.__reco = reco
Expand All @@ -740,9 +754,9 @@ def condition(self, fragment, stepList, key, hasHarvest):
# select only a subset of the workflows
selected = [
('2018' in key and fragment == "TTbar_13"),
('2021' in key and fragment == "TTbar_14TeV" and 'FS' not in key),
(('2021' in key or '2023' in key) and fragment == "TTbar_14TeV" and 'FS' not in key),
('2018' in key and fragment == "ZMM_13"),
('2021' in key and fragment == "ZMM_14" and 'FS' not in key),
(('2021' in key or '2023' in key) and fragment == "ZMM_14" and 'FS' not in key),
('2026D88' in key and fragment == "TTbar_14TeV" and "PixelOnly" in self.suffix)
]
result = any(selected) and hasHarvest
Expand Down Expand Up @@ -1473,12 +1487,24 @@ def condition(self, fragment, stepList, key, hasHarvest):
fixedPU = 50,
)

upgradeWFs['ProdLikePU55'] = UpgradeWorkflow_ProdLikeRunningPU(
suffix = '_ProdLikePU55',
offset = 0.21551,
fixedPU = 55,
)

upgradeWFs['ProdLikePU60'] = UpgradeWorkflow_ProdLikeRunningPU(
suffix = '_ProdLikePU60',
offset = 0.21601,
fixedPU = 60,
)

upgradeWFs['ProdLikePU65'] = UpgradeWorkflow_ProdLikeRunningPU(
suffix = '_ProdLikePU65',
offset = 0.21651,
fixedPU = 65,
)

upgradeWFs['ProdLikePU70'] = UpgradeWorkflow_ProdLikeRunningPU(
suffix = '_ProdLikePU70',
offset = 0.21701,
Expand Down