CMS 3D CMS Logo

Functions
muonIsolationsPUPPI_cfi Namespace Reference

Functions

def makeInputForPUPPIIsolationMuon (process)
 

Function Documentation

◆ makeInputForPUPPIIsolationMuon()

def muonIsolationsPUPPI_cfi.makeInputForPUPPIIsolationMuon (   process)

Definition at line 7 of file muonIsolationsPUPPI_cfi.py.

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")

References helpers.addToProcessAndTask(), and helpers.getPatAlgosToolsTask().

Referenced by miniAOD_tools.miniAOD_customizeCommon().

helpers.getPatAlgosToolsTask
def getPatAlgosToolsTask(process)
Definition: helpers.py:13
muonIsolationsPUPPI_cfi.makeInputForPUPPIIsolationMuon
def makeInputForPUPPIIsolationMuon(process)
Definition: muonIsolationsPUPPI_cfi.py:7
helpers.addToProcessAndTask
def addToProcessAndTask(label, module, process, task)
Definition: helpers.py:28