6 import FWCore.ParameterSet.Config
as cms
7 from CondTools.L1TriggerExt.L1CondEnumExt_cfi
import L1CondEnumExt
9 if len( tagBaseVec ) == 0:
10 from CondTools.L1TriggerExt.L1UniformTagsExt_cfi
import initL1UniformTagsExt
12 tagBaseVec = initL1UniformTagsExt.tagBaseVec
14 process.load(
'CondTools.L1TriggerExt.L1CondDBPayloadWriterExt_cfi')
17 CondDB.connect = cms.string(outputDBConnect)
19 initPayloadWriterExt.outputDB = cms.Service(
"PoolDBOutputService",
21 toPut = cms.VPSet(cms.PSet(
22 record = cms.string(
"L1TriggerKeyListExtRcd"),
23 tag = cms.string(
"L1TriggerKeyListExt_" + tagBaseVec[ L1CondEnumExt.L1TriggerKeyListExt ]))
25 initPayloadWriterExt.outputDB.DBParameters.authenticationPath = outputDBAuth
27 process.add_(initPayloadWriterExt.outputDB)