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