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.

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

Referenced by miniAOD_tools.miniAOD_customizeCommon().

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")
18 
def makeInputForPUPPIIsolationMuon(process)
def addToProcessAndTask(label, module, process, task)
Definition: helpers.py:28
def getPatAlgosToolsTask(process)
Definition: helpers.py:13