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.

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

Referenced by miniAOD_tools.miniAOD_customizeCommon().

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