diff --git a/PhysicsTools/PatAlgos/python/slimming/slimming_cff.py b/PhysicsTools/PatAlgos/python/slimming/slimming_cff.py index 17aeba0c5b5fe..0c9c2cafe0bd2 100644 --- a/PhysicsTools/PatAlgos/python/slimming/slimming_cff.py +++ b/PhysicsTools/PatAlgos/python/slimming/slimming_cff.py @@ -124,7 +124,7 @@ from PhysicsTools.PatAlgos.modules import DeDxEstimatorRekeyer dedxEstimator = DeDxEstimatorRekeyer() from Configuration.Eras.Modifier_run3_egamma_2023_cff import run3_egamma_2023 -(run3_upc & ~run3_egamma_2023).toModify(dedxEstimator, dedxEstimators = ["dedxHarmonic2", "dedxPixelHarmonic2", "dedxPixelLikelihood", "dedxStripLikelihood", "dedxAllLikelihood"]) +run3_upc.toModify(dedxEstimator, dedxEstimators = ["dedxHarmonic2", "dedxPixelHarmonic2", "dedxPixelLikelihood", "dedxStripLikelihood", "dedxAllLikelihood"]) run3_upc.toReplaceWith(slimmingTask, cms.Task(slimmingTask.copy(), hiPixelTracks, packedPFCandidateTrackChi2, lostTrackChi2, dedxEstimator)) from Configuration.Eras.Modifier_ppRef_2024_cff import ppRef_2024 diff --git a/RecoTracker/DeDx/python/dedxEstimators_cff.py b/RecoTracker/DeDx/python/dedxEstimators_cff.py index 978510dc2231b..cb9686fdb012e 100644 --- a/RecoTracker/DeDx/python/dedxEstimators_cff.py +++ b/RecoTracker/DeDx/python/dedxEstimators_cff.py @@ -116,4 +116,4 @@ dedxStripLikelihood = dedxAllLikelihood.clone(UseStrip = True, UsePixel = False) from Configuration.Eras.Modifier_run3_egamma_2023_cff import run3_egamma_2023 -(run3_upc & ~run3_egamma_2023).toReplaceWith(doAlldEdXEstimatorsTask, cms.Task(doAlldEdXEstimatorsTask.copy(), dedxHitCalibrator, dedxStripLikelihood, dedxPixelLikelihood, dedxAllLikelihood)) +run3_upc.toReplaceWith(doAlldEdXEstimatorsTask, cms.Task(doAlldEdXEstimatorsTask.copy(), dedxHitCalibrator, dedxStripLikelihood, dedxPixelLikelihood, dedxAllLikelihood))