diff --git a/Configuration/Eras/python/Era_Run3_trackingLowPU_cff.py b/Configuration/Eras/python/Era_Run3_trackingLowPU_cff.py new file mode 100644 index 0000000000000..d87402aa2943e --- /dev/null +++ b/Configuration/Eras/python/Era_Run3_trackingLowPU_cff.py @@ -0,0 +1,6 @@ +import FWCore.ParameterSet.Config as cms + +from Configuration.Eras.ModifierChain_run3_noTrackingModifier_cff import run3_noTrackingModifier +from Configuration.Eras.Modifier_trackingLowPU_cff import trackingLowPU + +Run3_trackingLowPU = cms.ModifierChain(run3_noTrackingModifier, trackingLowPU) diff --git a/Configuration/Eras/python/ModifierChain_run3_noTrackingModifier_cff.py b/Configuration/Eras/python/ModifierChain_run3_noTrackingModifier_cff.py new file mode 100644 index 0000000000000..b2efc45e4d256 --- /dev/null +++ b/Configuration/Eras/python/ModifierChain_run3_noTrackingModifier_cff.py @@ -0,0 +1,6 @@ +import FWCore.ParameterSet.Config as cms + +from Configuration.Eras.Era_Run3_cff import Run3 +from Configuration.Eras.Modifier_trackingPhase1_cff import trackingPhase1 + +run3_noTrackingModifier = Run3.copyAndExclude([trackingPhase1]) diff --git a/Configuration/PyReleaseValidation/README.md b/Configuration/PyReleaseValidation/README.md index a4caaddabebfa..48417986f667b 100644 --- a/Configuration/PyReleaseValidation/README.md +++ b/Configuration/PyReleaseValidation/README.md @@ -29,7 +29,8 @@ The offsets currently in use are: * 0.1: Tracking-only validation and DQM * 0.2: Tracking Run-2 era, `Run2_2017_trackingRun2` * 0.3: 0.1 + 0.2 -* 0.4: LowPU tracking era, `Run2_2017_trackingLowPU` +* 0.4: LowPU tracking era, `Run2_2017_trackingLowPU`, `Run3_trackingLowPU` +* 0.424: 0 Tesla (Run 3) + `Run3_trackingLowPU` * 0.5: Pixel tracking only + 0.1 * 0.501: Patatrack, pixel only quadruplets, on CPU * 0.502: Patatrack, pixel only quadruplets, on GPU diff --git a/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py b/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py index 07bfb1bc8ba56..2b67c6078e7ee 100644 --- a/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py +++ b/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py @@ -189,7 +189,7 @@ def condition(self, fragment, stepList, key, hasHarvest): # some commonalities among tracking WFs class UpgradeWorkflowTracking(UpgradeWorkflow): def condition(self, fragment, stepList, key, hasHarvest): - result = (fragment=="TTbar_13" or fragment=="TTbar_14TeV") and not 'PU' in key and hasHarvest and self.condition_(fragment, stepList, key, hasHarvest) + result = (fragment=="TTbar_13" or fragment=="TTbar_14TeV" or fragment=="MinBias_14TeV") and not 'PU' in key and hasHarvest and self.condition_(fragment, stepList, key, hasHarvest) if result: # skip ALCA and Nano skipList = [s for s in stepList if (("ALCA" in s) or ("Nano" in s))] @@ -259,8 +259,10 @@ class UpgradeWorkflow_trackingLowPU(UpgradeWorkflowTracking): def setup_(self, step, stepName, stepDict, k, properties): if 'Reco' in step and stepDict[step][k]['--era']=='Run2_2017': stepDict[stepName][k] = merge([{'--era': 'Run2_2017_trackingLowPU'}, stepDict[step][k]]) + elif 'Reco' in step and stepDict[step][k]['--era']=='Run3': + stepDict[stepName][k] = merge([{'--era': 'Run3_trackingLowPU'}, stepDict[step][k]]) def condition_(self, fragment, stepList, key, hasHarvest): - return '2017' in key + return ((fragment=="TTbar_13") and ('2017' in key)) or ((fragment=="TTbar_14TeV" or fragment=="MinBias_14TeV") and ('2021' in key)) upgradeWFs['trackingLowPU'] = UpgradeWorkflow_trackingLowPU( steps = [ 'Reco', @@ -763,7 +765,7 @@ def setup_(self, step, stepName, stepDict, k, properties): myGT+="_0T" stepDict[stepName][k] = merge([{'-n':'1','--magField':'0T','--conditions':myGT}, stepDict[step][k]]) def condition(self, fragment, stepList, key, hasHarvest): - return (fragment=="TTbar_13" or fragment=="TTbar_14TeV") and ('2017' in key or '2018' in key or '2021' in key) + return ((fragment=="TTbar_13") and ('2017' in key or '2018' in key)) or ((fragment=="TTbar_14TeV" or fragment=="MinBias_14TeV") and ('2021' in key)) upgradeWFs['0T'] = UpgradeWorkflow_0T( steps = [ 'GenSim', @@ -781,6 +783,21 @@ def condition(self, fragment, stepList, key, hasHarvest): offset = 0.24, ) +class UpgradeWorkflow_trackingLowPUat0T(UpgradeWorkflowTracking,UpgradeWorkflow_0T): + def setup_(self, step, stepName, stepDict, k, properties): + if 'Reco' in step and stepDict[step][k]['--era']=='Run3': + stepDict[stepName][k] = merge([{'--era': 'Run3_trackingLowPU'}, stepDict[step][k]]) + def condition_(self, fragment, stepList, key, hasHarvest): + return ((fragment=="TTbar_14TeV" or fragment=="MinBias_14TeV") and ('2021' in key)) +upgradeWFs['trackingLowPUat0T'] = UpgradeWorkflow_trackingLowPUat0T( + steps = [ + 'Reco', + ], + PU = [], + suffix = '_trackingLowPUat0T', + offset = 0.424, +) + class UpgradeWorkflow_ParkingBPH(UpgradeWorkflow): def setup_(self, step, stepName, stepDict, k, properties): if 'Reco' in step and 'Run2_2018' in stepDict[step][k]['--era']: diff --git a/Configuration/StandardSequences/python/Eras.py b/Configuration/StandardSequences/python/Eras.py index 585d3d7c67250..f8edac0d825fd 100644 --- a/Configuration/StandardSequences/python/Eras.py +++ b/Configuration/StandardSequences/python/Eras.py @@ -32,6 +32,7 @@ def __init__(self): 'Run2_2018_pp_on_AA_noHCALmitigation', 'Run2_2018_highBetaStar', 'Run3', + 'Run3_trackingLowPU', 'Run3_pp_on_PbPb', 'Run3_dd4hep', 'Phase2', @@ -76,7 +77,7 @@ def __init__(self): 'hcalHardcodeConditions', 'hcalSkipPacker', 'run2_HLTconditions_2016','run2_HLTconditions_2017','run2_HLTconditions_2018', 'bParking'] - internalUseModChains = ['run2_2017_noTrackingModifier'] + internalUseModChains = ['run2_2017_noTrackingModifier','run3_noTrackingModifier'] self.pythonCfgLines = {}