File indexing completed on 2024-04-06 12:08:34
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("SiStripCommissioningOfflineDbClient")
0004
0005 process.load("DQM.SiStripCommon.MessageLogger_cfi")
0006
0007 process.load("DQM.SiStripCommon.DaqMonitorROOTBackEnd_cfi")
0008
0009 process.load("OnlineDB.SiStripConfigDb.SiStripConfigDb_cfi")
0010 process.SiStripConfigDb.UsingDb = True
0011 process.SiStripConfigDb.ConfDb = 'overwritten/by@confdb'
0012 process.SiStripConfigDb.Partitions.PrimaryPartition.PartitionName = 'DBPART'
0013 process.SiStripConfigDb.Partitions.PrimaryPartition.RunNumber = RUNNUMBER
0014 process.SiStripConfigDb.TNS_ADMIN = '/etc'
0015
0016 process.load("IORawData.SiStripInputSources.EmptySource_cff")
0017 process.maxEvents.input = 2
0018
0019 process.load("DQM.SiStripCommissioningDbClients.OfflineDbClient_cff")
0020 process.db_client.FilePath = cms.untracked.string('DATALOCATION')
0021 process.db_client.RunNumber = cms.untracked.uint32(RUNNUMBER)
0022 process.db_client.UseClientFile = cms.untracked.bool(CLIENTFLAG)
0023 process.db_client.UploadHwConfig = cms.untracked.bool(DBUPDATE)
0024 process.db_client.UploadAnalyses = cms.untracked.bool(ANALUPDATE)
0025 process.db_client.DisableDevices = cms.untracked.bool(DISABLEDEVICES)
0026 process.db_client.SaveClientFile = cms.untracked.bool(SAVECLIENTFILE)
0027
0028 process.db_client.ApvTimingParameters.SkipFecUpdate = cms.bool(False)
0029 process.db_client.ApvTimingParameters.SkipFedUpdate = cms.bool(False)
0030 process.db_client.ApvTimingParameters.TargetDelay = cms.int32(725)
0031 process.db_client.OptoScanParameters.SkipGainUpdate = cms.bool(False)
0032 process.db_client.OptoScanParameters.TargetGain = cms.double(0.8)
0033 process.db_client.PedestalsParameters.DisableBadStrips = cms.bool(False)
0034 process.db_client.PedestalsParameters.KeepStripsDisabled = cms.bool(False)
0035 process.db_client.PedsFullNoiseParameters.DisableBadStrips = cms.bool(False)
0036 process.db_client.PedsFullNoiseParameters.KeepStripsDisabled = cms.bool(False)
0037
0038 process.p = cms.Path(process.db_client)