8 import FWCore.ParameterSet.Config
as cms
9 from CondTools.L1TriggerExt.L1CondEnumExt_cfi
import L1CondEnumExt
11 if len( tagBaseVec ) == 0:
12 from CondTools.L1TriggerExt.L1UniformTagsExt_cfi
import initL1UniformTagsExt
14 tagBaseVec = initL1UniformTagsExt.tagBaseVec
16 process.load(
'CondTools.L1TriggerExt.L1CondDBIOVWriterExt_cfi')
17 process.L1CondDBIOVWriterExt.tscKey = cms.string( tscKey )
18 process.L1CondDBIOVWriterExt.rsKey = cms.string( rsKey )
21 CondDB.connect = cms.string(outputDBConnect)
23 initIOVWriterExt.outputDB = cms.Service(
"PoolDBOutputService",
25 toPut = cms.VPSet(cms.PSet(
26 record = cms.string(
"L1TriggerKeyExtRcd"),
27 tag = cms.string(
"L1TriggerKeyExt_" + tagBaseVec[ L1CondEnumExt.L1TriggerKeyExt ])),
29 record = cms.string(
"L1TriggerKeyListExtRcd"),
30 tag = cms.string(
"L1TriggerKeyListExt_" + tagBaseVec[ L1CondEnumExt.L1TriggerKeyListExt ]))
32 initIOVWriterExt.outputDB.DBParameters.authenticationPath = outputDBAuth
34 from CondTools.L1TriggerExt.L1SubsystemParamsExt_cfi
import initL1SubsystemsExt
36 initIOVWriterExt.outputDB.toPut.extend(initL1SubsystemsExt.params.recordInfo)
37 process.add_(initIOVWriterExt.outputDB)