6 import FWCore.ParameterSet.Config
as cms
7 from CondTools.L1Trigger.L1CondEnum_cfi
import L1CondEnum
9 if len( tagBaseVec ) == 0:
10 from CondTools.L1Trigger.L1UniformTags_cfi
import initL1UniformTags
12 tagBaseVec = initL1UniformTags.tagBaseVec
14 process.load(
'CondTools.L1Trigger.L1CondDBPayloadWriter_cfi')
17 initPayloadWriter.outputDB = cms.Service(
"PoolDBOutputService",
19 connect = cms.string(outputDBConnect),
20 toPut = cms.VPSet(cms.PSet(
21 record = cms.string(
"L1TriggerKeyListRcd"),
22 tag = cms.string(
"L1TriggerKeyList_" + tagBaseVec[ L1CondEnum.L1TriggerKeyList ]))
24 initPayloadWriter.outputDB.DBParameters.authenticationPath = outputDBAuth
25 process.add_(initPayloadWriter.outputDB)