7 elPFIsoDepositChargedAllGsf=
isoDepositReplace(
'gedGsfElectrons',
'pfAllChargedParticles')
11 elPFIsoDepositGammaGsf= cms.EDProducer(
"CandIsoDepositProducer",
12 src = cms.InputTag(
"gedGsfElectrons"),
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(
"pfAllPhotons"),
21 DR_Veto = cms.double(0),
22 SCMatch_Veto = cms.bool(
False),
23 MissHitSCMatch_Veto = cms.bool(
True),
24 DepositLabel = cms.untracked.string(
'')
39 elPFIsoValueCharged03PFIdGsf = cms.EDProducer(
"PFCandIsolatorFromDeposits",
42 src = cms.InputTag(
"elPFIsoDepositChargedGsf"),
43 deltaR = cms.double(0.3),
44 weight = cms.string(
'1'),
45 vetos = cms.vstring(
'EcalEndcaps:ConeVeto(0.015)'),
46 skipDefaultVeto = cms.bool(
True),
47 mode = cms.string(
'sum'),
48 PivotCoordinatesForEBEE = cms.bool(
True)
52 elPFIsoValueChargedAll03PFIdGsf = cms.EDProducer(
"PFCandIsolatorFromDeposits",
55 src = cms.InputTag(
"elPFIsoDepositChargedAllGsf"),
56 deltaR = cms.double(0.3),
57 weight = cms.string(
'1'),
58 vetos = cms.vstring(
'EcalEndcaps:ConeVeto(0.015)'),
59 skipDefaultVeto = cms.bool(
True),
60 mode = cms.string(
'sum'),
61 PivotCoordinatesForEBEE = cms.bool(
True)
66 elPFIsoValueGamma03PFIdGsf = cms.EDProducer(
"PFCandIsolatorFromDeposits",
69 src = cms.InputTag(
"elPFIsoDepositGammaGsf"),
70 deltaR = cms.double(0.3),
71 weight = cms.string(
'1'),
72 vetos = cms.vstring(
'EcalEndcaps:ConeVeto(0.08)'),
73 skipDefaultVeto = cms.bool(
True),
74 mode = cms.string(
'sum'),
75 PivotCoordinatesForEBEE = cms.bool(
True)
80 elPFIsoValueNeutral03PFIdGsf = cms.EDProducer(
"PFCandIsolatorFromDeposits",
83 src = cms.InputTag(
"elPFIsoDepositNeutralGsf"),
84 deltaR = cms.double(0.3),
85 weight = cms.string(
'1'),
86 vetos = cms.vstring(),
87 skipDefaultVeto = cms.bool(
True),
88 mode = cms.string(
'sum'),
89 PivotCoordinatesForEBEE = cms.bool(
True)
94 elPFIsoValuePU03PFIdGsf = cms.EDProducer(
"PFCandIsolatorFromDeposits",
97 src = cms.InputTag(
"elPFIsoDepositPUGsf"),
98 deltaR = cms.double(0.3),
99 weight = cms.string(
'1'),
100 vetos = cms.vstring(
'EcalEndcaps:ConeVeto(0.015)'),
101 skipDefaultVeto = cms.bool(
True),
102 mode = cms.string(
'sum'),
103 PivotCoordinatesForEBEE = cms.bool(
True)
125 eleIsoSequence = cms.Sequence((elPFIsoDepositChargedGsf + elPFIsoDepositChargedAllGsf + elPFIsoDepositNeutralGsf + elPFIsoDepositGammaGsf + elPFIsoDepositPUGsf))
126 eleIsoSequence *= cms.Sequence(elPFIsoValueCharged03PFIdGsf+elPFIsoValueChargedAll03PFIdGsf+elPFIsoValueGamma03PFIdGsf+elPFIsoValueNeutral03PFIdGsf+elPFIsoValuePU03PFIdGsf )
127 pfisoALCARECO = cms.Sequence(eleIsoSequence)