26 psetForOutRec.append( cms.PSet( record = cms.string(
str( recordName )),
27 tag = cms.string(
str( options.destinationTag )),
28 timetype = cms.untracked.string(
str(tagTimeType))
32 sqliteConnect =
'sqlite:%s' %options.targetFile
33 process = cms.Process(
"PopCon")
34 process.load(
"CondCore.CondDB.CondDB_cfi")
35 process.CondDB.DBParameters.messageLevel = cms.untracked.int32( 3 )
37 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
38 DBParameters = cms.PSet( messageLevel = cms.untracked.int32( 3 ),
40 connect = cms.string( sqliteConnect ),
41 toPut = cms.VPSet( psetForOutRec )
44 process.source = cms.Source(
"EmptyIOVSource",
45 timetype = cms.string(
'runnumber'),
46 firstValue = cms.uint64(1),
47 lastValue = cms.uint64(1),
48 interval = cms.uint64(1)
def setup_popcon(recordName, tagTimeType)