1 import FWCore.ParameterSet.Config
as cms
7 packedPFCandidatesTask = cms.Task(
14 from RecoHI.HiJetAlgos.HiBadParticleCleaner_cfi
import cleanedParticleFlow
16 packedPFCandidatesRemoved = packedPFCandidates.clone(
17 inputCollection =
"cleanedParticleFlow:removed",
18 vertexAssociator =
"primaryVertexAssociationCleaned:original" 21 _pp_on_AA_2018_packedPFCandidatesTask = cms.Task(cleanedParticleFlow,packedPFCandidatesRemoved,packedPFCandidatesTask.copy())
22 from Configuration.ProcessModifiers.run2_miniAOD_pp_on_AA_103X_cff
import run2_miniAOD_pp_on_AA_103X
23 run2_miniAOD_pp_on_AA_103X.toReplaceWith(packedPFCandidatesTask,_pp_on_AA_2018_packedPFCandidatesTask)