CommonTools
ParticleFlow
python
Isolation
pfIsolatedElectrons_cfi.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
4
5
pfIsolatedElectrons = cms.EDFilter(
6
"PFCandidateFwdPtrCollectionStringFilter"
,
7
src = cms.InputTag(
"pfElectronsFromVertex"
),
8
cut = cms.string(
"pt > 5 & gsfElectronRef.isAvailable() & gsfTrackRef.hitPattern().numberOfLostHits('MISSING_INNER_HITS')<2 & "
\
9
"gsfElectronRef.pfIsolationVariables().sumChargedHadronPt + "
\
10
"gsfElectronRef.pfIsolationVariables().sumNeutralHadronEt + "
\
11
"gsfElectronRef.pfIsolationVariables().sumPhotonEt "
\
12
" < 0.2 * pt "
13
),
14
makeClones = cms.bool(
True
)
15
)
16
Generated for CMSSW Reference Manual by
1.8.14