Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:58

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 correctionType = "80Xapproval"
0005 files = {"Prompt2015":"EgammaAnalysis/ElectronTools/data/ScalesSmearings/74X_Prompt_2015",
0006          "76XReReco" :"EgammaAnalysis/ElectronTools/data/ScalesSmearings/76X_16DecRereco_2015_Etunc",
0007          "80Xapproval" : "EgammaAnalysis/ElectronTools/data/ScalesSmearings/80X_ichepV2_2016_pho"}
0008 
0009 calibratedPatPhotons = cms.EDProducer("CalibratedPatPhotonProducerRun2",
0010 
0011                                       # input collections
0012                                       photons = cms.InputTag('slimmedPhotons'),
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 calibratedPhotons = cms.EDProducer("CalibratedPhotonProducerRun2",
0025 
0026                                    # input collections
0027                                    photons = cms.InputTag('photons'),
0028                                    
0029                                    # data or MC corrections
0030                                    # if isMC is false, data corrections are applied
0031                                    isMC = cms.bool(False),
0032                                    
0033                                    # set to True to get special "fake" smearing for synchronization. Use JUST in case of synchronization
0034                                    isSynchronization = cms.bool(False),
0035 
0036                                    correctionFile = cms.string(files[correctionType])
0037                                    )
0038 
0039