Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-16 23:25:22

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.a = cms.ESSource("PoolDBESSource",
0006     DBParameters = cms.PSet(
0007         messageLevel = cms.untracked.int32(0),
0008         authenticationPath = cms.untracked.string('.')
0009     ),
0010     toGet = cms.VPSet(cms.PSet(
0011         record = cms.string('PedestalsRcd'),
0012         tag = cms.string('ped_tag')
0013     )),
0014     connect = cms.string('frontier://FrontierPrep/CMS_CONDITIONS')
0015 )
0016 
0017 process.b = cms.ESSource("PoolDBESSource",
0018     DBParameters = cms.PSet(
0019         messageLevel = cms.untracked.int32(0),
0020         authenticationPath = cms.untracked.string('.')
0021     ),
0022     toGet = cms.VPSet(cms.PSet(
0023         record = cms.string('anotherPedestalsRcd'),
0024         tag = cms.string('mytest')
0025     )),
0026                          connect = cms.string('frontier://FrontierPrep/CMS_CONDITIONS')
0027 )
0028 
0029 process.source = cms.Source("EmptyIOVSource",
0030     lastValue = cms.uint64(43),
0031     timetype = cms.string('runnumber'),
0032     firstValue = cms.uint64(31),
0033     interval = cms.uint64(1)
0034 )
0035 
0036 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0037     toGet = cms.VPSet(cms.PSet(
0038         record = cms.string('PedestalsRcd'),
0039         data = cms.vstring('Pedestals')
0040     ), cms.PSet(
0041         record = cms.string('anotherPedestalsRcd'),
0042         data = cms.vstring('Pedestals')
0043     )),
0044     verbose = cms.untracked.bool(True)
0045 )
0046 
0047 process.p = cms.Path(process.get)
0048 
0049