File indexing completed on 2024-04-06 12:01:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
0004 process.load("CondCore.CondDB.CondDB_cfi")
0005 process.CondDB.connect = cms.string('sqlite_file:testExample.db')
0006
0007 process.source = cms.Source("EmptyIOVSource",
0008 lastValue = cms.uint64(140),
0009 timetype = cms.string('Run'),
0010 firstValue = cms.uint64(1),
0011 interval = cms.uint64(1)
0012 )
0013
0014 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0015 process.CondDB,
0016 timetype = cms.untracked.string('Run'),
0017 toPut = cms.VPSet(cms.PSet(
0018 record = cms.string('PedestalsRcd'),
0019 tag = cms.string('mytest_example')
0020 ))
0021 )
0022
0023 process.mytest = cms.EDAnalyzer("IOVPayloadAnalyzer",
0024 record = cms.string('PedestalsRcd')
0025 )
0026
0027 process.p = cms.Path(process.mytest)
0028
0029