00001 import FWCore.ParameterSet.Config as cms 00002 00003 process = cms.Process("SiStripCommissioningOfflineDbClient") 00004 00005 process.load("DQM.SiStripCommon.MessageLogger_cfi") 00006 00007 process.load("DQM.SiStripCommon.DaqMonitorROOTBackEnd_cfi") 00008 00009 process.load("OnlineDB.siStripConfigDb.SiStripConfigDb_cfi") 00010 process.siStripConfigDb.UsingDb = True 00011 process.siStripConfigDb.ConfDb = '' 00012 process.siStripConfigDb.Partitions.PrimaryPartition.PartitionName = '' 00013 process.siStripConfigDb.Partitions.PrimaryPartition.RunNumber = 0 00014 00015 process.load("IORawData.SiStripInputSources.EmptySource_cff") 00016 process.maxEvents.input = 2 00017 00018 process.db_client = cms.EDAnalyzer("SiStripCommissioningOfflineDbClient", 00019 FilePath = cms.untracked.string('/tmp'), 00020 RunNumber = cms.untracked.uint32(0), 00021 UseClientFile = cms.untracked.bool(False), 00022 SummaryXmlFile = cms.untracked.FileInPath('DQM/SiStripCommissioningClients/data/summary.xml'), 00023 UploadHwConfig = cms.untracked.bool(False), 00024 UploadAnalyses = cms.untracked.bool(False), 00025 DisableDevices = cms.untracked.bool(False), 00026 SaveClientFile = cms.untracked.bool(True) 00027 ) 00028 00029 process.p = cms.Path(process.db_client) 00030