CMS 3D CMS Logo

Functions
PhotonPuppi_cff Namespace Reference

Functions

def setupPuppiPhoton (process)
 
def setupPuppiPhotonMiniAOD (process)
 

Function Documentation

◆ setupPuppiPhoton()

def PhotonPuppi_cff.setupPuppiPhoton (   process)

Definition at line 23 of file PhotonPuppi_cff.py.

23 def setupPuppiPhoton(process):
24  my_id_modules = [] # Add photon ID used by puppiPhoton producer here
25  switchOnVIDPhotonIdProducer(process, DataFormat.AOD)
26  for idmod in my_id_modules:
27  setupAllVIDIdsInModule(process,idmod,setupVIDPhotonSelection)
28 
29 

References vid_id_tools.setupAllVIDIdsInModule(), and vid_id_tools.switchOnVIDPhotonIdProducer().

◆ setupPuppiPhotonMiniAOD()

def PhotonPuppi_cff.setupPuppiPhotonMiniAOD (   process)

Definition at line 30 of file PhotonPuppi_cff.py.

30 def setupPuppiPhotonMiniAOD(process):
31  my_id_modules = [] # Add photon ID used by puppiPhoton producer here
32  switchOnVIDPhotonIdProducer(process, DataFormat.MiniAOD)
33  for idmod in my_id_modules:
34  setupAllVIDIdsInModule(process,idmod,setupVIDPhotonSelection)
35 
36 
37 #puppiPhotonSeq = cms.Sequence(egmPhotonIDSequence*puppiPhoton)

References vid_id_tools.setupAllVIDIdsInModule(), and vid_id_tools.switchOnVIDPhotonIdProducer().

PhotonPuppi_cff.setupPuppiPhotonMiniAOD
def setupPuppiPhotonMiniAOD(process)
Definition: PhotonPuppi_cff.py:30
PhotonPuppi_cff.setupPuppiPhoton
def setupPuppiPhoton(process)
Definition: PhotonPuppi_cff.py:23
vid_id_tools.setupAllVIDIdsInModule
def setupAllVIDIdsInModule(process, id_module_name, setupFunction, patProducer=None, addUserData=True, task=None)
Definition: vid_id_tools.py:49
vid_id_tools.switchOnVIDPhotonIdProducer
def switchOnVIDPhotonIdProducer(process, dataFormat, task=None)
Photons.
Definition: vid_id_tools.py:158