00001 import FWCore.ParameterSet.Config as cms 00002 00003 from CommonTools.ParticleFlow.ParticleSelectors.pfAllElectrons_cfi import * 00004 #from CommonTools.ParticleFlow.ParticleSelectors.pfElectronsPtGt5_cfi import * 00005 from CommonTools.ParticleFlow.ParticleSelectors.pfElectronsFromVertex_cfi import * 00006 from CommonTools.ParticleFlow.ParticleSelectors.pfSelectedElectrons_cfi import * 00007 from CommonTools.ParticleFlow.Isolation.pfElectronIsolation_cff import * 00008 from CommonTools.ParticleFlow.Isolation.pfIsolatedElectrons_cfi import * 00009 00010 pfElectrons = pfIsolatedElectrons.clone() 00011 pfElectrons.isolationCut = 999 00012 00013 pfElectronSequence = cms.Sequence( 00014 pfAllElectrons + 00015 # electron selection: 00016 #pfElectronsPtGt5 + 00017 pfElectronsFromVertex + 00018 pfSelectedElectrons + 00019 # computing Isolation variables: 00020 pfElectronIsolationSequence + 00021 # selecting isolated electrons: 00022 pfIsolatedElectrons + 00023 pfElectrons 00024 ) 00025 00026 00027 00028