diff --git a/Configuration/PyReleaseValidation/python/relval_steps.py b/Configuration/PyReleaseValidation/python/relval_steps.py index e462ca4f0bf00..8a20a955c8613 100644 --- a/Configuration/PyReleaseValidation/python/relval_steps.py +++ b/Configuration/PyReleaseValidation/python/relval_steps.py @@ -3486,7 +3486,7 @@ def gen2021HiMix(fragment,howMuch): defaultDataSets['2026D49']='CMSSW_12_0_0_pre4-113X_mcRun4_realistic_v7_2026D49noPU-v' defaultDataSets['2026D76']='CMSSW_12_0_0_pre4-113X_mcRun4_realistic_v7_2026D76noPU-v' defaultDataSets['2026D77']='CMSSW_12_1_0_pre2-113X_mcRun4_realistic_v7_2026D77noPU-v' -defaultDataSets['2026D88']='CMSSW_12_3_0_pre5-123X_mcRun4_realistic_v4_2026D88noPU-v' +#defaultDataSets['2026D88']='CMSSW_12_2_0_pre3-122X_mcRun4_realistic_v4_2026D88noPU-v' puDataSets = {} for key, value in defaultDataSets.items(): puDataSets[key+'PU'] = value @@ -3594,6 +3594,15 @@ def gen2021HiMix(fragment,howMuch): '--eventcontent':'FEVTDEBUGHLT', '--geometry' : geom } + + upgradeStepDict['HLT'][k] = {'-s':'HLT:%s'%(hltversion), + '--conditions':gt, + '--datatier':'GEN-SIM-DIGI-RAW', + '-n':'10', + '--eventcontent':'FEVTDEBUGHLT', + '--geometry' : geom, + '--outputCommands' : '"drop *_*_*_GEN,drop *_*_*_DIGI2RAW"' + } upgradeStepDict['Reco'][k] = {'-s':'RAW2DIGI,L1Reco,RECO,RECOSIM,PAT,VALIDATION:@standardValidation+@miniAODValidation,DQM:@standardDQM+@ExtraHLT+@miniAODDQM', '--conditions':gt, diff --git a/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py b/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py index c802b614c345b..3654382d93bb9 100644 --- a/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py +++ b/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py @@ -171,6 +171,7 @@ def condition(self, fragment, stepList, key, hasHarvest): 'GenSimHLBeamSpotHGCALCloseBy', 'Digi', 'DigiTrigger', + 'HLT', 'RecoLocal', 'Reco', 'RecoFakeHLT', @@ -205,6 +206,30 @@ def condition(self, fragment, stepList, key, hasHarvest): offset = 0.0, ) +class UpgradeWorkflow_DigiNoHLT(UpgradeWorkflow): + def setup_(self, step, stepName, stepDict, k, properties): + if stepDict[step][k] != None: + if 'ALCA' in step: + stepDict[stepName][k] = None + if 'RecoNano' in step: + stepDict[stepName][k] = merge([{'--filein': 'file:step3.root', '--secondfilein': 'file:step2.root'}, stepDict[step][k]]) + if 'Digi' in step: + stepDict[stepName][k] = merge([{'-s': re.sub(',HLT.*', '', stepDict[step][k]['-s'])}, stepDict[step][k]]) + def condition(self, fragment, stepList, key, hasHarvest): + if ('TTbar_14TeV' in fragment and '2021' == key): + stepList.insert(stepList.index('Digi_DigiNoHLT_2021')+1, 'HLT_2021') + return ('TTbar_14TeV' in fragment and '2021' == key) +upgradeWFs['DigiNoHLT'] = UpgradeWorkflow_DigiNoHLT( + steps = [ + 'Digi', + 'RecoNano', + 'ALCA' + ], + PU = [], + suffix = '_DigiNoHLT', + offset = 0.601, +) + # some commonalities among tracking WFs class UpgradeWorkflowTracking(UpgradeWorkflow): # skip the PU argument since PU workflows never used here @@ -1593,94 +1618,6 @@ def condition(self, fragment, stepList, key, hasHarvest): offset = 0.9921, ) -class UpgradeWorkflow_Run3FS(UpgradeWorkflow): - def setup_(self, step, stepName, stepDict, k, properties): - if 'GenSim' in step: - stepDict[stepName][k] = merge([{'-s':'GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,L1,DIGI2RAW,L1Reco,RECO,PAT,VALIDATION:@standardValidation,DQM:@standardDQMFS', - '--fast':'', - '--era':'Run3_FastSim', - '--eventcontent':'FEVTDEBUGHLT,MINIAODSIM,DQM', - '--datatier':'GEN-SIM-DIGI-RECO,MINIAODSIM,DQMIO', - '--relval':'27000,3000'}, stepDict[step][k]]) - if 'Digi' in step or 'RecoNano' in step or 'ALCA' in step: - stepDict[stepName][k] = None - if 'HARVESTNano' in step: - stepDict[stepName][k] = merge([{'-s':'HARVESTING:validationHarvesting', - '--fast':'', - '--era':'Run3_FastSim', - '--filein':'file:step1_inDQM.root'}, stepDict[step][k]]) - def condition(self, fragment, stepList, key, hasHarvest): - return '2021' in key -upgradeWFs['Run3FS'] = UpgradeWorkflow_Run3FS( - steps = [ - 'GenSim', - 'Digi', - 'RecoNano', - 'HARVESTNano', - 'ALCA' - ], - PU = [], - suffix = '_Run3FS', - offset = 0.301, -) - -class UpgradeWorkflow_Run3FStrackingOnly(UpgradeWorkflow): - def setup_(self, step, stepName, stepDict, k, properties): - if 'GenSim' in step: - stepDict[stepName][k] = merge([{'-s':'GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,L1,DIGI2RAW,L1Reco,RECO,PAT,VALIDATION:@trackingOnlyValidation', - '--fast':'', - '--era':'Run3_FastSim', - '--eventcontent':'FEVTDEBUGHLT,MINIAODSIM,DQM', - '--datatier':'GEN-SIM-DIGI-RECO,MINIAODSIM,DQMIO', - '--relval':'27000,3000'}, stepDict[step][k]]) - if 'Digi' in step or 'RecoNano' in step or 'ALCA' in step: - stepDict[stepName][k] = None - if 'HARVESTNano' in step: - stepDict[stepName][k] = merge([{'-s':'HARVESTING:@trackingOnlyValidation+@trackingOnlyDQM', - '--fast':'', - '--era':'Run3_FastSim', - '--filein':'file:step1_inDQM.root'}, stepDict[step][k]]) - def condition(self, fragment, stepList, key, hasHarvest): - return '2021' in key -upgradeWFs['Run3FStrackingOnly'] = UpgradeWorkflow_Run3FStrackingOnly( - steps = [ - 'GenSim', - 'Digi', - 'RecoNano', - 'HARVESTNano', - 'ALCA' - ], - PU = [], - suffix = '_Run3FStrackingOnly', - offset = 0.302, -) - -class UpgradeWorkflow_Run3FSMBMixing(UpgradeWorkflow): - def setup_(self, step, stepName, stepDict, k, properties): - if 'GenSim' in step: - stepDict[stepName][k] = merge([{'-s':'GEN,SIM,RECOBEFMIX', - '--fast':'', - '--era':'Run3_FastSim', - '--eventcontent':'FASTPU', - '--datatier':'GEN-SIM-RECO', - '--relval':'27000,3000'}, stepDict[step][k]]) - if 'Digi' in step or 'RecoNano' in step or 'ALCA' in step or 'HARVESTNano' in step: - stepDict[stepName][k] = None - def condition(self, fragment, stepList, key, hasHarvest): - return '2021' in key and fragment=="MinBias_14TeV" -upgradeWFs['Run3FSMBMixing'] = UpgradeWorkflow_Run3FSMBMixing( - steps = [ - 'GenSim', - 'Digi', - 'RecoNano', - 'HARVESTNano', - 'ALCA' - ], - PU = [], - suffix = '_Run3FSMBMixing', - offset = 0.303, -) - class UpgradeWorkflow_DD4hep(UpgradeWorkflow): def setup_(self, step, stepName, stepDict, k, properties): if 'Run3' in stepDict[step][k]['--era']: