CMS 3D CMS Logo

OfflineDbClientMP_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("SiStripCommissioningOfflineDbClientMP")
4 
5 process.load("DQM.SiStripCommon.MessageLogger_cfi")
6 
7 process.load("DQM.SiStripCommon.DaqMonitorROOTBackEnd_cfi")
8 
9 process.SiStripConfigDb = cms.Service("SiStripConfigDb",
10  ConfDb = cms.untracked.string(''),
11  UsingDb = cms.untracked.bool(True),
12  Partitions = cms.untracked.PSet(
13  SecondaryPartition = cms.untracked.PSet(
14  RunNumber = cms.untracked.uint32(0),
15  PartitionName = cms.untracked.string('')
16  ),
17  PrimaryPartition = cms.untracked.PSet(
18  RunNumber = cms.untracked.uint32(0),
19  PartitionName = cms.untracked.string('')
20  )
21  )
22 )
23 
24 process.load("IORawData.SiStripInputSources.EmptySource_cff")
25 process.maxEvents.input = 2
26 
27 process.db_client = cms.EDAnalyzer(
28  "SiStripCommissioningOfflineDbClient",
29  FilePath = cms.untracked.string('/tmp'),
30  RunNumber = cms.untracked.uint32(0),
31  UseClientFile = cms.untracked.bool(False),
32  SummaryXmlFile = cms.untracked.FileInPath('DQM/SiStripCommissioningClients/data/summary.xml'),
33  UploadHwConfig = cms.untracked.bool(False),
34  UploadAnalyses = cms.untracked.bool(False),
35  DisableDevices = cms.untracked.bool(False),
36  DisableBadStrips = cms.untracked.bool(False),
37  AddBadStrips = cms.untracked.bool(False),
38  SaveClientFile = cms.untracked.bool(True)
39  )
40 
41 process.p = cms.Path(process.db_client)
42