1 import FWCore.ParameterSet.Config
as cms
6 elPFIsoDepositChargedPFBRECO=
isoDepositReplace(
'pfSelectedElectronsPFBRECO',
'pfAllChargedHadronsPFBRECO')
7 elPFIsoDepositChargedAllPFBRECO=
isoDepositReplace(
'pfSelectedElectronsPFBRECO',
'pfAllChargedParticlesPFBRECO')
8 elPFIsoDepositNeutralPFBRECO=
isoDepositReplace(
'pfSelectedElectronsPFBRECO',
'pfAllNeutralHadronsPFBRECO')
9 elPFIsoDepositPUPFBRECO=
isoDepositReplace(
'pfSelectedElectronsPFBRECO',
'pfPileUpAllChargedParticlesPFBRECO')
11 elPFIsoDepositGammaPFBRECO= cms.EDProducer(
"CandIsoDepositProducer",
12 src = cms.InputTag(
"pfSelectedElectronsPFBRECO"),
13 MultipleDepositsFlag = cms.bool(
False),
14 trackType = cms.string(
'candidate'),
15 ExtractorPSet = cms.PSet(
16 Diff_z = cms.double(99999.99),
17 ComponentName = cms.string(
'PFCandWithSuperClusterExtractor'),
18 DR_Max = cms.double(1.0),
19 Diff_r = cms.double(99999.99),
20 inputCandView = cms.InputTag(
"pfAllPhotonsPFBRECO"),
21 DR_Veto = cms.double(0),
22 SCMatch_Veto = cms.bool(
False),
23 MissHitSCMatch_Veto = cms.bool(
True),
24 DepositLabel = cms.untracked.string(
'')
27 elPFIsoDepositChargedPFBRECO.ExtractorPSet.DR_Veto = cms.double(0)
28 elPFIsoDepositChargedAllPFBRECO.ExtractorPSet.DR_Veto = cms.double(0)
29 elPFIsoDepositNeutralPFBRECO.ExtractorPSet.DR_Veto = cms.double(0)
30 elPFIsoDepositPUPFBRECO.ExtractorPSet.DR_Veto = cms.double(0)
33 electronPFIsolationDepositsPFBRECOSequence = cms.Sequence(
34 elPFIsoDepositChargedPFBRECO+
35 elPFIsoDepositChargedAllPFBRECO+
36 elPFIsoDepositGammaPFBRECO+
37 elPFIsoDepositNeutralPFBRECO+
38 elPFIsoDepositPUPFBRECO