CommonTools
ParticleFlow
python
pfElectrons_cff.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
from
CommonTools.ParticleFlow.ParticleSelectors.pfAllElectrons_cfi
import
*
4
from
CommonTools.ParticleFlow.ParticleSelectors.pfElectronsFromVertex_cfi
import
*
5
from
CommonTools.ParticleFlow.Isolation.pfIsolatedElectrons_cfi
import
*
6
7
8
pfElectrons = pfIsolatedElectrons.clone( cut =
" pt > 5 & gsfElectronRef.isAvailable() & gsfTrackRef.hitPattern().numberOfLostHits('MISSING_INNER_HITS')<2"
)
9
10
pfElectronTask = cms.Task(
11
pfAllElectrons ,
12
pfElectronsFromVertex ,
13
pfIsolatedElectrons ,
14
pfElectrons
15
)
16
pfElectronSequence = cms.Sequence(pfElectronTask)
pfIsolatedElectrons_cfi
pfElectronsFromVertex_cfi
pfAllElectrons_cfi
Generated for CMSSW Reference Manual by
1.8.16