/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
EgammaAnalysis/ElectronTools/python/electronRegressionEnergyProducer_cfi.py
27 строк
2 KB
Volker Adler
Update partially for 70X.
03 дек 2013, 14:44
03 дек 2013, 14:44
7c013ab
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms eleRegressionEnergy = cms.EDProducer("RegressionEnergyPatElectronProducer", debug = cms.untracked.bool(False), inputElectronsTag = cms.InputTag('selectedPatElectrons'), #inputElectronsTag = cms.InputTag('gsfElectrons'), # inputCollectionType (0: GsfElectron, 1 :PATElectron) inputCollectionType = cms.uint32(1), # useRecHitCollections ( should be set to true if GsfElectrons or if the RecHits have not been embedded into the PATElectron useRecHitCollections = cms.bool(False), # produce ValueMaps. Should be true for GsfElectrons otherwise this producer doest nothing. Keep it to false for PAT produceValueMaps = cms.bool(False), #regressionInputFile = cms.string("EgammaAnalysis/ElectronTools/data/eleEnergyRegWeights_V1.root"), regressionInputFile = cms.string("EgammaAnalysis/ElectronTools/data/eleEnergyRegWeights_WithSubClusters_VApr15.root"), ## Regression type (1: ECAL regression w/o subclusters 2: ECAL regression w/ subclusters) #energyRegressionType = cms.uint32(1), energyRegressionType = cms.uint32(2), rhoCollection = cms.InputTag('kt6PFJets:rho:RECO'), vertexCollection = cms.InputTag('offlinePrimaryVertices'), # Not used if inputCollectionType is set to 1 nameEnergyReg = cms.string("eneRegForGsfEle"), nameEnergyErrorReg = cms.string("eneErrorRegForGsfEle"), # Used only if useRecHitCollections is set to true recHitCollectionEB = cms.InputTag('reducedEcalRecHitsEB'), recHitCollectionEE = cms.InputTag('reducedEcalRecHitsEE') )