Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 process.CondDBCommon.connect = cms.string("sqlite_file:test.db")
0006 process.CondDBCommon.DBParameters.messageLevel = 0
0007 
0008 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0009     process.CondDBCommon,
0010     toGet = cms.VPSet(cms.PSet(
0011         record = cms.string('PedestalsRcd'),
0012         tag = cms.string('mytest')
0013     ), cms.PSet(
0014         record = cms.string('anotherPedestalsRcd'),
0015         tag = cms.string('anothermytest')
0016     ))
0017 )
0018 
0019 process.source = cms.Source("EmptyIOVSource",
0020     lastValue = cms.uint64(4),
0021     timetype = cms.string('runnumber'),
0022     firstValue = cms.uint64(1),
0023     interval = cms.uint64(1)
0024 )
0025 
0026 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0027     toGet = cms.VPSet(cms.PSet(
0028         record = cms.string('PedestalsRcd'),
0029         data = cms.vstring('Pedestals')
0030     ), cms.PSet(
0031         record = cms.string('anotherPedestalsRcd'),
0032         data = cms.vstring('Pedestals')
0033     )),
0034     verbose = cms.untracked.bool(True)
0035 )
0036 
0037 process.p = cms.Path(process.get)
0038 
0039