File indexing completed on 2024-04-06 12:08:32
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("SiStripCommissioningOfflineDbClientMP")
0004
0005 process.load("DQM.SiStripCommon.MessageLogger_cfi")
0006
0007 process.load("DQM.SiStripCommon.DaqMonitorROOTBackEnd_cfi")
0008
0009 process.SiStripConfigDb = cms.Service("SiStripConfigDb",
0010 ConfDb = cms.untracked.string(''),
0011 UsingDb = cms.untracked.bool(True),
0012 Partitions = cms.untracked.PSet(
0013 SecondaryPartition = cms.untracked.PSet(
0014 RunNumber = cms.untracked.uint32(0),
0015 PartitionName = cms.untracked.string('')
0016 ),
0017 PrimaryPartition = cms.untracked.PSet(
0018 RunNumber = cms.untracked.uint32(0),
0019 PartitionName = cms.untracked.string('')
0020 )
0021 )
0022 )
0023
0024 process.load("IORawData.SiStripInputSources.EmptySource_cff")
0025 process.maxEvents.input = 2
0026
0027 process.db_client = cms.EDAnalyzer(
0028 "SiStripCommissioningOfflineDbClient",
0029 FilePath = cms.untracked.string('/tmp'),
0030 RunNumber = cms.untracked.uint32(0),
0031 UseClientFile = cms.untracked.bool(False),
0032 SummaryXmlFile = cms.untracked.FileInPath('DQM/SiStripCommissioningClients/data/summary.xml'),
0033 UploadHwConfig = cms.untracked.bool(False),
0034 UploadAnalyses = cms.untracked.bool(False),
0035 DisableDevices = cms.untracked.bool(False),
0036 DisableBadStrips = cms.untracked.bool(False),
0037 AddBadStrips = cms.untracked.bool(False),
0038 SaveClientFile = cms.untracked.bool(True)
0039 )
0040
0041 process.p = cms.Path(process.db_client)
0042