@@ -776,7 +776,7 @@ def condition(self, fragment, stepList, key, hasHarvest):
776776# - 2022 conditions (labelled "2021"), Z->mumu
777777# - 2023 conditions, TTbar
778778# - 2023 conditions, Z->mumu
779- # - 2026D88 conditions, TTbar
779+ # - 2026 conditions, TTbar
780780class PatatrackWorkflow (UpgradeWorkflow ):
781781 def __init__ (self , digi = {}, reco = {}, mini = {}, harvest = {}, ** kwargs ):
782782 # adapt the parameters for the UpgradeWorkflow init method
@@ -837,7 +837,7 @@ def condition(self, fragment, stepList, key, hasHarvest):
837837 ('2018' in key and fragment == "ZMM_13" ),
838838 ('2021' in key and fragment == "ZMM_14" and 'FS' not in key ),
839839 ('2023' in key and fragment == "ZMM_14" and 'FS' not in key ),
840- ('2026D88 ' in key and fragment == "TTbar_14TeV" and "PixelOnly" in self . suffix ),
840+ ('2026 ' in key and fragment == "TTbar_14TeV" ),
841841 (('HI' in key ) and 'Hydjet' in fragment and "PixelOnly" in self .suffix )
842842 ]
843843 result = any (selected ) and hasHarvest
@@ -858,6 +858,13 @@ def setup_(self, step, stepName, stepDict, k, properties):
858858 stepDict [stepName ][k ] = None
859859 else :
860860 stepDict [stepName ][k ] = merge ([self .__reco , stepDict [step ][k ]])
861+ if 'Phase2' in stepDict [stepName ][k ]['--era' ]:
862+ if 'DQM:@standardDQM+@ExtraHLT' in stepDict [stepName ][k ]['-s' ]:
863+ stepDict [stepName ][k ]['-s' ] = stepDict [stepName ][k ]['-s' ].replace ('DQM:@standardDQM+@ExtraHLT' ,'DQM:@phase2' )
864+ if 'VALIDATION:@standardValidation' in stepDict [stepName ][k ]['-s' ]:
865+ stepDict [stepName ][k ]['-s' ] = stepDict [stepName ][k ]['-s' ].replace ('VALIDATION:@standardValidation' ,'VALIDATION:@phase2Validation' )
866+
867+
861868 elif 'MiniAOD' in step :
862869 if self .__mini is None :
863870 stepDict [stepName ][k ] = None
0 commit comments