Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:39

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 process.CondDBCommon.connect = 'sqlite_file:blob.db'
0006     #'oracle://devdb10/cms_xiezhen_dev'
0007 
0008 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0009     process.CondDBCommon,
0010     DumpStat=cms.untracked.bool(True),
0011     toGet = cms.VPSet(cms.PSet(
0012         record = cms.string('mySiStripNoisesRcd'),
0013         tag = cms.string('noise_tag')
0014     )),
0015 )
0016 
0017 process.source = cms.Source("EmptyIOVSource",
0018     lastValue = cms.uint64(10),
0019     timetype = cms.string('runnumber'),
0020     firstValue = cms.uint64(1),
0021     interval = cms.uint64(1)
0022 )
0023 
0024 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0025     toGet = cms.VPSet(cms.PSet(
0026         record = cms.string('mySiStripNoisesRcd'),
0027         data = cms.vstring('mySiStripNoises')
0028     )),
0029     verbose = cms.untracked.bool(True)
0030 )
0031 
0032 process.p = cms.Path(process.get)
0033 
0034