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