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.
1 import FWCore.ParameterSet.Config as cms
2 
6 
9 
10 sourceMuons = patMuons.muonSource
11 
12 muPFIsoDepositChargedPAT.src = sourceMuons
13 muPFIsoDepositChargedAllPAT.src = sourceMuons
14 muPFIsoDepositNeutralPAT.src = sourceMuons
15 muPFIsoDepositGammaPAT.src = sourceMuons
16 muPFIsoDepositPUPAT.src = sourceMuons
17 
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" ),
24  )
25 
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" ),
32  )
33 
34 ## for scheduled mode
35 makePatMuons = cms.Sequence(
36  pfParticleSelectionForIsoSequence *
37  muonPFIsolationPATSequence *
38  muonMatch *
39  patMuons
40  )