2 outputDBConnect =
'sqlite_file:l1config.db',
6 from CondTools.L1Trigger.L1CondEnum_cfi
import L1CondEnum
8 if len( tagBaseVec ) == 0:
9 from CondTools.L1Trigger.L1UniformTags_cfi
import initL1UniformTags
11 tagBaseVec = initL1UniformTags.tagBaseVec
13 process.load(
'CondTools.L1Trigger.L1CondDBPayloadWriter_cfi')
16 initPayloadWriter.outputDB = cms.Service(
"PoolDBOutputService",
18 connect = cms.string(outputDBConnect),
19 toPut = cms.VPSet(cms.PSet(
20 record = cms.string(
"L1TriggerKeyListRcd"),
21 tag = cms.string(
"L1TriggerKeyList_" + tagBaseVec[ L1CondEnum.L1TriggerKeyList ]))
23 initPayloadWriter.outputDB.DBParameters.authenticationPath = outputDBAuth
24 process.add_(initPayloadWriter.outputDB)