Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-16 23:25:22

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.AlCa.autoCond import autoCond
0003 
0004 process = cms.Process("TEST")
0005 process.load("CondCore.CondDB.CondDB_cfi")
0006 process.CondDB.connect = cms.string("frontier://FrontierProd/CMS_CONDITIONS")
0007 process.CondDB.DBParameters.messageLevel = 0
0008 
0009 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0010     process.CondDB,
0011     globaltag = cms.string(autoCond['run2_data']),
0012     toGet = cms.VPSet(cms.PSet(
0013             connect=cms.string('frontier://FrontierPrep/CMS_CONDITIONS'),
0014             record = cms.string('anotherPedestalsRcd'),
0015             tag = cms.string('mytest'),
0016             label = cms.untracked.string('')
0017             ) )
0018 )
0019 
0020 process.source = cms.Source("EmptyIOVSource",
0021     lastValue = cms.uint64(43),
0022     timetype = cms.string('runnumber'),
0023     firstValue = cms.uint64(31),
0024     interval = cms.uint64(1)
0025 )
0026 
0027 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0028     toGet = cms.VPSet(cms.PSet(
0029         record = cms.string('anotherPedestalsRcd'),
0030         data = cms.vstring('Pedestals')
0031     ), cms.PSet(
0032         record = cms.string('ESPedestalsRcd'),
0033         data = cms.vstring('ESPedestals')
0034     )),
0035     verbose = cms.untracked.bool(True)
0036 )
0037 
0038 process.p = cms.Path(process.get)
0039 
0040 
0041