CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PhotonIDValueMapProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 photonIDValueMapProducer = cms.EDProducer('PhotonIDValueMapProducer',
4  # The module automatically detects AOD vs miniAOD, so we configure both
5  #
6  # AOD case
7  #
8  ebReducedRecHitCollection = cms.InputTag("reducedEcalRecHitsEB"),
9  eeReducedRecHitCollection = cms.InputTag("reducedEcalRecHitsEE"),
10  esReducedRecHitCollection = cms.InputTag("reducedEcalRecHitsES"),
11  particleBasedIsolation = cms.InputTag("particleBasedIsolation","gedPhotons"),
12  vertices = cms.InputTag("offlinePrimaryVertices"),
13  pfCandidates = cms.InputTag("particleFlow"),
14  src = cms.InputTag('gedPhotons'),
15  #
16  # miniAOD case
17  #
18  ebReducedRecHitCollectionMiniAOD = cms.InputTag("reducedEgamma:reducedEBRecHits"),
19  eeReducedRecHitCollectionMiniAOD = cms.InputTag("reducedEgamma:reducedEERecHits"),
20  esReducedRecHitCollectionMiniAOD = cms.InputTag("reducedEgamma:reducedESRecHits"),
21  verticesMiniAOD = cms.InputTag("offlineSlimmedPrimaryVertices"),
22  pfCandidatesMiniAOD = cms.InputTag("packedPFCandidates"),
23  # there is no need for the isolation map here, for miniAOD it is inside packedPFCandidates
24  srcMiniAOD = cms.InputTag('slimmedPhotons',processName=cms.InputTag.skipCurrentProcess()),
25  )