1 import FWCore.ParameterSet.Config
as cms
3 correctionType =
"76XReReco"
4 files = {
"Prompt2015":
"EgammaAnalysis/ElectronTools/data/74X_Prompt_2015",
5 "76XReReco" :
"EgammaAnalysis/ElectronTools/data/76X_16DecRereco_2015"}
7 calibratedElectrons = cms.EDProducer(
"CalibratedElectronProducerRun2",
10 electrons = cms.InputTag(
'gedGsfElectrons'),
11 gbrForestName = cms.string(
"gedelectron_p4combination_25ns"),
15 isMC = cms.bool(
False),
18 isSynchronization = cms.bool(
False),
20 correctionFile = cms.string(files[correctionType])
24 calibratedPatElectrons = cms.EDProducer(
"CalibratedPatElectronProducerRun2",
27 electrons = cms.InputTag(
'slimmedElectrons'),
28 gbrForestName = cms.string(
"gedelectron_p4combination_25ns"),
32 isMC = cms.bool(
False),
35 isSynchronization = cms.bool(
False),
37 correctionFile = cms.string(files[correctionType])