File indexing completed on 2024-04-06 12:03:25
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("Test")
0004
0005 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0006 process.load("FWCore.MessageService.MessageLogger_cfi")
0007
0008 process.source = cms.Source("EmptySource")
0009
0010 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0011
0012 process.TFileService = cms.Service("TFileService",
0013
0014 fileName = cms.string("dcs.root")
0015 )
0016
0017 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
0018
0019 process.CondDBSetup,
0020
0021 connect = cms.string('sqlite_file:pixelPVSSCond.db'),
0022 timetype = cms.untracked.string('runnumber'),
0023 logconnect = cms.untracked.string('sqlite_file:log.db'),
0024
0025 toGet = cms.VPSet
0026 (
0027 cms.PSet( record = cms.string('PixelCaenChannelRcd'), tag = cms.string('All') )
0028 )
0029 )
0030
0031 process.CaenChannel = cms.EDAnalyzer("PixelDCSObjectReader<PixelCaenChannelRcd>")
0032
0033 process.p = cms.Path(process.CaenChannel)