CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
muonIsolationsPUPPI_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from PhysicsTools.PatAlgos.tools.helpers import getPatAlgosToolsTask, addToProcessAndTask
3 
4 from RecoMuon.MuonIsolation.muonIsolationPUPPI_cff import muonIsolationMiniAODPUPPI as _muonIsolationMiniAODPUPPI
5 from RecoMuon.MuonIsolation.muonIsolationPUPPI_cff import muonIsolationMiniAODPUPPINoLeptons as _muonIsolationMiniAODPUPPINoLeptons
6 
8 
9  task = getPatAlgosToolsTask(process)
10 
11  addToProcessAndTask('muonPUPPIIsolation', _muonIsolationMiniAODPUPPI.clone(), process, task)
12  process.muonPUPPIIsolation.srcToIsolate = cms.InputTag("muons")
13  process.muonPUPPIIsolation.srcForIsolationCone = cms.InputTag("packedPFCandidates")
14 
15  addToProcessAndTask('muonPUPPINoLeptonsIsolation', _muonIsolationMiniAODPUPPINoLeptons.clone(), process, task)
16  process.muonPUPPINoLeptonsIsolation.srcToIsolate = cms.InputTag("muons")
17  process.muonPUPPINoLeptonsIsolation.srcForIsolationCone = cms.InputTag("packedPFCandidates")
def getPatAlgosToolsTask
Definition: helpers.py:13
def addToProcessAndTask
Definition: helpers.py:28