2 import FWCore.ParameterSet.Config
as cms
4 correctionType =
"80Xapproval" 5 files = {
"Prompt2015":
"EgammaAnalysis/ElectronTools/data/ScalesSmearings/74X_Prompt_2015",
6 "76XReReco" :
"EgammaAnalysis/ElectronTools/data/ScalesSmearings/76X_16DecRereco_2015_Etunc",
7 "80Xapproval" :
"EgammaAnalysis/ElectronTools/data/ScalesSmearings/80X_ichepV2_2016_pho"}
9 calibratedPatPhotons = cms.EDProducer(
"CalibratedPatPhotonProducerRun2",
12 photons = cms.InputTag(
'slimmedPhotons'),
16 isMC = cms.bool(
False),
19 isSynchronization = cms.bool(
False),
21 correctionFile = cms.string(files[correctionType])
24 calibratedPhotons = cms.EDProducer(
"CalibratedPhotonProducerRun2",
27 photons = cms.InputTag(
'photons'),
31 isMC = cms.bool(
False),
34 isSynchronization = cms.bool(
False),
36 correctionFile = cms.string(files[correctionType])