CMS 3D CMS Logo

Functions
PhotonPuppi_cff Namespace Reference

Functions

def setupPuppiPhoton (process)
 
def setupPuppiPhotonMiniAOD (process)
 

Function Documentation

def PhotonPuppi_cff.setupPuppiPhoton (   process)

Definition at line 23 of file PhotonPuppi_cff.py.

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

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 
def setupPuppiPhoton(process)
def setupAllVIDIdsInModule(process, id_module_name, setupFunction, patProducer=None, addUserData=True, task=None)
Definition: vid_id_tools.py:49
def switchOnVIDPhotonIdProducer(process, dataFormat, task=None)
Photons.
def PhotonPuppi_cff.setupPuppiPhotonMiniAOD (   process)

Definition at line 30 of file PhotonPuppi_cff.py.

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

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)
38 
def setupAllVIDIdsInModule(process, id_module_name, setupFunction, patProducer=None, addUserData=True, task=None)
Definition: vid_id_tools.py:49
def setupPuppiPhotonMiniAOD(process)
def switchOnVIDPhotonIdProducer(process, dataFormat, task=None)
Photons.