00001 import FWCore.ParameterSet.Config as cms 00002 00003 from CommonTools.ParticleFlow.pfMET_cfi import * 00004 from CommonTools.ParticleFlow.pfParticleSelection_cff import * 00005 from CommonTools.ParticleFlow.pfNoPileUp_cff import * 00006 from CommonTools.ParticleFlow.pfPhotons_cff import * 00007 from CommonTools.ParticleFlow.pfElectrons_cff import * 00008 from CommonTools.ParticleFlow.pfMuons_cff import * 00009 from CommonTools.ParticleFlow.pfJets_cff import * 00010 from CommonTools.ParticleFlow.pfTaus_cff import * 00011 00012 # sequential top projection cleaning 00013 from CommonTools.ParticleFlow.TopProjectors.pfNoMuon_cfi import * 00014 from CommonTools.ParticleFlow.TopProjectors.pfNoElectron_cfi import * 00015 from CommonTools.ParticleFlow.TopProjectors.pfNoJet_cfi import * 00016 from CommonTools.ParticleFlow.TopProjectors.pfNoTau_cfi import * 00017 00018 # generator tools 00019 from CommonTools.ParticleFlow.genForPF2PAT_cff import * 00020 00021 # plugging PF2PAT on the collection of PFCandidates from RECO: 00022 00023 pfPileUp.PFCandidates = 'ParticleFlow' 00024 pfNoPileUp.bottomCollection = 'ParticleFlow' 00025 pfPileUpIso.PFCandidates = 'ParticleFlow' 00026 pfNoPileUpIso.bottomCollection='ParticleFlow' 00027 00028 PFBRECO = cms.Sequence( 00029 pfNoPileUpSequence + 00030 pfParticleSelectionSequence + 00031 pfPhotonSequence + 00032 pfMuonSequence + 00033 pfNoMuon + 00034 pfElectronSequence + 00035 pfNoElectron + 00036 pfJetSequence + 00037 pfNoJet + 00038 pfTauSequence + 00039 pfNoTau + 00040 pfMET 00041 )