File indexing completed on 2023-03-17 10:45:22
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005 pfIsolatedElectrons = cms.EDFilter(
0006 "PFCandidateFwdPtrCollectionStringFilter",
0007 src = cms.InputTag("pfElectronsFromVertex"),
0008 cut = cms.string("pt > 5 & gsfElectronRef.isAvailable() & gsfTrackRef.hitPattern().numberOfLostHits('MISSING_INNER_HITS')<2 & "\
0009 "gsfElectronRef.pfIsolationVariables().sumChargedHadronPt + "\
0010 "gsfElectronRef.pfIsolationVariables().sumNeutralHadronEt + "\
0011 "gsfElectronRef.pfIsolationVariables().sumPhotonEt "\
0012 " < 0.2 * pt "
0013 ),
0014 makeClones = cms.bool(True)
0015 )
0016