Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Test")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 
0006 process.CondDBCommon.connect = 'oracle://cms_orcoff_prod/CMS_COND_21X_RUN_INFO'
0007 process.CondDBCommon.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb/'
0008 
0009 process.maxEvents = cms.untracked.PSet(
0010   input = cms.untracked.int32(-1)
0011 )
0012 
0013 process.source = cms.Source("EmptyIOVSource",
0014     timetype = cms.string('runnumber'),
0015     firstValue = cms.uint64(66394),
0016     lastValue = cms.uint64(66400),
0017     interval = cms.uint64(1)
0018 )
0019 
0020 
0021 
0022 process.rn = cms.ESSource("PoolDBESSource",
0023     process.CondDBCommon,
0024     timetype = cms.string('runnumber'),
0025     toGet = cms.VPSet(cms.PSet(
0026         record = cms.string('RunInfoRcd'),
0027         tag = cms.string('runinfo_test')
0028     ))
0029 )
0030 
0031 
0032 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0033     toGet = cms.VPSet(cms.PSet(
0034         record = cms.string('RunInfoRcd'),
0035         data = cms.vstring('runinfo_test')
0036     )),
0037     verbose = cms.untracked.bool(True)
0038 )
0039 
0040 process.prod = cms.EDAnalyzer("RunInfoESAnalyzer")
0041 
0042 process.asciiprint = cms.OutputModule("AsciiOutputModule")
0043 
0044 process.p = cms.Path(process.prod)
0045 process.ep = cms.EndPath(process.asciiprint)