Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("SiStripCommissioningOfflineDbClient")
00004
00005 process.load("DQM.SiStripCommon.MessageLogger_cfi")
00006
00007 process.load("DQM.SiStripCommon.DaqMonitorROOTBackEnd_cfi")
00008
00009 process.load("OnlineDB.SiStripConfigDb.SiStripConfigDb_cfi")
00010 process.SiStripConfigDb.UsingDb = True
00011 process.SiStripConfigDb.ConfDb = 'overwritten/by@confdb'
00012 process.SiStripConfigDb.Partitions.PrimaryPartition.PartitionName = 'DBPART'
00013 process.SiStripConfigDb.Partitions.PrimaryPartition.RunNumber = RUNNUMBER
00014 process.SiStripConfigDb.TNS_ADMIN = '/etc'
00015
00016 process.load("IORawData.SiStripInputSources.EmptySource_cff")
00017 process.maxEvents.input = 2
00018
00019 process.load("DQM.SiStripCommissioningDbClients.OfflineDbClient_cff")
00020 process.db_client.FilePath = cms.untracked.string('DATALOCATION')
00021 process.db_client.RunNumber = cms.untracked.uint32(RUNNUMBER)
00022 process.db_client.UseClientFile = cms.untracked.bool(CLIENTFLAG)
00023 process.db_client.UploadHwConfig = cms.untracked.bool(DBUPDATE)
00024 process.db_client.UploadAnalyses = cms.untracked.bool(ANALUPDATE)
00025 process.db_client.DisableDevices = cms.untracked.bool(DISABLEDEVICES)
00026 process.db_client.SaveClientFile = cms.untracked.bool(SAVECLIENTFILE)
00027
00028 process.db_client.ApvTimingParameters.SkipFecUpdate = cms.bool(False)
00029 process.db_client.ApvTimingParameters.SkipFedUpdate = cms.bool(False)
00030 process.db_client.ApvTimingParameters.TargetDelay = cms.int32(725)
00031 process.db_client.OptoScanParameters.SkipGainUpdate = cms.bool(False)
00032 process.db_client.OptoScanParameters.TargetGain = cms.double(0.8)
00033 process.db_client.PedestalsParameters.DisableBadStrips = cms.bool(False)
00034 process.db_client.PedestalsParameters.KeepStripsDisabled = cms.bool(False)
00035 process.db_client.PedsFullNoiseParameters.DisableBadStrips = cms.bool(False)
00036 process.db_client.PedsFullNoiseParameters.KeepStripsDisabled = cms.bool(False)
00037
00038 process.p = cms.Path(process.db_client)