2 outputDBConnect = 'sqlite_file:l1config.db
',
7 import FWCore.ParameterSet.Config
as cms
8 from CondTools.L1TriggerExt.L1CondEnumExt_cfi
import L1CondEnumExt
10 if len( tagBaseVec ) == 0:
11 from CondTools.L1TriggerExt.L1UniformTagsExt_cfi
import initL1UniformTagsExt
13 tagBaseVec = initL1UniformTagsExt.tagBaseVec
15 process.load(
'CondTools.L1TriggerExt.L1CondDBIOVWriterExt_cfi')
16 process.L1CondDBIOVWriterExt.tscKey = cms.string( tscKey )
17 process.L1CondDBIOVWriterExt.rsKey = cms.string( rsKey )
20 CondDB.connect = cms.string(outputDBConnect)
22 initIOVWriterExt.outputDB = cms.Service(
"PoolDBOutputService",
24 toPut = cms.VPSet(cms.PSet(
25 record = cms.string(
"L1TriggerKeyExtRcd"),
26 tag = cms.string(
"L1TriggerKeyExt_" + tagBaseVec[ L1CondEnumExt.L1TriggerKeyExt ])),
28 record = cms.string(
"L1TriggerKeyListExtRcd"),
29 tag = cms.string(
"L1TriggerKeyListExt_" + tagBaseVec[ L1CondEnumExt.L1TriggerKeyListExt ]))
31 initIOVWriterExt.outputDB.DBParameters.authenticationPath = outputDBAuth
33 from CondTools.L1TriggerExt.L1SubsystemParamsExt_cfi
import initL1SubsystemsExt
35 initIOVWriterExt.outputDB.toPut.extend(initL1SubsystemsExt.params.recordInfo)
36 process.add_(initIOVWriterExt.outputDB)