1 import FWCore.ParameterSet.Config
as cms
3 correctionType =
"80Xapproval" 4 files = {
"Prompt2015":
"EgammaAnalysis/ElectronTools/data/ScalesSmearings/74X_Prompt_2015",
5 "76XReReco" :
"EgammaAnalysis/ElectronTools/data/ScalesSmearings/76X_16DecRereco_2015_Etunc",
6 "80Xapproval" :
"EgammaAnalysis/ElectronTools/data/ScalesSmearings/80X_ichepV1_2016_ele"}
8 calibratedElectrons = cms.EDProducer(
"CalibratedElectronProducerRun2",
11 electrons = cms.InputTag(
'gedGsfElectrons'),
12 gbrForestName = cms.string(
"gedelectron_p4combination_25ns"),
16 isMC = cms.bool(
False),
19 isSynchronization = cms.bool(
False),
21 correctionFile = cms.string(files[correctionType])
25 calibratedPatElectrons = cms.EDProducer(
"CalibratedPatElectronProducerRun2",
28 electrons = cms.InputTag(
'slimmedElectrons'),
29 gbrForestName = cms.string(
"gedelectron_p4combination_25ns"),
33 isMC = cms.bool(
False),
36 isSynchronization = cms.bool(
False),
38 correctionFile = cms.string(files[correctionType])