Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:45

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 = 'sqlite_file:DQMSummaryTest.db'
0007 #process.CondDBCommon.connect = 'oracle://cms_orcoff_prep/CMS_COND_30X_DQM_SUMMARY'
0008 #process.CondDBCommon.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb/'
0009 
0010 process.maxEvents = cms.untracked.PSet(
0011   input = cms.untracked.int32(-1)
0012 )
0013 
0014 process.source = cms.Source("EmptyIOVSource",
0015     timetype = cms.string('runnumber'),
0016     firstValue = cms.uint64(43434),
0017     lastValue = cms.uint64(43434),
0018     interval = cms.uint64(1)
0019 )
0020 
0021 process.rn = cms.ESSource("PoolDBESSource",
0022     process.CondDBCommon,
0023     timetype = cms.string('runnumber'),
0024     toGet = cms.VPSet(cms.PSet(
0025         record = cms.string('DQMSummaryRcd'),
0026         tag = cms.string('DQMSummaryTest')
0027     ))
0028 )
0029 
0030 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0031     toGet = cms.VPSet(cms.PSet(
0032         record = cms.string('DQMSummaryRcd'),
0033         data = cms.vstring('DQMSummaryTest')
0034     )),
0035     verbose = cms.untracked.bool(False)
0036 )
0037 
0038 process.prod = cms.EDAnalyzer("DQMSummaryEventSetupAnalyzer")
0039 
0040 process.asciiprint = cms.OutputModule("AsciiOutputModule")
0041 
0042 process.p = cms.Path(process.prod)
0043 process.ep = cms.EndPath(process.asciiprint)