CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
muonProducer_cff.py
Go to the documentation of this file.
2 
6 
9 
10 sourceMuons = patMuons.muonSource
11 
12 muPFIsoDepositCharged.src = sourceMuons
13 muPFIsoDepositChargedAll.src = sourceMuons
14 muPFIsoDepositNeutral.src = sourceMuons
15 muPFIsoDepositGamma.src = sourceMuons
16 muPFIsoDepositPU.src = sourceMuons
17 
18 patMuons.isoDeposits = cms.PSet(
19  pfChargedHadrons = cms.InputTag("muPFIsoDepositCharged" ),
20  pfChargedAll = cms.InputTag("muPFIsoDepositChargedAll" ),
21  pfPUChargedHadrons = cms.InputTag("muPFIsoDepositPU" ),
22  pfNeutralHadrons = cms.InputTag("muPFIsoDepositNeutral" ),
23  pfPhotons = cms.InputTag("muPFIsoDepositGamma" ),
24  )
25 
26 patMuons.isolationValues = cms.PSet(
27  pfChargedHadrons = cms.InputTag("muPFIsoValueCharged04"),
28  pfChargedAll = cms.InputTag("muPFIsoValueChargedAll04"),
29  pfPUChargedHadrons = cms.InputTag("muPFIsoValuePU04" ),
30  pfNeutralHadrons = cms.InputTag("muPFIsoValueNeutral04" ),
31  pfPhotons = cms.InputTag("muPFIsoValueGamma04" ),
32  )
33 
34 ## for scheduled mode
35 makePatMuons = cms.Sequence(
36  pfParticleSelectionForIsoSequence *
37  pfMuonIsolationSequence *
38  muonMatch *
39  patMuons
40  )