CMS 3D CMS Logo

Functions
egmIsolationsPUPPI_cfi Namespace Reference

Functions

def makeInputForPUPPIIsolationEgm (process)
 

Function Documentation

◆ makeInputForPUPPIIsolationEgm()

def egmIsolationsPUPPI_cfi.makeInputForPUPPIIsolationEgm (   process)

Definition at line 8 of file egmIsolationsPUPPI_cfi.py.

9 
10  task = getPatAlgosToolsTask(process)
11 
12  addToProcessAndTask('egmPhotonPUPPIIsolation', _egmPhotonPUPPIIsolationForPhotons.clone(), process, task)
13  process.egmPhotonPUPPIIsolation.srcToIsolate = cms.InputTag("reducedEgamma","reducedGedPhotons")
14  process.egmPhotonPUPPIIsolation.srcForIsolationCone = cms.InputTag("particleFlow")
15  process.egmPhotonPUPPIIsolation.puppiValueMap = cms.InputTag('puppi')
16 
17  addToProcessAndTask('egmElectronPUPPIIsolation', _egmElectronIsolationMiniAODPUPPI.clone(), process, task)
18  process.egmElectronPUPPIIsolation.srcToIsolate = cms.InputTag("reducedEgamma","reducedGedGsfElectrons")
19  process.egmElectronPUPPIIsolation.srcForIsolationCone = cms.InputTag("packedPFCandidates")
20 
21  addToProcessAndTask('egmElectronPUPPINoLeptonsIsolation', _egmElectronIsolationMiniAODPUPPINoLeptons.clone(), process, task)
22  process.egmElectronPUPPINoLeptonsIsolation.srcToIsolate = cms.InputTag("reducedEgamma","reducedGedGsfElectrons")
23  process.egmElectronPUPPINoLeptonsIsolation.srcForIsolationCone = cms.InputTag("packedPFCandidates")

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

Referenced by miniAOD_tools.miniAOD_customizeCommon().

helpers.getPatAlgosToolsTask
def getPatAlgosToolsTask(process)
Definition: helpers.py:14
egmIsolationsPUPPI_cfi.makeInputForPUPPIIsolationEgm
def makeInputForPUPPIIsolationEgm(process)
Definition: egmIsolationsPUPPI_cfi.py:8
helpers.addToProcessAndTask
def addToProcessAndTask(label, module, process, task)
Definition: helpers.py:29