File indexing completed on 2024-04-06 12:10:17
0001 import FWCore.ParameterSet.Config as cms
0002
0003 correctionType = "80Xapproval"
0004 files = {"Prompt2015":"EgammaAnalysis/ElectronTools/data/ScalesSmearings/74X_Prompt_2015",
0005 "76XReReco" :"EgammaAnalysis/ElectronTools/data/ScalesSmearings/76X_16DecRereco_2015_Etunc",
0006 "80Xapproval" : "EgammaAnalysis/ElectronTools/data/ScalesSmearings/80X_ichepV1_2016_ele"}
0007
0008 calibratedElectrons = cms.EDProducer("CalibratedElectronProducerRun2",
0009
0010
0011 electrons = cms.InputTag('gedGsfElectrons'),
0012 gbrForestName = cms.string("gedelectron_p4combination_25ns"),
0013
0014
0015
0016 isMC = cms.bool(False),
0017
0018
0019 isSynchronization = cms.bool(False),
0020
0021 correctionFile = cms.string(files[correctionType])
0022 )
0023
0024
0025 calibratedPatElectrons = cms.EDProducer("CalibratedPatElectronProducerRun2",
0026
0027
0028 electrons = cms.InputTag('slimmedElectrons'),
0029 gbrForestName = cms.string("gedelectron_p4combination_25ns"),
0030
0031
0032
0033 isMC = cms.bool(False),
0034
0035
0036 isSynchronization = cms.bool(False),
0037
0038 correctionFile = cms.string(files[correctionType])
0039 )
0040
0041