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