CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/CommonTools/ParticleFlow/python/pfElectrons_cff.py

Go to the documentation of this file.
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 
00011 pfElectronsClones = pfIsolatedElectronsClones.clone()
00012 pfElectronsClones.isolationCut = 999
00013 
00014 pfElectrons = pfIsolatedElectrons.clone(src=cms.InputTag("pfElectronsClones"))
00015 
00016 pfElectronSequence = cms.Sequence(
00017     pfAllElectrons +
00018     pfAllElectronsClones +
00019     # electron selection:
00020     #pfElectronsPtGt5 +
00021     pfElectronsFromVertex +
00022     pfSelectedElectrons +
00023     # computing Isolation variables:
00024     pfElectronIsolationSequence +
00025     # selecting isolated electrons:
00026     pfIsolatedElectronsClones+
00027     pfElectronsClones+
00028     pfIsolatedElectrons +
00029     pfElectrons 
00030     )
00031 
00032 
00033 
00034