00001 import FWCore.ParameterSet.Config as cms 00002 00003 from CommonTools.ParticleFlow.pfMET_cfi import * 00004 from CommonTools.ParticleFlow.pfNoPileUp_cff import * 00005 from CommonTools.ParticleFlow.pfElectrons_cff import * 00006 from CommonTools.ParticleFlow.pfMuons_cff import * 00007 from CommonTools.ParticleFlow.pfJets_cff import * 00008 from CommonTools.ParticleFlow.pfTaus_cff import * 00009 00010 # sequential top projection cleaning 00011 from CommonTools.ParticleFlow.ParticleSelectors.pfSortByType_cff import * 00012 from CommonTools.ParticleFlow.TopProjectors.pfNoMuon_cfi import * 00013 from CommonTools.ParticleFlow.TopProjectors.pfNoElectron_cfi import * 00014 from CommonTools.ParticleFlow.TopProjectors.pfNoJet_cfi import * 00015 from CommonTools.ParticleFlow.TopProjectors.pfNoTau_cfi import * 00016 00017 # generator tools 00018 from CommonTools.ParticleFlow.genForPF2PAT_cff import * 00019 00020 00021 PF2PAT = cms.Sequence( 00022 pfNoPileUpSequence + 00023 # pfSortByTypeSequence + 00024 pfAllNeutralHadrons+ 00025 pfAllChargedHadrons+ 00026 pfAllPhotons+ 00027 # pfAllMuons + in 'pfMuonSequence' 00028 pfMuonSequence + 00029 pfNoMuon + 00030 # pfAllElectrons + in 'pfElectronSequence' 00031 pfElectronSequence + 00032 pfNoElectron + 00033 # when uncommenting, change the source of the jet clustering 00034 pfJetSequence + 00035 pfNoJet + 00036 pfTauSequence + 00037 pfNoTau + 00038 # finally run pfMET reco (use pfJets provided by PF2PAT? After tau cleaning or before) 00039 pfMET 00040 # now that we have real data, we leave it to the user 00041 # or maybe to PAT? to run the gen sequence. 00042 )