2 import FWCore.ParameterSet.Config
as cms
4 correctionType =
"Prompt2015"
5 files = {
"Prompt2015":
"EgammaAnalysis/ElectronTools/data/74X_Prompt_2015",
6 "76XReReco" :
"EgammaAnalysis/ElectronTools/data/76X_16DecRereco_2015"}
8 calibratedPatPhotons = cms.EDProducer(
"CalibratedPatPhotonProducerRun2",
11 photons = cms.InputTag(
'slimmedPhotons'),
15 isMC = cms.bool(
False),
18 isSynchronization = cms.bool(
False),
20 correctionFile = cms.string(files[correctionType])
23 calibratedPhotons = cms.EDProducer(
"CalibratedPhotonProducerRun2",
26 photons = cms.InputTag(
'photons'),
30 isMC = cms.bool(
False),
33 isSynchronization = cms.bool(
False),
35 correctionFile = cms.string(files[correctionType])