1 import FWCore.ParameterSet.Config
as cms
10 sourceMuons = patMuons.muonSource
12 muPFIsoDepositChargedPAT.src = sourceMuons
13 muPFIsoDepositChargedAllPAT.src = sourceMuons
14 muPFIsoDepositNeutralPAT.src = sourceMuons
15 muPFIsoDepositGammaPAT.src = sourceMuons
16 muPFIsoDepositPUPAT.src = sourceMuons
18 patMuons.isoDeposits = cms.PSet(
19 pfChargedHadrons = cms.InputTag(
"muPFIsoDepositChargedPAT" ),
20 pfChargedAll = cms.InputTag(
"muPFIsoDepositChargedAllPAT" ),
21 pfPUChargedHadrons = cms.InputTag(
"muPFIsoDepositPUPAT" ),
22 pfNeutralHadrons = cms.InputTag(
"muPFIsoDepositNeutralPAT" ),
23 pfPhotons = cms.InputTag(
"muPFIsoDepositGammaPAT" ),
26 patMuons.isolationValues = cms.PSet(
27 pfChargedHadrons = cms.InputTag(
"muPFIsoValueCharged04PAT"),
28 pfChargedAll = cms.InputTag(
"muPFIsoValueChargedAll04PAT"),
29 pfPUChargedHadrons = cms.InputTag(
"muPFIsoValuePU04PAT" ),
30 pfNeutralHadrons = cms.InputTag(
"muPFIsoValueNeutral04PAT" ),
31 pfPhotons = cms.InputTag(
"muPFIsoValueGamma04PAT" ),
35 makePatMuonsTask = cms.Task(
36 pfParticleSelectionForIsoTask,
37 muonPFIsolationPATTask,
41 makePatMuons = cms.Sequence(makePatMuonsTask)