1 import FWCore.ParameterSet.Config
as cms
29 from HeavyFlavorAnalysis.Onia2MuMu.OniaPhotonConversionProducer_cfi
import PhotonCandidates
as oniaPhotonCandidates
31 slimmingTask = cms.Task(
32 packedPFCandidatesTask,
35 offlineSlimmedPrimaryVertices,
36 primaryVertexAssociation,
46 slimmedLowPtElectrons,
52 slimmedSecondaryVertices,
53 slimmedKshortVertices,
54 slimmedLambdaVertices,
62 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
63 pp_on_AA_2018.toReplaceWith(slimmingTask, slimmingTask.copyAndExclude([slimmedOOTPhotons]))
65 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
66 _phase2_timing_slimmingTask = cms.Task(slimmingTask.copy(),
67 offlineSlimmedPrimaryVertices4D)
68 phase2_timing.toReplaceWith(slimmingTask,_phase2_timing_slimmingTask)