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.CondDBSetup_cfi")
0005 
0006 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0007     process.CondDBSetup,
0008     toGet = cms.VPSet(cms.PSet(
0009         record = cms.string('PedestalsRcd'),
0010         tag = cms.string('mytest')
0011     )),
0012     connect = cms.string('frontier://FrontierDev/CMS_COND_PRESH')
0013 )
0014 
0015 process.source = cms.Source("EmptyIOVSource",
0016     lastValue = cms.uint64(10),
0017     timetype = cms.string('runnumber'),
0018     firstValue = cms.uint64(1),
0019     interval = cms.uint64(1)
0020 )
0021 
0022 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0023     toGet = cms.VPSet(cms.PSet(
0024         record = cms.string('PedestalsRcd'),
0025         data = cms.vstring('Pedestals')
0026     )),
0027     verbose = cms.untracked.bool(True)
0028 )
0029 
0030 process.p = cms.Path(process.get)
0031 
0032