Skip to content

Commit

Permalink
Add test workflows for Phase-2 reconstruction
Browse files Browse the repository at this point in the history
with Pixel cluster splitting and JetCore
  • Loading branch information
Fabio Luongo committed Sep 13, 2024
1 parent f048144 commit fdc1930
Showing 1 changed file with 51 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2415,6 +2415,57 @@ def condition(self, fragment, stepList, key, hasHarvest):
upgradeWFs['Aging3000'].offset = 0.103
upgradeWFs['Aging3000'].lumi = '3000'

class UpgradeWorkflow_PixelClusterSplitting(UpgradeWorkflow):
def setup_(self, step, stepName, stepDict, k, properties):
stepDict[stepName][k] = merge([{'--procModifiers': 'splitClustersInPhase2Pixel'}, stepDict[step][k]])
def condition(self, fragment, stepList, key, hasHarvest):
return '2026' in key

upgradeWFs['PixelClusterSplitting'] = UpgradeWorkflow_PixelClusterSplitting(
steps = [
'RecoLocal',
'Reco',
'RecoFakeHLT',
'RecoGlobal',
],
PU = [
'RecoLocal',
'Reco',
'RecoFakeHLT',
'RecoGlobal',
],
suffix = '_ClusterSplittingInPixel',
offset = 0.19001,
)

class UpgradeWorkflow_JetCore(UpgradeWorkflow):
def setup_(self, step, stepName, stepDict, k, properties):
stepDict[stepName][k] = merge([{'--procModifiers': 'splitClustersInPhase2Pixel,jetCoreInPhase2'}, stepDict[step][k]])
def condition(self, fragment, stepList, key, hasHarvest):
return '2026' in key

upgradeWFs['JetCore'] = UpgradeWorkflow_JetCore(
steps = [
#'Reco',
#'RecoFakeHLT',
#'RecoGlobal',
#'RecoNano',
#'RecoNanoFakeHLT',
'RecoLocal',
'Reco',
'RecoFakeHLT',
'RecoGlobal',
],
PU = [
'RecoLocal',
'Reco',
'RecoFakeHLT',
'RecoGlobal',
],
suffix = '_JetCore',
offset = 0.19002,
)

#
# Simulates Bias Rail in Phase-2 OT PS modules and X% random bad Strips
# in PS-s and SS sensors
Expand Down

0 comments on commit fdc1930

Please sign in to comment.