Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:11

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # Configuration file for EventSetupTest_t
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TEST")
0008 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0009     loadAll = cms.bool(True),
0010     toGet = cms.VPSet(cms.PSet(
0011         record = cms.string('DTT0Rcd'),
0012         tag = cms.string('MTCC_t0')
0013     ), 
0014         cms.PSet(
0015             record = cms.string('DTTtrigRcd'),
0016             tag = cms.string('MTCC_tTrig')
0017         ), 
0018         cms.PSet(
0019             record = cms.string('DTReadOutMappingRcd'),
0020             tag = cms.string('MTCC_map')
0021         )),
0022     messagelevel = cms.untracked.uint32(2),
0023     catalog = cms.untracked.string('relationalcatalog_oracle://devdb10/CMS_COND_GENERAL'), ##devdb10/CMS_COND_GENERAL"
0024 
0025     timetype = cms.string('runnumber'),
0026     connect = cms.string('oracle://devdb10/CMS_COND_DT'), ##devdb10/CMS_COND_DT"
0027 
0028     authenticationMethod = cms.untracked.uint32(1)
0029 )
0030 
0031 process.source = cms.Source("EmptySource",
0032     maxEvents = cms.untracked.int32(5),
0033     numberEventsInRun = cms.untracked.uint32(1),
0034     firstRun = cms.untracked.uint32(1)
0035 )
0036 
0037 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0038     toGet = cms.VPSet(cms.PSet(
0039         record = cms.string('DTT0Rcd'),
0040         data = cms.vstring('DTT0')
0041     ), 
0042         cms.PSet(
0043             record = cms.string('DTTtrigRcd'),
0044             data = cms.vstring('DTTtrig')
0045         ), 
0046         cms.PSet(
0047             record = cms.string('DTReadOutMappingRcd'),
0048             data = cms.vstring('DTReadOutMapping')
0049         )),
0050     verbose = cms.untracked.bool(True)
0051 )
0052 
0053 process.printer = cms.OutputModule("AsciiOutputModule")
0054 
0055 process.p = cms.Path(process.get)
0056 process.ep = cms.EndPath(process.printer)
0057