pfNoPileUp.bottomCollection = 'particleFlowPtrs' pfPileUpIso.PFCandidates = 'particleFlowPtrs' pfNoPileUpIso.bottomCollection = 'particleFlowPtrs' pfPileUp.Enable = True pfPileUp.Vertices = 'goodOfflinePrimaryVertices' pfPileUp.checkClosestZVertex = cms.bool(False) # Loading PFProducer to get the ptrs from RecoParticleFlow.PFProducer.pfLinker_cff import particleFlowPtrs process.load('RecoParticleFlow.PFProducer.pfLinker_cff') # Load PUPPI from MitProd.TreeFiller.PuppiSetup_cff import puppiSequence, photonIdForPuppi process.load('MitProd.TreeFiller.PuppiSetup_cff') egmPhotonIDSequence = photonIdForPuppi(process) # PUPPI jets from RecoJets.JetProducers.ak4PFJetsPuppi_cfi import ak4PFJetsPuppi process.load('RecoJets.JetProducers.ak4PFJetsPuppi_cfi') ak4PFJetsPuppi.src = 'puppi' ak4PFJetsPuppi.doAreaFastjet = True # PUPPI MET from RecoMET.METProducers.PFMET_cfi import pfMet process.pfMETPuppi = pfMet.clone(src=cms.InputTag('puppiForMET'), calculateSignificance=cms.bool(False)) pfMETPuppi = process.pfMETPuppi # Load HPS tau reconstruction (tau in AOD is older than the latest reco in release) from RecoTauTag.Configuration.RecoPFTauTag_cff import PFTau
pfNoPileUp.bottomCollection = 'particleFlowPtrs' pfPileUpIso.PFCandidates = 'particleFlowPtrs' pfNoPileUpIso.bottomCollection = 'particleFlowPtrs' pfPileUp.Enable = True pfPileUp.Vertices = 'goodOfflinePrimaryVertices' pfPileUp.checkClosestZVertex = cms.bool(False) # Loading PFProducer to get the ptrs from RecoParticleFlow.PFProducer.pfLinker_cff import particleFlowPtrs process.load('RecoParticleFlow.PFProducer.pfLinker_cff') # Load PUPPI from MitProd.TreeFiller.PuppiSetup_cff import puppiSequence, photonIdForPuppi process.load('MitProd.TreeFiller.PuppiSetup_cff') egmPhotonIDSequence = photonIdForPuppi(process) # PUPPI jets from RecoJets.JetProducers.ak4PFJetsPuppi_cfi import ak4PFJetsPuppi process.load('RecoJets.JetProducers.ak4PFJetsPuppi_cfi') ak4PFJetsPuppi.src = 'puppi' ak4PFJetsPuppi.doAreaFastjet = True # PUPPI MET from RecoMET.METProducers.PFMET_cfi import pfMet process.pfMETPuppi = pfMet.clone( src = cms.InputTag('puppiForMET'), calculateSignificance = cms.bool(False) ) pfMETPuppi = process.pfMETPuppi