CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
patTestJEC_local_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 jec = cms.ESSource("PoolDBESSource",
5  DBParameters = cms.PSet(
6  messageLevel = cms.untracked.int32(0)
7  ),
8  timetype = cms.string('runnumber'),
9  toGet = cms.VPSet(
10  cms.PSet(
11  record = cms.string('JetCorrectionsRecord'),
12  tag = cms.string('JetCorrectorParametersCollection_Jec43x_AK4PF'),
13  label = cms.untracked.string('AK4PF')
14  )
15  ),
16  ## here you add as many jet types as you need (AK4Calo, AK4JPT, AK7PF, AK7Calo, KT4PF, KT4Calo, KT6PF, KT6Calo)
17  connect = cms.string('sqlite_file:Jec43x.db')
18 )
19 
20 es_prefer_jec = cms.ESPrefer('PoolDBESSource','jec')