Back to home page

Project CMSSW displayed by LXR

 
 

    


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 = 'sqlite_file:keys.db'
0006 # process.CondDB.DBParameters.messageLevel = cms.untracked.int32(3)
0007 
0008 process.source = cms.Source("EmptyIOVSource",
0009                             lastValue = cms.uint64(1),
0010                             timetype = cms.string('Run'),
0011                             firstValue = cms.uint64(1),
0012                             interval = cms.uint64(1)
0013                             )
0014 
0015 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0016                                           process.CondDB,
0017                                           timetype = cms.untracked.string('Run'),
0018                                           outOfOrder = cms.untracked.bool(True),
0019                                           toPut = cms.VPSet( cms.PSet( record = cms.string('confcont'),
0020                                                                        tag = cms.string('KeyTest'),
0021                                                                        timetype = cms.untracked.string('Hash'),
0022                                                                        outOfOrder = cms.untracked.bool(True)
0023                                                                        ),
0024                                                              cms.PSet( record = cms.string('confiov'),
0025                                                                        tag = cms.string('ConfTest'),
0026                                                                        timetype = cms.untracked.string('Run'),
0027                                                                        outOfOrder = cms.untracked.bool(False)
0028                                                                        )
0029                                                              )
0030                                           )
0031 
0032 process.mytest = cms.EDAnalyzer("writeKeyed")
0033 
0034 process.p = cms.Path(process.mytest)
0035