Back to home page

Project CMSSW displayed by LXR

 
 

    


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                                      # input collections
0011                                      electrons = cms.InputTag('gedGsfElectrons'),
0012                                      gbrForestName = cms.string("gedelectron_p4combination_25ns"),
0013 
0014                                      # data or MC corrections
0015                                      # if isMC is false, data corrections are applied
0016                                      isMC = cms.bool(False),
0017     
0018                                      # set to True to get special "fake" smearing for synchronization. Use JUST in case of synchronization
0019                                      isSynchronization = cms.bool(False),
0020                                      
0021                                      correctionFile = cms.string(files[correctionType])
0022                                      )
0023 
0024 
0025 calibratedPatElectrons = cms.EDProducer("CalibratedPatElectronProducerRun2",
0026                                         
0027                                         # input collections
0028                                         electrons = cms.InputTag('slimmedElectrons'),
0029                                         gbrForestName = cms.string("gedelectron_p4combination_25ns"),
0030                                         
0031                                         # data or MC corrections
0032                                         # if isMC is false, data corrections are applied
0033                                         isMC = cms.bool(False),
0034                                         
0035                                         # set to True to get special "fake" smearing for synchronization. Use JUST in case of synchronization
0036                                         isSynchronization = cms.bool(False),
0037 
0038                                         correctionFile = cms.string(files[correctionType])
0039                                        )
0040 
0041