Skip to content

Commit

Permalink
add an alpaka variant for the phase-2 HLT timing menu workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Sep 19, 2024
1 parent 9e7bb37 commit 2e99437
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2012,7 +2012,7 @@ def setup_(self, step, stepName, stepDict, k, properties):
if ('ALCA' in step) or ('Reco' in step) or ('HARVEST' in step) or ('HLT' in step):
stepDict[stepName][k] = None
elif 'DigiTrigger' in step:
stepDict[stepName][k] = merge([{'-s':'DIGI:pdigi_valid,L1TrackTrigger,L1,L1P2GT,DIGI2RAW,HLT:75e33_timing'}, stepDict[step][k]])
stepDict[stepName][k] = merge([self.step2, stepDict[step][k]])
else:
stepDict[stepName][k] = merge([stepDict[step][k]])
def condition(self, fragment, stepList, key, hasHarvest):
Expand All @@ -2039,6 +2039,17 @@ def condition(self, fragment, stepList, key, hasHarvest):
suffix = '_HLT75e33Timing',
offset = 0.75,
)
upgradeWFs['HLTTiming75e33'].step2 = {
'-s':'DIGI:pdigi_valid,L1TrackTrigger,L1,L1P2GT,DIGI2RAW,HLT:75e33_timing'
}

upgradeWFs['HLTTiming75e33Alpaka'] = deepcopy(upgradeWFs['HLTTiming75e33'])
upgradeWFs['HLTTiming75e33Alpaka'].suffix = '_HLT75e33TimingAlpaka'
upgradeWFs['HLTTiming75e33Alpaka'].offset = 0.751
upgradeWFs['HLTTiming75e33Alpaka'].step2 = {
'-s':'DIGI:pdigi_valid,L1TrackTrigger,L1,L1P2GT,DIGI2RAW,HLT:75e33_timing',
'--procModifiers': 'alpaka'
}

class UpgradeWorkflow_HLTwDIGI75e33(UpgradeWorkflow):
def setup_(self, step, stepName, stepDict, k, properties):
Expand Down

0 comments on commit 2e99437

Please sign in to comment.