CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
PhotonPuppi_cff Namespace Reference

Functions

def setupPuppiPhoton
 

Variables

tuple puppiPhoton
 

Function Documentation

def PhotonPuppi_cff.setupPuppiPhoton (   process)

Definition at line 19 of file PhotonPuppi_cff.py.

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

19 
20 def setupPuppiPhoton(process):
21  my_id_modules = ['RecoEgamma.PhotonIdentification.Identification.cutBasedPhotonID_PHYS14_PU20bx25_V2_cff']
22  switchOnVIDPhotonIdProducer(process, DataFormat.MiniAOD)
23  for idmod in my_id_modules:
24  setupAllVIDIdsInModule(process,idmod,setupVIDPhotonSelection)
25 
26 
27 #puppiPhotonSeq = cms.Sequence(egmPhotonIDSequence*puppiPhoton)
def setupAllVIDIdsInModule
Definition: vid_id_tools.py:50
def switchOnVIDPhotonIdProducer
Photons.

Variable Documentation

tuple PhotonPuppi_cff.puppiPhoton
Initial value:
1 = cms.EDProducer("PuppiPhoton",
2  candName = cms.InputTag('packedPFCandidates'),
3  puppiCandName = cms.InputTag('puppi'),
4  photonName = cms.InputTag('slimmedPhotons'),
5  photonId = cms.InputTag("egmPhotonIDs:cutBasedPhotonID-PHYS14-PU20bx25-V2-standalone-loose"),
6  pt = cms.double(10),
7  useRefs = cms.bool(True),
8  dRMatch = cms.vdouble(10,10,10,10),
9  pdgids = cms.vint32 (22,11,211,130),
10  weight = cms.double(1.),
11  useValueMap = cms.bool(False),
12  weightsName = cms.InputTag('puppi'),
13  )

Definition at line 4 of file PhotonPuppi_cff.py.