File indexing completed on 2024-04-06 12:08:32
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 process = cms.Process("SiStripCommissioningOfflineDbClient")
0005
0006
0007
0008
0009
0010
0011
0012 process.load('DQM.SiStripCommissioningSources.OfflineMessageLogger_cff')
0013
0014
0015 process.load('DQM.SiStripCommissioningSources.OfflineDQM_cff')
0016
0017
0018 process.load("OnlineDB.SiStripConfigDb.SiStripConfigDb_cfi")
0019 process.SiStripConfigDb.UsingDb = True
0020 process.SiStripConfigDb.ConfDb = 'overwritten/by@confdb'
0021 process.SiStripConfigDb.Partitions.PrimaryPartition.PartitionName = 'DBPART'
0022 process.SiStripConfigDb.Partitions.PrimaryPartition.RunNumber = RUNNUMBER
0023
0024
0025
0026 process.load("IORawData.SiStripInputSources.EmptySource_cff")
0027 process.maxEvents.input = 2
0028
0029
0030
0031
0032
0033
0034
0035 process.load('DQM.SiStripCommissioningSources.P5Geometry_cff')
0036
0037 process.load('MagneticField.Engine.uniformMagneticField_cfi')
0038
0039 process.load('Alignment.CommonAlignmentProducer.GlobalPosition_Fake_cff')
0040
0041
0042
0043
0044
0045
0046 process.load("DQM.SiStripCommissioningDbClients.OfflineDbClient_cff")
0047 process.db_client.FilePath = cms.untracked.string('DATALOCATION')
0048 process.db_client.RunNumber = cms.untracked.uint32(RUNNUMBER)
0049 process.db_client.UseClientFile = cms.untracked.bool(CLIENTFLAG)
0050 process.db_client.UploadHwConfig = cms.untracked.bool(DBUPDATE)
0051 process.db_client.UploadAnalyses = cms.untracked.bool(ANALUPDATE)
0052 process.db_client.DisableDevices = cms.untracked.bool(DISABLEDEVICES)
0053 process.db_client.DisableBadStrips = cms.untracked.bool(DISABLEBADSTRIPS)
0054 process.db_client.AddBadStrips = cms.untracked.bool(ADDBADSTRIPS)
0055 process.db_client.SaveClientFile = cms.untracked.bool(SAVECLIENTFILE)
0056
0057 process.p = cms.Path(process.db_client)