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("DTCCablingMapPayloadRetrieveTest")
0004 
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 
0007 process.load("CondCore.CondDB.CondDB_cfi")
0008 # input database (in this case the local sqlite file)
0009 process.CondDB.connect = 'sqlite_file:OuterTrackerDTCCablingMap_dummytest.db'
0010 
0011 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0012     process.CondDB,
0013     DumpStat=cms.untracked.bool(True),
0014     toGet = cms.VPSet(cms.PSet(
0015         record = cms.string('TrackerDetToDTCELinkCablingMapRcd'),
0016         tag = cms.string("DTCCablingMapProducerUserRun")
0017     )),
0018 )
0019 
0020 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0021     toGet = cms.VPSet(cms.PSet(
0022         record = cms.string('TrackerDetToDTCELinkCablingMapRcd'),
0023         data = cms.vstring('TrackerDetToDTCELinkCablingMap')
0024     )),
0025     verbose = cms.untracked.bool(True)
0026 )
0027 
0028 # A data source must always be defined. We don't need it, so here's a dummy one.
0029 process.source = cms.Source("EmptyIOVSource",
0030     timetype = cms.string('runnumber'),
0031     firstValue = cms.uint64(1),
0032     lastValue = cms.uint64(1),
0033     interval = cms.uint64(1)
0034 )
0035 
0036 process.path = cms.Path(process.get)