Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from PhysicsTools.PatAlgos.slimming.packedPFCandidates_cfi import *
0004 from CommonTools.ParticleFlow.pfNoPileUpJME_cff import *
0005 from CommonTools.ParticleFlow.PFBRECO_cff import pfPileUpPFBRECO, pfNoPileUpPFBRECO
0006 
0007 packedPFCandidatesTask = cms.Task(
0008     packedPFCandidates,
0009     pfNoPileUpJMETask,
0010     pfPileUpPFBRECO,
0011     pfNoPileUpPFBRECO
0012 )
0013 
0014 from RecoHI.HiJetAlgos.HiBadParticleCleaner_cfi import cleanedParticleFlow
0015 
0016 packedPFCandidatesRemoved = packedPFCandidates.clone(
0017     inputCollection = "cleanedParticleFlow:removed",
0018     vertexAssociator = "primaryVertexAssociationCleaned:original"
0019 )
0020 
0021 _pp_on_AA_2018_packedPFCandidatesTask = cms.Task(cleanedParticleFlow,packedPFCandidatesRemoved,packedPFCandidatesTask.copy())
0022 from Configuration.ProcessModifiers.run2_miniAOD_pp_on_AA_103X_cff import run2_miniAOD_pp_on_AA_103X
0023 run2_miniAOD_pp_on_AA_103X.toReplaceWith(packedPFCandidatesTask,_pp_on_AA_2018_packedPFCandidatesTask)