Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
PhysicsTools
PatAlgos
python
patTestJEC_local_cfi.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
from
CondCore.DBCommon.CondDBCommon_cfi
import
*
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_AK5PF'
),
13
label = cms.untracked.string(
'AK5PF'
)
14
)
15
),
16
## here you add as many jet types as you need (AK5Calo, AK5JPT, AK7PF, AK7Calo, KT4PF, KT4Calo, KT6PF, KT6Calo)
17
connect = cms.string(
'sqlite_file:Jec43x.db'
)
18
)
19
20
es_prefer_jec = cms.ESPrefer(
'PoolDBESSource'
,
'jec'
)
Config
CondDBCommon_cfi
Generated for CMSSW Reference Manual by
1.8.5