File indexing completed on 2024-04-06 12:01:39
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 process.CondDBCommon.connect = cms.string('oracle://cms_orcoff_int2r/CMS_COND_PRESH')
0006 process.CondDBCommon.DBParameters.authenticationPath=cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0007 process.CondDBCommon.DBParameters.messageLevel = 1
0008 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0009 process.CondDBCommon,
0010 toGet = cms.VPSet(cms.PSet(
0011 record = cms.string('PedestalsRcd'),
0012 tag = cms.string('mytest')
0013 ))
0014 )
0015
0016 process.source = cms.Source("EmptyIOVSource",
0017 lastValue = cms.uint64(10),
0018 timetype = cms.string('runnumber'),
0019 firstValue = cms.uint64(1),
0020 interval = cms.uint64(1)
0021 )
0022
0023 process.prod = cms.EDAnalyzer("PedestalsAnalyzer")
0024
0025 process.p = cms.Path(process.prod)
0026
0027
0028