1 import FWCore.ParameterSet.Config
as cms
4 process = cms.Process(
"SiStripCommissioningOfflineDbClient")
12 process.load(
'DQM.SiStripCommissioningSources.OfflineMessageLogger_cff')
15 process.load(
'DQM.SiStripCommissioningSources.OfflineDQM_cff')
18 process.load(
"OnlineDB.SiStripConfigDb.SiStripConfigDb_cfi")
19 process.SiStripConfigDb.UsingDb =
True 20 process.SiStripConfigDb.ConfDb =
'overwritten/by@confdb' 21 process.SiStripConfigDb.Partitions.PrimaryPartition.PartitionName =
'DBPART' 22 process.SiStripConfigDb.Partitions.PrimaryPartition.RunNumber = RUNNUMBER
26 process.load(
"IORawData.SiStripInputSources.EmptySource_cff")
27 process.maxEvents.input = 2
35 process.load(
'DQM.SiStripCommissioningSources.P5Geometry_cff')
37 process.load(
'MagneticField.Engine.uniformMagneticField_cfi')
39 process.load(
'Alignment.CommonAlignmentProducer.GlobalPosition_Fake_cff')
46 process.load(
"DQM.SiStripCommissioningDbClients.OfflineDbClient_cff")
47 process.db_client.FilePath = cms.untracked.string(
'DATALOCATION')
48 process.db_client.RunNumber = cms.untracked.uint32(RUNNUMBER)
49 process.db_client.UseClientFile = cms.untracked.bool(CLIENTFLAG)
50 process.db_client.UploadHwConfig = cms.untracked.bool(DBUPDATE)
51 process.db_client.UploadAnalyses = cms.untracked.bool(ANALUPDATE)
52 process.db_client.DisableDevices = cms.untracked.bool(DISABLEDEVICES)
53 process.db_client.DisableBadStrips = cms.untracked.bool(DISABLEBADSTRIPS)
54 process.db_client.AddBadStrips = cms.untracked.bool(ADDBADSTRIPS)
55 process.db_client.SaveClientFile = cms.untracked.bool(SAVECLIENTFILE)
57 process.p = cms.Path(process.db_client)