Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:27

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:ints.db'
0006 
0007 process.source = cms.Source("EmptyIOVSource",
0008                             lastValue = cms.uint64(1),
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                                           outOfOrder = cms.untracked.bool(True),
0018                                           toPut = cms.VPSet( cms.PSet(record = cms.string('oneInt'),
0019                                                                       tag = cms.string('OneInt'),
0020                                                                       timetype = cms.untracked.string('Run'),
0021                                                                       outOfOrder = cms.untracked.bool(False)
0022                                                                       )
0023                                                              )
0024                                           )
0025 
0026 process.mytest = cms.EDAnalyzer("writeInt",
0027                                 Number=cms.int32(100000)
0028                                 )
0029 
0030 process.p = cms.Path(process.mytest)
0031