1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"SiStripCommissioningOfflineDbClient")
5 process.load(
"DQM.SiStripCommon.MessageLogger_cfi")
7 process.load(
"DQM.SiStripCommon.DaqMonitorROOTBackEnd_cfi")
9 process.load(
"OnlineDB.SiStripConfigDb.SiStripConfigDb_cfi")
10 process.SiStripConfigDb.UsingDb =
True 11 process.SiStripConfigDb.ConfDb =
'overwritten/by@confdb' 12 process.SiStripConfigDb.Partitions.PrimaryPartition.PartitionName =
'DBPART' 13 process.SiStripConfigDb.Partitions.PrimaryPartition.RunNumber = RUNNUMBER
14 process.SiStripConfigDb.TNS_ADMIN =
'/etc' 16 process.load(
"IORawData.SiStripInputSources.EmptySource_cff")
17 process.maxEvents.input = 2
19 process.load(
"DQM.SiStripCommissioningDbClients.OfflineDbClient_cff")
20 process.db_client.FilePath = cms.untracked.string(
'DATALOCATION')
21 process.db_client.RunNumber = cms.untracked.uint32(RUNNUMBER)
22 process.db_client.UseClientFile = cms.untracked.bool(CLIENTFLAG)
23 process.db_client.UploadHwConfig = cms.untracked.bool(DBUPDATE)
24 process.db_client.UploadAnalyses = cms.untracked.bool(ANALUPDATE)
25 process.db_client.DisableDevices = cms.untracked.bool(DISABLEDEVICES)
26 process.db_client.SaveClientFile = cms.untracked.bool(SAVECLIENTFILE)
28 process.db_client.ApvTimingParameters.SkipFecUpdate = cms.bool(
False)
29 process.db_client.ApvTimingParameters.SkipFedUpdate = cms.bool(
False)
30 process.db_client.ApvTimingParameters.TargetDelay = cms.int32(725)
31 process.db_client.OptoScanParameters.SkipGainUpdate = cms.bool(
False)
32 process.db_client.OptoScanParameters.TargetGain = cms.double(0.8)
33 process.db_client.PedestalsParameters.DisableBadStrips = cms.bool(
False)
34 process.db_client.PedestalsParameters.KeepStripsDisabled = cms.bool(
False)
35 process.db_client.PedsFullNoiseParameters.DisableBadStrips = cms.bool(
False)
36 process.db_client.PedsFullNoiseParameters.KeepStripsDisabled = cms.bool(
False)
38 process.p = cms.Path(process.db_client)