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 = 'oracle://cms_orcoff_prep/CMS_CONDITIONS'
0006 process.CondDB.DBParameters.authenticationPath = '.'
0007 process.CondDB.DBParameters.messageLevel = cms.untracked.int32(2)
0008 
0009 process.source = cms.Source("EmptyIOVSource",
0010     lastValue = cms.uint64(30),
0011     timetype = cms.string('Run'),
0012     firstValue = cms.uint64(21),
0013     interval = cms.uint64(2)
0014 )
0015 
0016 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0017     process.CondDB,
0018     timetype = cms.untracked.string('Run'),
0019     toPut = cms.VPSet(cms.PSet(
0020         record = cms.string('PedestalsRcd'),
0021         tag = cms.string('mytest')
0022     ))
0023 )
0024 
0025 process.mytest = cms.EDAnalyzer("IOVPayloadAnalyzer",
0026     record = cms.string('PedestalsRcd')
0027 )
0028 
0029 process.p = cms.Path(process.mytest)
0030