Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-12-13 13:13:46

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:test_multiple_records.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     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0017     timetype = cms.untracked.string('Run'),
0018     toPut = cms.VPSet(cms.PSet(
0019         record = cms.string('a'),
0020         tag = cms.string('ped_tag')
0021     ), cms.PSet(
0022         record = cms.string('b'),
0023         tag = cms.string('noise_tag')
0024     ))
0025 )
0026 
0027 process.mytest = cms.EDAnalyzer("writeMultipleRecords",
0028                   PedCallerName=cms.string('a'),
0029                   StripCallerName=cms.string('b')
0030 )
0031 
0032 process.p = cms.Path(process.mytest)
0033 
0034 
0035