Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:07

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from CommonTools.ParticleFlow.ParticleSelectors.pfAllElectrons_cfi  import *
0004 from CommonTools.ParticleFlow.ParticleSelectors.pfElectronsFromVertex_cfi import *
0005 from CommonTools.ParticleFlow.Isolation.pfIsolatedElectrons_cfi import *
0006 
0007 
0008 pfElectrons = pfIsolatedElectrons.clone( cut = " pt > 5 & gsfElectronRef.isAvailable() & gsfTrackRef.hitPattern().numberOfLostHits('MISSING_INNER_HITS')<2")
0009 
0010 pfElectronTask = cms.Task(
0011     pfAllElectrons ,
0012     pfElectronsFromVertex , 
0013     pfIsolatedElectrons ,    
0014     pfElectrons 
0015     )
0016 pfElectronSequence = cms.Sequence(pfElectronTask)