CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/DQM/SiStripCommissioningDbClients/python/OfflineDbClientMP_cfg.py

Go to the documentation of this file.
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(
00028     "SiStripCommissioningOfflineDbClient",
00029     FilePath         = cms.untracked.string('/tmp'),
00030     RunNumber        = cms.untracked.uint32(0),
00031     UseClientFile    = cms.untracked.bool(False),
00032     SummaryXmlFile   = cms.untracked.FileInPath('DQM/SiStripCommissioningClients/data/summary.xml'),
00033     UploadHwConfig   = cms.untracked.bool(False),
00034     UploadAnalyses   = cms.untracked.bool(False),
00035     DisableDevices   = cms.untracked.bool(False),
00036     DisableBadStrips = cms.untracked.bool(False),
00037     AddBadStrips                = cms.untracked.bool(False),
00038     SaveClientFile = cms.untracked.bool(True)
00039     )
00040 
00041 process.p = cms.Path(process.db_client)
00042