Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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('CSCPedestalsRcd'),
0012         tag = cms.string('CSCPedestals_from_online')
0013     ), 
0014         cms.PSet(
0015             record = cms.string('CSCGainsRcd'),
0016             tag = cms.string('CSCGains_from_online')
0017         ), 
0018         cms.PSet(
0019             record = cms.string('CSCNoiseMatrixRcd'),
0020             tag = cms.string('CSCNoiseMatrix_from_online')
0021         ), 
0022         cms.PSet(
0023             record = cms.string('CSCcrosstalkRcd'),
0024             tag = cms.string('CSCcrosstalk_from_online')
0025         )),
0026     messagelevel = cms.untracked.uint32(2),
0027     catalog = cms.untracked.string('relationalcatalog_oracle://cms_orcoff_int2r/CMS_COND_GENERAL'), ##cms_orcoff_int2r/CMS_COND_GENERAL"
0028 
0029     timetype = cms.string('runnumber'),
0030     connect = cms.string('oracle://cms_orcoff_int2r/CMS_COND_CSC'), ##cms_orcoff_int2r/CMS_COND_CSC"
0031 
0032     authenticationMethod = cms.untracked.uint32(1)
0033 )
0034 
0035 process.source = cms.Source("EmptySource",
0036     maxEvents = cms.untracked.int32(5),
0037     numberEventsInRun = cms.untracked.uint32(1),
0038     firstRun = cms.untracked.uint32(1)
0039 )
0040 
0041 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0042     toGet = cms.VPSet(cms.PSet(
0043         record = cms.string('CSCPedestalsRcd'),
0044         data = cms.vstring('CSCPedestals')
0045     ), 
0046         cms.PSet(
0047             record = cms.string('CSCGainsRcd'),
0048             data = cms.vstring('CSCGains')
0049         ), 
0050         cms.PSet(
0051             record = cms.string('CSCNoiseMatrixRcd'),
0052             data = cms.vstring('CSCNoiseMatrix')
0053         ), 
0054         cms.PSet(
0055             record = cms.string('CSCcrosstalkRcd'),
0056             data = cms.vstring('CSCcrosstalk')
0057         )),
0058     verbose = cms.untracked.bool(True)
0059 )
0060 
0061 process.printer = cms.OutputModule("AsciiOutputModule")
0062 
0063 process.p = cms.Path(process.get)
0064 process.ep = cms.EndPath(process.printer)
0065