10 sourceElectrons = patElectrons.electronSource
12 elPFIsoDepositCharged.src = sourceElectrons
13 elPFIsoDepositChargedAll.src = sourceElectrons
14 elPFIsoDepositNeutral.src = sourceElectrons
15 elPFIsoDepositGamma.src = sourceElectrons
16 elPFIsoDepositPU.src = sourceElectrons
18 patElectrons.isoDeposits = cms.PSet(
19 pfChargedHadrons = cms.InputTag(
"elPFIsoDepositCharged" ),
20 pfChargedAll = cms.InputTag(
"elPFIsoDepositChargedAll" ),
21 pfPUChargedHadrons = cms.InputTag(
"elPFIsoDepositPU" ),
22 pfNeutralHadrons = cms.InputTag(
"elPFIsoDepositNeutral" ),
23 pfPhotons = cms.InputTag(
"elPFIsoDepositGamma" ),
26 patElectrons.isolationValues = cms.PSet(
27 pfChargedHadrons = cms.InputTag(
"elPFIsoValueCharged04PFId"),
28 pfChargedAll = cms.InputTag(
"elPFIsoValueChargedAll04PFId"),
29 pfPUChargedHadrons = cms.InputTag(
"elPFIsoValuePU04PFId" ),
30 pfNeutralHadrons = cms.InputTag(
"elPFIsoValueNeutral04PFId" ),
31 pfPhotons = cms.InputTag(
"elPFIsoValueGamma04PFId" ),
34 patElectrons.isolationValuesNoPFId = cms.PSet(
35 pfChargedHadrons = cms.InputTag(
"elPFIsoValueCharged04NoPFId"),
36 pfChargedAll = cms.InputTag(
"elPFIsoValueChargedAll04NoPFId"),
37 pfPUChargedHadrons = cms.InputTag(
"elPFIsoValuePU04NoPFId" ),
38 pfNeutralHadrons = cms.InputTag(
"elPFIsoValueNeutral04NoPFId" ),
39 pfPhotons = cms.InputTag(
"elPFIsoValueGamma04NoPFId" )
43 makePatElectrons = cms.Sequence(
44 pfParticleSelectionForIsoSequence *
45 pfElectronIsolationSequence *