CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pfMuonIsolation_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # iso deposits and isolation values, defined by the Muon POG
4 
6 
7 # computing the isolation for the muons produced by PF2PAT, and not for reco muons
8 sourceMuons = 'pfSelectedMuons'
9 
10 muPFIsoDepositCharged.src = sourceMuons
11 muPFIsoDepositChargedAll.src = sourceMuons
12 muPFIsoDepositNeutral.src = sourceMuons
13 muPFIsoDepositGamma.src = sourceMuons
14 muPFIsoDepositPU.src = sourceMuons
15 
16 pfMuonIsolationTask = cms.Task(
17  muonPFIsolationTask
18  )
19 pfMuonIsolationSequence = cms.Sequence(pfMuonIsolationTask)