CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/PhysicsTools/PatAlgos/python/patTestJEC_local_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from CondCore.DBCommon.CondDBCommon_cfi import *
00004 jec = cms.ESSource("PoolDBESSource",
00005       DBParameters = cms.PSet(
00006         messageLevel = cms.untracked.int32(0)
00007         ),
00008       timetype = cms.string('runnumber'),
00009       toGet = cms.VPSet(
00010       cms.PSet(
00011             record = cms.string('JetCorrectionsRecord'),
00012             tag    = cms.string('JetCorrectorParametersCollection_Jec43x_AK5PF'),
00013             label  = cms.untracked.string('AK5PF')
00014             )
00015       ),
00016       ## here you add as many jet types as you need (AK5Calo, AK5JPT, AK7PF, AK7Calo, KT4PF, KT4Calo, KT6PF, KT6Calo)
00017       connect = cms.string('sqlite_file:Jec43x.db')
00018 )
00019 
00020 es_prefer_jec = cms.ESPrefer('PoolDBESSource','jec')